H3C Technologies H3C S7500E Series Switches User Manual
Page 131
9-5
[DeviceC-GigabitEthernet2/0/1] quit
[DeviceC] interface gigabitethernet 2/0/2
[DeviceC-GigabitEthernet2/0/2] undo stp enable
[DeviceC-GigabitEthernet2/0/2] port link-type trunk
[DeviceC-GigabitEthernet2/0/2] port trunk permit vlan 1 to 30
[DeviceC-GigabitEthernet2/0/2] quit
# Create smart link group 1, and configure all the VLANs mapped to MSTI 1 as the protected VLANs
for smart link group 1.
[DeviceC] smart-link group 1
[DeviceC-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.
[DeviceC-smlk-group1] port gigabitethernet 2/0/1 master
[DeviceC-smlk-group1] port gigabitethernet 2/0/2 slave
# Enable the smart link group to transmit flush messages.
[DeviceC-smlk-group1] flush enable
[DeviceC-smlk-group1] quit
2) Configuration on Device A
# Create VLANs 1 through 30.
[DeviceA] vlan 1 to 30
# Configure GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 as trunk ports, assign them to VLANs 1
through 30, and enable flush message receiving on them.
[DeviceA] interface gigabitethernet 2/0/1
[DeviceA-GigabitEthernet2/0/1] port link-type trunk
[DeviceA-GigabitEthernet2/0/1] port trunk permit vlan 1 to 30
[DeviceA-GigabitEthernet2/0/1] smart-link flush enable
[DeviceA-GigabitEthernet2/0/1] quit
[DeviceA] interface gigabitethernet 2/0/2
[DeviceA-GigabitEthernet2/0/2] port link-type trunk
[DeviceA-GigabitEthernet2/0/2] port trunk permit vlan 1 to 30
[DeviceA-GigabitEthernet2/0/2] smart-link flush enable
[DeviceA-GigabitEthernet2/0/2] quit
3) Configuration on Device B
# Create VLANs 1 through 30.
[DeviceB] vlan 1 to 30
# Configure GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 as trunk ports, assign them to 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
[DeviceB-GigabitEthernet2/0/2] port link-type trunk
[DeviceB-GigabitEthernet2/0/2] port trunk permit vlan 1 to 30
[DeviceB-GigabitEthernet2/0/2] smart-link flush enable