70
[DeviceB-GigabitEthernet1/0/2] port link-type trunk
[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceB-GigabitEthernet1/0/2] quit
# 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.
[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
[DeviceB-rrpp-domain1] quit
# Enable RRPP.
[DeviceB] rrpp enable
3. Configure Device C:
The configuration on Device C is similar to that on Device B and is not shown here.
4. Configure Device D:
The configuration on Device D is similar to that on Device B and is not shown here.
5. Verify the configuration:
Use the display command to view RRPP configuration and operational information on each device.
Intersecting ring configuration example
Networking requirements
As shown in Figure 19,
• 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.
• Device B is the transit node of primary ring 1 and the edge node of subring 2, and GigabitEthernet
1/0/3 is the edge port.
• Device C is the transit node of primary ring 1 and the assistant-edge node of subring 1, and
GigabitEthernet 1/0/3 is the edge port.
• Device D is the transit node of primary ring 1, with GigabitEthernet 1/0/1 as the primary port and
GigabitEthernet 1/0/2 the secondary port.