热备份路由器协议HSRP
switch(config-if)#standby 10 ip 192.168.1.1 配置虚拟路由ip
switch(config-if)#standby 10 priority 200 配置HSRP的优先级
switch(config-if)#standby 10 preempt 配置HSRP的占先权
switch(config-if)#standby 10 track fastethernet0/1 100 配置HSRP的端口跟踪
转载于:https://blog.51cto.com/zuoshou/1297597