[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] undo link-delay
[DeviceB-GigabitEthernet1/0/1] undo stp enable
[DeviceB-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceB] interface gigabitethernet 1/0/2
[DeviceB-GigabitEthernet1/0/2] undo link-delay
[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
# Create RRPP domain 1. Configure VLAN 4092 as the primary control VLAN of RRPP domain 1, and
configure the VLANs mapped to MSTI 1 as the protected VLANs of RRPP domain 1.
[DeviceB] rrpp domain 1
[DeviceB-rrpp-domain1] control-vlan 4092
[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, and enable ring 1.
secondary-port gigabitethernet 1/0/2 level 0
[DeviceB-rrpp-domain1] ring 1 enable
# Enable RRPP.
[DeviceB] rrpp enable
Configure Device C.
The configuration on Device C is similar to that on Device B and is not shown here.
Configure Device D.
The configuration on Device D is similar to that on Device B and is not shown here.
Verify the configuration.
Use the display command to view RRPP configuration and operational information on each device.
Intersecting ring configuration example
As shown in
Device A, Device B, Device C, Device D, and Device E form RRPP domain 1. VLAN 4092 is the
primary control VLAN of RRPP domain 1, and RRPP domain 1 protects VLANs 1 through 30.
Device A, Device B, Device C, and Device D form primary ring 1, and Device B, Device C and
Device E form subring 2.
Device A is the master node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port
and GigabitEthernet 1/0/2 the secondary port.
Device E is the master node of subring 2, with GigabitEthernet 1/0/1 as the primary port and
GigabitEthernet 1/0/2 the secondary port.