smart-link & monitor-link
Smart Link
1. close stp
int g0/0/1
stp disable
int g0/0/2
stp disable
2. Create a smart link group
smart-link group 1
3. Set the master-backup relationship
port g0/0/1 master
port g0/0/2 slave
4. The standby link switches to the primary link
smart-link group 1
restore enable // 设置恢复主链路
timer wtr 30 // 设置自动恢复时间。
Monitor Link
- Create monitor link group and add up/down interface
monitor-link group 1
port g0/0/1 uplink
port g0/0/3 down-link 1
Monitor Link is usually used in combination with Smart Link. Monitor Link realizes the upper and lower monitoring of interfaces, and Smart Link realizes active and standby links.