84 
[DeviceF-GigabitEthernet1/0/1] port link-type trunk 
[DeviceF-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30 
[DeviceF-GigabitEthernet1/0/1] quit 
[DeviceF] interface gigabitethernet 1/0/2 
[DeviceF-GigabitEthernet1/0/2] undo link-delay 
[DeviceF-GigabitEthernet1/0/2] undo stp enable 
[DeviceF-GigabitEthernet1/0/2] qos trust dot1p 
[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. 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.  
[DeviceF] rrpp domain 1 
[DeviceF-rrpp-domain1] control-vlan 4092 
[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, and 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, map these VLANs to MSTI 1, and activate the MST region 
configuration. 
<DeviceG> system-view 
[DeviceG] vlan 1 to 30 
[DeviceG] stp region-configuration 
[DeviceG-mst-region] instance 1 vlan 1 to 30 
[DeviceG-mst-region] active region-configuration 
[DeviceG-mst-region] quit 
# Cancel the physical state change suppression interval setting on GigabitEthernet 1/0/1 and 
GigabitEthernet 1/0/2, disable the spanning tree feature, and set the trusted packet priority type 
to 802.1p priority. Configure the two ports as trunk ports, and assign them to VLANs 1 through 
30.  
[DeviceG] interface gigabitethernet 1/0/1 
[DeviceG-GigabitEthernet1/0/1] undo link-delay 
[DeviceG-GigabitEthernet1/0/1] undo stp enable 
[DeviceG-GigabitEthernet1/0/1] qos trust dot1p 
[DeviceG-GigabitEthernet1/0/1] port link-type trunk 
[DeviceG-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30 
[DeviceG-GigabitEthernet1/0/1] quit 
[DeviceG] interface gigabitethernet 1/0/2 
[DeviceG-GigabitEthernet1/0/2] undo link-delay 
[DeviceG-GigabitEthernet1/0/2] undo stp enable 
[DeviceG-GigabitEthernet1/0/2] qos trust dot1p 
[DeviceG-GigabitEthernet1/0/2] port link-type trunk