85
[DeviceD-rrpp-domain1] ring 1 enable
[DeviceD-rrpp-domain1] quit
# Create RRPP domain 2.
[DeviceD] rrpp domain 2
# Configure VLAN 105 as the primary control VLAN of RRPP domain 2.
[DeviceD-rrpp-domain2] control-vlan 105
# Configure the VLAN mapped to MSTI 2 as the protected VLAN of RRPP domain 2.
[DeviceD-rrpp-domain2] protected-vlan reference-instance 2
# Configure Device D as the transit node of primary ring 1 in RRPP domain 2, with
Ten-GigabitEthernet 1/0/1 as the primary port and Ten-GigabitEthernet 1/0/2 as the secondary
port. Enable ring 1.
[DeviceD-rrpp-domain2] ring 1 node-mode transit primary-port ten-gigabitethernet
1/0/1 secondary-port ten-gigabitethernet 1/0/2 level 0
[DeviceD-rrpp-domain2] ring 1 enable
[DeviceD-rrpp-domain2] quit
# Enable RRPP.
[DeviceD] rrpp enable
5. Configure Device E:
# Create VLAN 12.
<DeviceE> system-view
[DeviceE] vlan 12
# Map VLAN 12 to MSTI 2.
[DeviceE-vlan12] quit
[DeviceE] stp region-configuration
[DeviceE-mst-region] instance 2 vlan 12
# 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 Ten-GigabitEthernet
1/0/1.
[DeviceE] interface ten-gigabitethernet 1/0/1
[DeviceE-Ten-GigabitEthernet1/0/1] link-delay 0
# Disable the spanning tree feature on the port.
[DeviceE-Ten-GigabitEthernet1/0/1] undo stp enable
# Configure the port as a trunk port.
[DeviceE-Ten-GigabitEthernet1/0/1] port link-type trunk
# Remove the port from VLAN 1, and assign it to VLAN 12.
[DeviceE-Ten-GigabitEthernet1/0/1] undo port trunk permit vlan 1
[DeviceE-Ten-GigabitEthernet1/0/1] port trunk permit vlan 12
# Configure VLAN 12 as the default VLAN.
[DeviceE-Ten-GigabitEthernet1/0/1] port trunk pvid vlan 12
[DeviceE-Ten-GigabitEthernet1/0/1] quit
# Configure Ten-GigabitEthernet 1/0/2 in the same way Ten-GigabitEthernet 1/0/1 is
configured.
[DeviceE] interface ten-gigabitethernet 1/0/2
[DeviceE-Ten-GigabitEthernet1/0/2] link-delay 0
[DeviceE-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceE-Ten-GigabitEthernet1/0/2] port link-type trunk