Dual-homed rings configuration example

Network requirements

As shown in Figure 22:


[IMPORTANT: ]

IMPORTANT:

Configure the primary and secondary ports on the master nodes correctly to make sure other protocols still operate correctly when protected VLANs are denied by the secondary ports.


Figure 22: Network diagram

Configuration procedure

  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 GigabitEthernet 1/0/1.

    [DeviceA] interface gigabitethernet 1/0/1
    [DeviceA-GigabitEthernet1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

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

    # Configure the port as a trunk port.

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

    # Assign the port to VLANs 1 through 30.

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

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

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

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

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

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

    [DeviceA] interface gigabitethernet 1/0/4
    [DeviceA-GigabitEthernet1/0/4] link-delay 0
    [DeviceA-GigabitEthernet1/0/4] undo stp enable
    [DeviceA-GigabitEthernet1/0/4] port link-type trunk
    [DeviceA-GigabitEthernet1/0/4] port trunk permit vlan 1 to 30
    [DeviceA-GigabitEthernet1/0/4] 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 GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Enable ring 1.

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

    # Configure Device A as the edge node of subring 2, with GigabitEthernet 1/0/4 as the edge port. Enable subring 2.

    [DeviceA-rrpp-domain1] ring 2 node-mode edge edge-port gigabitethernet 1/0/4
    [DeviceA-rrpp-domain1] ring 2 enable
    

    # Configure Device A as the edge node of subring 3, with GigabitEthernet 1/0/3 as the edge port. Enable subring 3.

    [DeviceA-rrpp-domain1] ring 3 node-mode edge edge-port gigabitethernet 1/0/3
    [DeviceA-rrpp-domain1] ring 3 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 GigabitEthernet 1/0/1.

    [DeviceB] interface gigabitethernet 1/0/1
    [DeviceB-GigabitEthernet1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

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

    # Configure the port as a trunk port.

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

    # Assign the port to VLANs 1 through 30.

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

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

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

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

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

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

    [DeviceB] interface gigabitethernet 1/0/4
    [DeviceB-GigabitEthernet1/0/4] link-delay 0
    [DeviceB-GigabitEthernet1/0/4] undo stp enable
    [DeviceB-GigabitEthernet1/0/4] port link-type trunk
    [DeviceB-GigabitEthernet1/0/4] port trunk permit vlan 1 to 30
    [DeviceB-GigabitEthernet1/0/4] 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 the transit node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Enable ring 1.

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

    # Configure Device B as the assistant edge node of subring 2, with GigabitEthernet 1/0/4 as the edge port. Enable subring 2.

    [DeviceB-rrpp-domain1] ring 2 node-mode assistant-edge edge-port gigabitethernet 1/0/4
    [DeviceB-rrpp-domain1] ring 2 enable
    

    # Configure Device B as the assistant edge node of subring 3, with GigabitEthernet 1/0/3 as the edge port. Enable subring 3.

    [DeviceB-rrpp-domain1] ring 3 node-mode assistant-edge edge-port gigabitethernet 1/0/3
    [DeviceB-rrpp-domain1] ring 3 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 GigabitEthernet 1/0/1.

    [DeviceC] interface gigabitethernet 1/0/1
    [DeviceC-GigabitEthernet1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceC-GigabitEthernet1/0/1] undo stp enable
    

    # Configure the port as a trunk port.

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

    # Assign the port to VLANs 1 through 30.

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

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

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

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

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

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

    [DeviceC] interface gigabitethernet 1/0/4
    [DeviceC-GigabitEthernet1/0/4] link-delay 0
    [DeviceC-GigabitEthernet1/0/4] undo stp enable
    [DeviceC-GigabitEthernet1/0/4] port link-type trunk
    [DeviceC-GigabitEthernet1/0/4] port trunk permit vlan 1 to 30
    [DeviceC-GigabitEthernet1/0/4] 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 the transit node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Enable ring 1.

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

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

    [DeviceC-rrpp-domain1] ring 4 node-mode assistant-edge edge-port gigabitethernet 1/0/3
    [DeviceC-rrpp-domain1] ring 4 enable
    

    # Configure Device C as the assistant edge node of subring 5, with GigabitEthernet 1/0/4 as the edge port. Enable subring 5.

    [DeviceC-rrpp-domain1] ring 5 node-mode assistant-edge edge-port gigabitethernet 1/0/4
    [DeviceC-rrpp-domain1] ring 5 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 GigabitEthernet 1/0/1.

    [DeviceD] interface gigabitethernet 1/0/1
    [DeviceD-GigabitEthernet1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

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

    # Configure the port as a trunk port.

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

    # Assign the port to VLANs 1 through 30.

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

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

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

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

    [DeviceD] interface gigabitethernet 1/0/3
    [DeviceD-GigabitEthernet1/0/3] link-delay 0
    [DeviceD-GigabitEthernet1/0/3] undo stp enable
    [DeviceD-GigabitEthernet1/0/3] port link-type trunk
    [DeviceD-GigabitEthernet1/0/3] port trunk permit vlan 1 to 30
    [DeviceD-GigabitEthernet1/0/3] quit
    

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

    [DeviceD] interface gigabitethernet 1/0/4
    [DeviceD-GigabitEthernet1/0/4] link-delay 0
    [DeviceD-GigabitEthernet1/0/4] undo stp enable
    [DeviceD-GigabitEthernet1/0/4] port link-type trunk
    [DeviceD-GigabitEthernet1/0/4] port trunk permit vlan 1 to 30
    [DeviceD-GigabitEthernet1/0/4] 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 GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Enable ring 1.

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

    # Configure Device D as the edge node of subring 4, with GigabitEthernet 1/0/3 as the edge port. Enable subring 4.

    [DeviceD-rrpp-domain1] ring 4 node-mode edge edge-port gigabitethernet 1/0/3
    [DeviceD-rrpp-domain1] ring 4 enable
    

    # Configure Device D as the edge node of subring 5, with GigabitEthernet 1/0/4 as the edge port. Enable subring 5.

    [DeviceD-rrpp-domain1] ring 5 node-mode edge edge-port gigabitethernet 1/0/4
    [DeviceD-rrpp-domain1] ring 5 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 GigabitEthernet 1/0/1.

    [DeviceE] interface gigabitethernet 1/0/1
    [DeviceE-GigabitEthernet1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

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

    # Configure the port as a trunk port.

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

    # Assign the port to VLANs 1 through 30.

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

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

    [DeviceE] interface gigabitethernet 1/0/2
    [DeviceE-GigabitEthernet1/0/2] link-delay 0
    [DeviceE-GigabitEthernet1/0/2] undo stp enable
    [DeviceE-GigabitEthernet1/0/2] port link-type trunk
    [DeviceE-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
    [DeviceE-GigabitEthernet1/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 GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Enable subring 2.

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

    # Enable RRPP.

    [DeviceE] rrpp enable
    
  6. Configure Device F:

    # Create VLANs 1 through 30.

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

    # Map these VLANs to MSTI 1.

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

    # Activate the MST region configuration.

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

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

    [DeviceF] interface gigabitethernet 1/0/1
    [DeviceF-GigabitEthernet1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceF-GigabitEthernet1/0/1] undo stp enable
    

    # Configure the port as a trunk port.

    [DeviceF-GigabitEthernet1/0/1] port link-type trunk
    

    # Assign the port to VLANs 1 through 30.

    [DeviceF-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
    [DeviceF-GigabitEthernet1/0/1] quit
    

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

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

    # Create RRPP domain 1.

    [DeviceF] rrpp domain 1
    

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

    [DeviceF-rrpp-domain1] control-vlan 4092
    

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

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

    # Configure Device F as the master node of subring 3, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Enable subring 3.

    [DeviceF-rrpp-domain1] ring 3 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1
    [DeviceF-rrpp-domain1] ring 3 enable
    [DeviceF-rrpp-domain1] quit
    

    # Enable RRPP.

    [DeviceF] rrpp enable
    
  7. Configure Device G:

    # Create VLANs 1 through 30.

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

    # Map these VLANs to MSTI 1.

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

    # Activate the MST region configuration.

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

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

    [DeviceG] interface gigabitethernet 1/0/1
    [DeviceG-GigabitEthernet1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceG-GigabitEthernet1/0/1] undo stp enable
    

    # Configure the port as a trunk port.

    [DeviceG-GigabitEthernet1/0/1] port link-type trunk
    

    # Assign the port to VLANs 1 through 30.

    [DeviceG-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
    [DeviceG-GigabitEthernet1/0/1] quit
    

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

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

    # Create RRPP domain 1.

    [DeviceG] rrpp domain 1
    

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

    [DeviceG-rrpp-domain1] control-vlan 4092
    

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

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

    # Configure Device G as the master node of subring 4, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Enable subring 4.

    [DeviceG-rrpp-domain1] ring 4 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1
    [DeviceG-rrpp-domain1] ring 4 enable
    [DeviceG-rrpp-domain1] quit
    

    # Enable RRPP.

    [DeviceG] rrpp enable
    
  8. Configure Device H:

    # Create VLANs 1 through 30.

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

    # Map these VLANs to MSTI 1.

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

    # Activate the MST region configuration.

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

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

    [DeviceH] interface gigabitethernet 1/0/1
    [DeviceH-GigabitEthernet1/0/1] link-delay 0
    

    # Disable the spanning tree feature on the port.

    [DeviceH-GigabitEthernet1/0/1] undo stp enable
    

    # Configure the port as a trunk port.

    [DeviceH-GigabitEthernet1/0/1] port link-type trunk
    

    # Assign the port to VLANs 1 through 30.

    [DeviceH-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
    [DeviceH-GigabitEthernet1/0/1] quit
    

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

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

    # Create RRPP domain 1.

    [DeviceH] rrpp domain 1
    

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

    [DeviceH-rrpp-domain1] control-vlan 4092
    

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

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

    # Configure Device H as the master node of subring 5, with GigabitEthernet 1/0/1 as the primary port and GigabitEthernet 1/0/2 as the secondary port. Enable subring 5.

    [DeviceH-rrpp-domain1] ring 5 node-mode master primary-port gigabitethernet 1/0/1 secondary-port gigabitethernet 1/0/2 level 1
    [DeviceH-rrpp-domain1] ring 5 enable
    [DeviceH-rrpp-domain1] quit
    

    # Enable RRPP.

    [DeviceH] rrpp enable
    

Verifying the configuration

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