Example: Configuring intersecting rings

Network configuration

As shown in Figure 21:

Figure 21: Network diagram

Procedure


[IMPORTANT: ]

IMPORTANT:

By default, interfaces on the device are disabled (in ADM or Administratively Down state). To have an interface operate, you must use the undo shutdown command to enable that interface.


  1. Configure Device A:

    # Create VLANs 1 through 30.

    <DeviceA> system-view
    [DeviceA] vlan 1 to 30
    

    # Map these VLANs to MSTI 1.

    [DeviceA] stp region-configuration
    [DeviceA-mst-region] instance 1 vlan 1 to 30
    

    # Activate the MST region configuration.

    [DeviceA-mst-region] active region-configuration
    [DeviceA-mst-region] quit
    

    # Set the physical state change suppression interval to 0 seconds on FortyGigE 1/0/1.

    [DeviceA] interface fortygige 1/0/1
    [DeviceA-] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceA-FortyGigE1/0/1] undo stp enable
    

    # Configure the port as a trunk port.

    [DeviceA-FortyGigE1/0/1] port link-type trunk
    

    # Assign the port to VLANs 1 through 30.

    [DeviceA-FortyGigE1/0/1] port trunk permit vlan 1 to 30
    [DeviceA-] quit
    

    # Configure FortyGigE 1/0/2 in the same way FortyGigE 1/0/1 is configured.

    [DeviceA] interface 
    [DeviceA-FortyGigE1/0/2] link-delay 0
    [DeviceA-FortyGigE1/0/2] undo stp enable
    [DeviceA-] port link-type trunk
    [DeviceA-FortyGigE1/0/2] port trunk permit vlan 1 to 30
    [DeviceA-FortyGigE1/0/2] quit
    

    # Create RRPP domain 1.

    [DeviceA] rrpp domain 1 
    

    # Configure VLAN 4092 as the primary control VLAN of RRPP domain 1.

    [DeviceA-rrpp-domain1] control-vlan 4092
    

    # Configure the VLANs mapped to MSTI 1 as the protected VLANs of RRPP domain 1.

    [DeviceA-rrpp-domain1] protected-vlan reference-instance 1
    

    # Configure Device A as the master node of primary ring 1, with FortyGigE 1/0/1 as the primary port and as the secondary port. Enable ring 1.

    [DeviceA-rrpp-domain1] ring 1 node-mode master primary-port fortygige 1/0/1 secondary-port fortygige 1/0/2 level 0
    [DeviceA-rrpp-domain1] ring 1 enable
    [DeviceA-rrpp-domain1] quit
    

    # Enable RRPP.

    [DeviceA] rrpp enable
    
  2. Configure Device B:

    # Create VLANs 1 through 30.

    <DeviceB> system-view
    [DeviceB] vlan 1 to 30
    

    # Map these VLANs to MSTI 1.

    [DeviceB] stp region-configuration
    [DeviceB-mst-region] instance 1 vlan 1 to 30
    

    # Activate the MST region configuration.

    [DeviceB-mst-region] active region-configuration
    [DeviceB-mst-region] quit
    

    # Set the physical state change suppression interval to 0 seconds on .

    [DeviceB] interface fortygige 1/0/1
    [DeviceB-FortyGigE1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceB-FortyGigE1/0/1] undo stp enable
    

    # Configure the port as a trunk port.

    [DeviceB-FortyGigE1/0/1] port link-type trunk
    

    # Assign the port to VLANs 1 through 30.

    [DeviceB-FortyGigE1/0/1] port trunk permit vlan 1 to 30
    [DeviceB-FortyGigE1/0/1] quit
    

    # Configure in the same way FortyGigE 1/0/1 is configured.

    [DeviceB] interface fortygige 1/0/2
    [DeviceB-] link-delay 0
    [DeviceB-FortyGigE1/0/2] undo stp enable
    [DeviceB-FortyGigE1/0/2] port link-type trunk
    [DeviceB-] port trunk permit vlan 1 to 30
    [DeviceB-FortyGigE1/0/2] quit
    

    # Configure FortyGigE 1/0/3 in the same way FortyGigE 1/0/1 is configured.

    [DeviceB] interface fortygige 1/0/3
    [DeviceB-FortyGigE1/0/3] link-delay 0
    [DeviceB-FortyGigE1/0/3] undo stp enable
    [DeviceB-FortyGigE1/0/3] port link-type trunk
    [DeviceB-FortyGigE1/0/3] port trunk permit vlan 1 to 30
    [DeviceB-FortyGigE1/0/3] quit
    

    # Create RRPP domain 1.

    [DeviceB] rrpp domain 1
    

    # Configure VLAN 4092 as the primary control VLAN of RRPP domain 1.

    [DeviceB-rrpp-domain1] control-vlan 4092
    

    # Configure the VLANs mapped to MSTI 1 as the protected VLANs of RRPP domain 1.

    [DeviceB-rrpp-domain1] protected-vlan reference-instance 1
    

    # Configure Device B as a transit node of primary ring 1, with as the primary port and FortyGigE 1/0/2 as the secondary port. Enable ring 1.

    [DeviceB-rrpp-domain1] ring 1 node-mode transit primary-port  secondary-port fortygige 1/0/2 level 0
    [DeviceB-rrpp-domain1] ring 1 enable
    

    # Configure Device B as the edge node of subring 2, with as the edge port. Enable ring 2.

    [DeviceB-rrpp-domain1] ring 2 node-mode edge edge-port fortygige 1/0/3
    [DeviceB-rrpp-domain1] ring 2 enable
    [DeviceB-rrpp-domain1] quit
    

    # Enable RRPP.

    [DeviceB] rrpp enable
    
  3. Configure Device C:

    # Create VLANs 1 through 30.

    <DeviceC> system-view
    [DeviceC] vlan 1 to 30
    

    # Map these VLANs to MSTI 1.

    [DeviceC] stp region-configuration
    [DeviceC-mst-region] instance 1 vlan 1 to 30
    

    # Activate the MST region configuration.

    [DeviceC-mst-region] active region-configuration
    [DeviceC-mst-region] quit
    

    # Set the physical state change suppression interval to 0 seconds on FortyGigE 1/0/1.

    [DeviceC] interface fortygige 1/0/1
    [DeviceC-FortyGigE1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceC-] undo stp enable
    

    # Configure the port as a trunk port.

    [DeviceC-FortyGigE1/0/1] port link-type trunk
    

    # Assign the port to VLANs 1 through 30.

    [DeviceC-] port trunk permit vlan 1 to 30
    [DeviceC-FortyGigE1/0/1] quit
    

    # Configure FortyGigE 1/0/2 in the same way is configured.

    [DeviceC] interface fortygige 1/0/2
    [DeviceC-FortyGigE1/0/2] link-delay 0
    [DeviceC-] undo stp enable
    [DeviceC-FortyGigE1/0/2] port link-type trunk
    [DeviceC-FortyGigE1/0/2] port trunk permit vlan 1 to 30
    [DeviceC-FortyGigE1/0/2] quit
    

    # Configure FortyGigE 1/0/3 in the same way FortyGigE 1/0/1 is configured.

    [DeviceC] interface fortygige 1/0/3
    [DeviceC-FortyGigE1/0/3] link-delay 0
    [DeviceC-FortyGigE1/0/3] undo stp enable
    [DeviceC-FortyGigE1/0/3] port link-type trunk
    [DeviceC-FortyGigE1/0/3] port trunk permit vlan 1 to 30
    [DeviceC-] quit
    

    # Create RRPP domain 1.

    [DeviceC] rrpp domain 1
    

    # Configure VLAN 4092 as the primary control VLAN of RRPP domain 1.

    [DeviceC-rrpp-domain1] control-vlan 4092
    

    # Configure the VLANs mapped to MSTI 1 as the protected VLANs of RRPP domain 1.

    [DeviceC-rrpp-domain1] protected-vlan reference-instance 1
    

    # Configure Device C as a transit node of primary ring 1, with FortyGigE 1/0/1 as the primary port and as the secondary port. Enable ring 1.

    [DeviceC-rrpp-domain1] ring 1 node-mode transit primary-port fortygige 1/0/1 secondary-port  level 0
    [DeviceC-rrpp-domain1] ring 1 enable
    

    # Configure Device C as the assistant edge node of subring 2, with FortyGigE 1/0/3 as the edge port. Enable ring 2.

    [DeviceC-rrpp-domain1] ring 2 node-mode assistant-edge edge-port fortygige 1/0/3
    [DeviceC-rrpp-domain1] ring 2 enable
    [DeviceC-rrpp-domain1] quit
    

    # Enable RRPP.

    [DeviceC] rrpp enable
    
  4. Configure Device D:

    # Create VLANs 1 through 30.

    <DeviceD> system-view
    [DeviceD] vlan 1 to 30
    

    # Map these VLANs to MSTI 1.

    [DeviceD] stp region-configuration
    [DeviceD-mst-region] instance 1 vlan 1 to 30
    

    # Activate the MST region configuration.

    [DeviceD-mst-region] active region-configuration
    [DeviceD-mst-region] quit
    

    # Set the physical state change suppression interval to 0 seconds on FortyGigE 1/0/1.

    [DeviceD] interface fortygige 1/0/1
    [DeviceD-FortyGigE1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceD-FortyGigE1/0/1] undo stp enable
    

    # Configure the port as a trunk port.

    [DeviceD-FortyGigE1/0/1] port link-type trunk
    

    # Assign the port to VLANs 1 through 30.

    [DeviceD-FortyGigE1/0/1] port trunk permit vlan 1 to 30
    [DeviceD-] quit
    

    # Configure FortyGigE 1/0/2 in the same way FortyGigE 1/0/1 is configured.

    [DeviceD] interface fortygige 1/0/2
    [DeviceD-FortyGigE1/0/2] link-delay 0
    [DeviceD-FortyGigE1/0/2] undo stp enable
    [DeviceD-] port link-type trunk
    [DeviceD-FortyGigE1/0/2] port trunk permit vlan 1 to 30
    [DeviceD-FortyGigE1/0/2] quit
    

    # Create RRPP domain 1.

    [DeviceD] rrpp domain 1
    

    # Configure VLAN 4092 as the primary control VLAN of RRPP domain 1.

    [DeviceD-rrpp-domain1] control-vlan 4092
    

    # Configure the VLANs mapped to MSTI 1 as the protected VLANs of RRPP domain 1.

    [DeviceD-rrpp-domain1] protected-vlan reference-instance 1
    

    # Configure Device D as the transit node of primary ring 1, with FortyGigE 1/0/1 as the primary port and as the secondary port. Enable ring 1.

    [DeviceD-rrpp-domain1] ring 1 node-mode transit primary-port fortygige 1/0/1 secondary-port fortygige 1/0/2 level 0
    [DeviceD-rrpp-domain1] ring 1 enable
    [DeviceD-rrpp-domain1] quit
    

    # Enable RRPP.

    [DeviceD] rrpp enable
    
  5. Configure Device E:

    # Create VLANs 1 through 30.

    <DeviceE> system-view
    [DeviceE] vlan 1 to 30
    

    # Map these VLANs to MSTI 1.

    [DeviceE] stp region-configuration
    [DeviceE-mst-region] instance 1 vlan 1 to 30
    

    # Activate the MST region configuration.

    [DeviceE-mst-region] active region-configuration
    [DeviceE-mst-region] quit
    

    # Set the physical state change suppression interval to 0 seconds on FortyGigE 1/0/1.

    [DeviceE] interface fortygige 1/0/1
    [DeviceE-FortyGigE1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceE-FortyGigE1/0/1] undo stp enable
    

    # Configure the port as a trunk port.

    [DeviceE-FortyGigE1/0/1] port link-type trunk
    

    # Assign the port to VLANs 1 through 30.

    [DeviceE-FortyGigE1/0/1] port trunk permit vlan 1 to 30
    [DeviceE-FortyGigE1/0/1] quit
    

    # Configure FortyGigE 1/0/2 in the same way FortyGigE 1/0/1 is configured.

    [DeviceE] interface fortygige 1/0/2
    [DeviceE-FortyGigE1/0/2] link-delay 0
    [DeviceE-FortyGigE1/0/2] undo stp enable
    [DeviceE-FortyGigE1/0/2] port link-type trunk
    [DeviceE-FortyGigE1/0/2] port trunk permit vlan 1 to 30
    [DeviceE-FortyGigE1/0/2] quit
    

    # Create RRPP domain 1.

    [DeviceE] rrpp domain 1
    

    # Configure VLAN 4092 as the primary control VLAN of RRPP domain 1.

    [DeviceE-rrpp-domain1] control-vlan 4092
    

    # Configure the VLANs mapped to MSTI 1 as the protected VLANs of RRPP domain 1.

    [DeviceE-rrpp-domain1] protected-vlan reference-instance 1
    

    # Configure Device E as the master node of subring 2, with FortyGigE 1/0/1 as the primary port and FortyGigE 1/0/2 as the secondary port. Enable ring 2.

    [DeviceE-rrpp-domain1] ring 2 node-mode master primary-port fortygige 1/0/1 secondary-port fortygige 1/0/2 level 1
    [DeviceE-rrpp-domain1] ring 2 enable
    [DeviceE-rrpp-domain1] quit
    

    # Enable RRPP.

    [DeviceE] rrpp enable
    

Verifying the configuration

# Use the display commands to view RRPP configuration and operational information on each device.