直接在面相PC或交换机的端口配置命令
vrrp vrid 1 virtual-ip 192.168.1.1 将端口虚拟成此地址
Vrrp vrid 1 priority 120 更改vvrp的优先级
vrrp vrid 1 track interface GigabitEthernet 0/0/0 reduced 30 惩罚值如果G0/0/0端口失效则降低30个优先级
vrrp vrid 1 preempt-mode timer delay 20 抢占master的时延
优先级值越大越优先,备份网关可以不用配置惩罚值
来源:CSDN
作者:qq_45669879
链接:https://blog.csdn.net/qq_45669879/article/details/103647026