Hello everyone,
Today I will share with you how to configure Smart link on CE series switches.
As shown in the figure, a dual-homing networking is used to enhance network reliability. The customer wants to eliminate loops on the network while implementing link redundancy and fast convergence.
1. Configure VLANs.
# Create VLANs on SwitchA and configure related interfaces to allow packets of these VLANs to pass through. The configurations of SwitchB, SwitchC, and SwitchD are similar to the configuration of SwitchA, and are not mentioned here.
<HUAWEI> system-view
[~HUAWEI] sysname SwitchA
[*HUAWEI] commit
[~SwitchA] vlan batch 10 to 30
[*SwitchA] interface 10ge 1/0/1
[*SwitchA-10GE1/0/1] port link-type trunk
[*SwitchA-10GE1/0/1] port trunk allow-pass vlan 10 to 30
[*SwitchA-10GE1/0/1] commit
[~SwitchA-10GE1/0/1] quit
[~SwitchA] interface 10ge 1/0/2
[~SwitchA-10GE1/0/2] port link-type trunk
[*SwitchA-10GE1/0/2] port trunk allow-pass vlan 10 to 30
[*SwitchA-10GE1/0/2] commit
[~SwitchA-10GE1/0/2] quit
2. Create a Smart Link group on SwitchA and specify the master and slave interfaces.
# Configure SwitchA.
[~SwitchA] interface 10ge 1/0/1
[~SwitchA-10GE1/0/1] stp disable
[*SwitchA-10GE1/0/1] commit
[~SwitchA-10GE1/0/1] quit
[~SwitchA] interface 10ge 1/0/2
[~SwitchA-10GE1/0/2] stp disable
[*SwitchA-10GE1/0/2] commit
[~SwitchA-10GE1/0/2] quit
[~SwitchA] smart-link group 1
[*SwitchA-smlk-group1] port 10ge 1/0/1 master
[*SwitchA-smlk-group1] port 10ge 1/0/2 slave
[*SwitchA-smlk-group1] commit
3. Enable revertive switching and set the WTR time.
# Configure SwitchA.
[~SwitchA-smlk-group1] restore enable
[*SwitchA-smlk-group1] timer wtr 120
[*SwitchA-smlk-group1] commit
4. Enable SwitchA to send Flush packets.
# Configure SwitchA to send Flush packets containing an HMAC-SHA256-encrypted password.
[~SwitchA-smlk-group1] flush send control-vlan 10 password hmac-sha256 123
[*SwitchA-smlk-group1] commit
5. Enable interfaces on SwitchB, SwitchC, and SwitchD to receive Flush packets.
# Enable SwitchB to receive Flush packets containing an HMAC-SHA256-encrypted password.
[~SwitchB] interface 10ge 1/0/1
[~SwitchB-10GE1/0/1] stp disable
[*SwitchB-10GE1/0/1] smart-link flush receive control-vlan 10 password hmac-sha256 123
[*SwitchB-10GE1/0/1] commit
[~SwitchB-10GE1/0/1] quit
[~SwitchB] interface 10ge 1/0/2
[~SwitchB-10GE1/0/2] smart-link flush receive control-vlan 10 password hmac-sha256 123
[*SwitchB-10GE1/0/2] commit
[~SwitchB-10GE1/0/2] quit
# Enable SwitchC to receive Flush packets containing an HMAC-SHA256-encrypted password.
[~SwitchC] interface 10ge 1/0/1
[~SwitchB-10GE1/0/1] stp disable
[*SwitchC-10GE1/0/1] smart-link flush receive control-vlan 10 password hmac-sha256 123
[*SwitchC-10GE1/0/1] commit
[~SwitchC-10GE1/0/1] quit
[~SwitchC] interface 10ge 1/0/2
[~SwitchC-10GE1/0/2] smart-link flush receive control-vlan 10 password hmac-sha256 123
[*SwitchC-10GE1/0/2] commit
[~SwitchC-10GE1/0/2] quit
# Enable SwitchD to receive Flush packets containing an HMAC-SHA256-encrypted password.
[~SwitchD] interface 10ge 1/0/1
[~SwitchD-10GE1/0/1] smart-link flush receive control-vlan 10 password hmac-sha256 123
[*SwitchD-10GE1/0/1] commit
[~SwitchD-10GE1/0/1] quit
[~SwitchD] interface 10ge 1/0/2
[~SwitchD-10GE1/0/2] smart-link flush receive control-vlan 10 password hmac-sha256 123
[*SwitchD-10GE1/0/2] commit
[~SwitchD-10GE1/0/2] quit
6. Enable the Smart Link group on SwitchA.
[~SwitchA-smlk-group1] smart-link enable
[*SwitchA-smlk-group1] commit
[~SwitchA-smlk-group1] quit
For details about Smart Link and how to configure it on CE12800 series switches, visit http://support.huawei.com/hedex/hdx.do?docid=EDOC1000147767&id=dc_cfg_smlk_1001&text=Smart%2520Link%2520and%2520Monitor%2520Link%2520Configuration&lang=en.
For details about Smart Link and how to configure it on CE8800&7800&6800&5800 series switches, visit http://support.huawei.com/hedex/hdx.do?docid=EDOC1000147777&id=dc_cfg_smlk_1001&text=Smart%2520Link%2520and%2520Monitor%2520Link%2520Configuration&lang=en.
That is all I want to share with you! Thank you!