具体配置: 1. HSRP的配置: 在LongQuan-Backup(1601)上: int e0 ip address 22.97.80.253 255.255.255.0 secondary ip address 21.97.80.253 255.255.255.0 no ip redirects no logging event subif-link-status standby PRiority 200 standby preempt standby ip 21.97.80.1 standby ip 22.97.80.1 secondary standby track Serial0 100/假如S0口的线路当掉了,该E口的优先权减小100,从而成为STANDBY状态
在LongQuan(2501)上: int e0 ip address 22.97.80.254 255.255.255.0 secondary ip address 21.97.80.254 255.255.255.0 no ip redirects no ip directed-broadcast standby priority 150 standby preempt standby ip 21.97.80.1 standby ip 22.97.80.1 secondary