
Data Preparation
To complete the configuration, you need the following data:
l
IDs of instances and IDs of the VLANs bound to the instances on Switch A
l
ID of a Smart Link group
l
Numbers of the uplink interfaces on Switch A
l
Control VLAN ID and password contained in Flush packets
Procedure
Step 1
On Switch A, configure the control VLAN and add the uplink interfaces to the control VLAN.
<SwitchA>
system-view
[SwitchA]
vlan batch 10 100 500
[SwitchA]
interface ethernet 0/0/1
[SwitchA-Ethernet0/0/1]
port link-type trunk
[SwitchA-Ethernet0/0/1]
port trunk allow-pass vlan 10 100 500
[SwitchA]
interface ethernet 0/0/2
[SwitchA-Ethernet0/0/2]
port link-type trunk
[SwitchA-Ethernet0/0/2]
port trunk allow-pass vlan 10 100 500
[SwitchA-Ethernet0/0/2]
quit
The configurations of Switch B and Switch C are similar to the configuration of Switch A, and
are not mentioned here.
Step 2
Configure VLAN mapping on Switch A.
[SwitchA]
stp region-configuration
[SwitchA-mst-region]
instance 10 vlan 100 500
[SwitchA-mst-region]
active region-configuration
[SwitchA-mst-region]
quit
Step 3
Add the uplink interfaces to the Smart Link group and specify the master and slave interfaces.
Ensure that STP is disabled on the uplink interfaces.
# Configure Switch A.
[SwitchA]
interface ethernet 0/0/1
[SwitchA-Ethernet0/0/1]
stp disable
[SwitchA-Ethernet0/0/1]
quit
[SwitchA]
interface ethernet 0/0/2
[SwitchA-Ethernet0/0/2]
stp disable
[SwitchA-Ethernet0/0/2]
quit
[SwitchA]
smart-link group 1
[SwitchA-smlk-group1]
port ethernet 0/0/1 master
[SwitchA-smlk-group1]
port ethernet 0/0/2 slave
Step 4
Configure load balancing on Switch A.
[SwitchA-smlk-group1]
load-balance instance 10 slave
Step 5
Enable the revertive switching and set the wait-to-restore (WTR) time.
# Configure Switch A.
[SwitchA-smlk-group1]
restore enable
[SwitchA-smlk-group1]
timer wtr 30
Step 6
Enable the sending of Flush packets.
# Configure Switch A.
[SwitchA-smlk-group1]
flush send control-vlan 10 password simple 123
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
2 Smart Link and Monitor Link Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
38