hsrp:为思科独有协议
vrrp:公共协议
7.配置track,跟踪外网端口状态,但外网down掉,则自降优先级
活跃路由:
int f0/x
standby 1 ip xxxxxxx-------将网关添加到组,这时网关为虚拟网关
standby 1 priority 200-------配置优先级
standby 1 preempt-------配置占先权
standby 1 track f0/x-----配置监听端口
备份路由:
standby 1 ip xxxxxx
standby 1 priority xxx
standby 1 preempt
如果只有一个活跃路由和备份路由则没有必要在配置监听端口
show stadby-------查看hsrp的配置信息