H3C Technologies H3C S7500E Series Switches User Manual
Page 121
8-50
[DeviceC-smlk-group1] port gigabitethernet 2/0/1 master
[DeviceC-smlk-group1] port gigabitethernet 2/0/2 slave
# Enable flush message sending in smart link group 1.
[DeviceC-smlk-group1] flush enable
[DeviceC-smlk-group1] quit
2) Configuration on Device D
# Create VLANs 1 through 30, map these VLANs to MSTI 1, and activate the MST region
configuration.
[DeviceD] vlan 1 to 30
[DeviceD] stp region-configuration
[DeviceD-mst-region] instance 1 vlan 1 to 30
[DeviceD-mst-region] active region-configuration
[DeviceD-mst-region] quit
# Disable STP on GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 separately, and configure them as
trunk ports that permit VLANs 1 through 30.
[DeviceD] interface gigabitethernet 2/0/1
[DeviceD-GigabitEthernet2/0/1] undo stp enable
[DeviceD-GigabitEthernet2/0/1] port link-type trunk
[DeviceD-GigabitEthernet2/0/1] port trunk permit vlan 1 to 30
[DeviceD-GigabitEthernet2/0/1] quit
[DeviceD] interface gigabitethernet 2/0/2
[DeviceD-GigabitEthernet2/0/2] undo stp enable
[DeviceD-GigabitEthernet2/0/2] port link-type trunk
[DeviceD-GigabitEthernet2/0/2] port trunk permit vlan 1 to 30
[DeviceD-GigabitEthernet2/0/2] quit
# Create smart link group 1, and configure all VLANs mapped to MSTI 1 as the protected VLANs.
[DeviceD] smart-link group 1
[DeviceD-smlk-group1] protected-vlan reference-instance 1
# Configure GigabitEthernet 2/0/1 as the master port and GigabitEthernet 2/0/2 as the slave port for
smart link group 1.
[DeviceD-smlk-group1] port gigabitethernet 2/0/1 master
[DeviceD-smlk-group1] port gigabitethernet 2/0/2 slave
# Enable flush message sending in smart link group 1.
[DeviceD-smlk-group1] flush enable
[DeviceD-smlk-group1] quit
3) Configuration on Device B
# Create VLANs 1 through 30.
[DeviceB] vlan 1 to 30
# Configure GigabitEthernet 2/0/1, GigabitEthernet 2/0/2, and GigabitEthernet 2/0/3 as trunk ports that
permit VLANs 1 through 30 and enable flush message receiving on them.
[DeviceB] interface gigabitethernet 2/0/1
[DeviceB-GigabitEthernet2/0/1] port link-type trunk
[DeviceB-GigabitEthernet2/0/1] port trunk permit vlan 1 to 30
[DeviceB-GigabitEthernet2/0/1] smart-link flush enable
[DeviceB-GigabitEthernet2/0/1] quit
[DeviceB] interface gigabitethernet 2/0/2