76
# 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 Ten-GigabitEthernet
1/0/1.
[DeviceG] interface ten-gigabitethernet 1/0/1
[DeviceG-Ten-GigabitEthernet1/0/1] link-delay 0
# Disable the spanning tree feature on the port.
[DeviceG-Ten-GigabitEthernet1/0/1] undo stp enable
# Configure the port as a trunk port.
[DeviceG-Ten-GigabitEthernet1/0/1] port link-type trunk
# Assign the port to VLANs 1 through 30.
[DeviceG-Ten-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30
[DeviceG-Ten-GigabitEthernet1/0/1] quit
# Configure Ten-GigabitEthernet 1/0/2 in the same way Ten-GigabitEthernet 1/0/1 is
configured.
[DeviceG] interface ten-gigabitethernet 1/0/2
[DeviceG-Ten-GigabitEthernet1/0/2] link-delay 0
[DeviceG-Ten-GigabitEthernet1/0/2] undo stp enable
[DeviceG-Ten-GigabitEthernet1/0/2] port link-type trunk
[DeviceG-Ten-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30
[DeviceG-Ten-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 Ten-GigabitEthernet 1/0/1 as the
primary port and Ten-GigabitEthernet 1/0/2 as the secondary port. Enable subring 4.
[DeviceG-rrpp-domain1] ring 4 node-mode master primary-port ten-gigabitethernet
1/0/1 secondary-port ten-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