7.0HSRP协议

热备份

R4

int f0/0.1
standby 1 ip 192.168.1.100

R5

int f0/0.1
standby 1 ip 192.168.1.100 
do show standby brief

通过调整优先级,手动指定主

standby 1 priority 101

配置抢占模式

int f0/0/1
standby 1 preempt

检测外接口,当外接口有问题,优先级减2

standby 1 track f1/0 2
ping 6.6.6.6 repeat 1000

主设置

int f0/0.2
standby 2 ip 192.168.2.100
standby 2 priority 101
standby 2 preemt
standby 2 track f1/0 2
show standby brief

Last updated

Was this helpful?