H3C Technologies H3C S7500E Series Switches User Manual
Page 106
7-35
[DeviceE-GigabitEthernet2/0/1] port link-type trunk
[DeviceE-GigabitEthernet2/0/1] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet2/0/1] port trunk permit vlan 2
[DeviceE-GigabitEthernet2/0/1] port trunk pvid vlan 2
[DeviceE-GigabitEthernet2/0/1] quit
[DeviceE] interface gigabitethernet 2/0/2
[DeviceE-GigabitEthernet2/0/2] link-delay 0
[DeviceE-GigabitEthernet2/0/2] undo stp enable
[DeviceE-GigabitEthernet2/0/2] port link-type trunk
[DeviceE-GigabitEthernet2/0/2] undo port trunk permit vlan 1
[DeviceE-GigabitEthernet2/0/2] port trunk permit vlan 2
[DeviceE-GigabitEthernet2/0/2] port trunk pvid vlan 2
[DeviceE-GigabitEthernet2/0/2] quit
# Create RRPP domain 2, configure VLAN 105 as the primary control VLAN, and configure the
VLAN mapped to MSTI 2 as the protected VLAN.
[DeviceE] rrpp domain 2
[DeviceE-rrpp-domain2] control-vlan 105
[DeviceE-rrpp-domain2] protected-vlan reference-instance 2
# Configure Device E as the master mode of subring 2 in RRPP domain 2, with GigabitEthernet
2/0/2 as the primary port and GigabitEthernet 2/0/1 as the secondary port, and enable ring 2.
[DeviceE-rrpp-domain2] ring 2 node-mode master primary-port gigabitethernet 2/0/2
secondary-port gigabitethernet 2/0/1 level 1
[DeviceE-rrpp-domain2] ring 2 enable
[DeviceE-rrpp-domain2] quit
# Enable RRPP.
[DeviceE] rrpp enable
6) Configuration on Device F
# Create VLAN 1, map VLAN 1 to MSTI 1, and activate MST region configuration.
[DeviceF] vlan 1
[DeviceF-vlan1] quit
[DeviceF] stp region-configuration
[DeviceF-mst-region] instance 1 vlan 1
[DeviceF-mst-region] active region-configuration
[DeviceF-mst-region] quit
# Set the physical state change suppression interval on GigabitEthernet 2/0/1 and
GigabitEthernet 2/0/2 to 0 seconds, disable STP, configure the two ports as trunk ports, and
assign them to VLAN 1.
[DeviceF] interface gigabitethernet 2/0/1
[DeviceF-GigabitEthernet2/0/1] link-delay 0
[DeviceF-GigabitEthernet2/0/1] undo stp enable
[DeviceF-GigabitEthernet2/0/1] port link-type trunk
[DeviceF-GigabitEthernet2/0/1] port trunk permit vlan 1
[DeviceF-GigabitEthernet2/0/1] quit
[DeviceF] interface gigabitethernet 2/0/2
[DeviceF-GigabitEthernet2/0/2] link-delay 0
[DeviceF-GigabitEthernet2/0/2] undo stp enable
[DeviceF-GigabitEthernet2/0/2] port link-type trunk
[DeviceF-GigabitEthernet2/0/2] port trunk permit vlan 1