track 100 interface f0/1 line-protocol
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
vrrp 1 ip 192.168.0.244
vrrp 1 priority 120
vrrp 1 preempt
vrrp 1 authentication md5 key-string cisco
vrrp 1 track 100 decrement 30 ----VRRP的端口跟踪和HSRP有些不同,需要在全局配置模式下,先定义跟踪目标,才配置VRRP中跟踪该目标,这里定义目标100是f0/1接口
show vrrp brief ----查看活动状态
阅读(419) | 评论(0) | 转发(0) |