H3C LS-3100-52P-OVS-H3 Operation Manual page 115

S5500-ei series ethernet switches
Table of Contents

Advertisement

# Configure protected VLANs for smart link group 1.
[DeviceC-smlk-group1] protected-vlan reference-instance 0
# Configure GigabitEthernet 1/0/1 as the master port and GigabitEthernet 1/0/2 as the slave port.
[DeviceC-smlk-group1] port gigabitethernet1/0/1 master
[DeviceC-smlk-group1] port gigabitethernet1/0/2 slave
# Enable role preemption.
[DeviceC-smlk-group1] preemption mode role
# Configure VLAN 10 as the transmit control VLAN of smart link group 1.
[DeviceC-smlk-group-1] flush enable control-vlan 10
[DeviceC-smlk-group-1] quit
# Create smart link group 2.
[DeviceC] smart-link group 2
# Configure protected VLANs for smart link group 2.
[DeviceC-smlk-group2] protected-vlan reference-instance 2
# Configure GigabitEthernet 1/0/1 as the slave port and GigabitEthernet 1/0/2 as the master port.
[DeviceC-smlk-group2] port gigabitethernet1/0/1 slave
[DeviceC-smlk-group2] port gigabitethernet1/0/2 master
# Enable role preemption.
[DeviceC-smlk-group2] preemption mode role
# Configure VLAN 101 as the transmit control VLAN of smart link group 2.
[DeviceC-smlk-group2] flush enable control-vlan 101
2)
Configuration on Device B
# Configure VLAN 10 and VLAN 101 as the receive control VLANs of GigabitEthernet 1/0/1 and
GigabitEthernet 1/0/2.
<DeviceB> system-view
[DeviceB] vlan 1 to 200
[DeviceB] interface gigabitethernet 1/0/1
[DeviceB-GigabitEthernet1/0/1] port link-type trunk
[DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 1 to 200
[DeviceB-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 101
[DeviceB-GigabitEthernet1/0/1] quit
[DeviceB] interface gigabitethernet 1/0/2
[DeviceB-GigabitEthernet1/0/2] port link-type trunk
[DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 1 to 200
[DeviceB-GigabitEthernet1/0/2] smart-link flush enable control-vlan 10 101
3)
Configuration on Device D
# Configure VLAN 10 and VLAN 101 as the receive control VLANs of GigabitEthernet 1/0/1 and
GigabitEthernet 1/0/2.
<DeviceD> system-view
[DeviceD] vlan 1 to 200
[DeviceD] interface gigabitethernet 1/0/1
[DeviceD-GigabitEthernet1/0/1] port link-type trunk
[DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 1 to 200
1-10

Advertisement

Chapters

Table of Contents
loading

Table of Contents