HSRP简单说明

HSRP:热备份路由器协议(HSRP:Hot Standby Router Protocol)

一主【主动路由器(Active Router)】
一从【备份路由器(Standby Routers)】
指定一个虚拟的 IP 地址作为网络系统的缺省网关地址
HSRP 运行在 UDP 上,采用端口号1985

过程
1.  hello消息通知其他路由器发送路由器的HSRP优先级和状态信息,HSRP路由器默认为每3秒钟发送一个hello消息
2.  当一个备用路由器变为一个主动路由器时发送一个coup消息
3.  当主动路由器要宕机或者当有优先级更高的路由器发送hello消息时,主动路由器发送一个resign消息

说明(在网卡int中,或者vlan的int中配置)
standby ip ********* 设置hsrp虚拟网关地址
standby 组号 preempt 抢占(主从变化协议)
standby 组号 priority 值(值越大权重越高)(0-255)
standby:为下一任active的候选者,并定期发送hello消息
standby timers hello值 hold值 (hello是hello的发送时间,hold是hello的反应时间)
standby 组号 track int 号 值  跟踪网卡信息
standby authentication ***  配置hsrp认证明文密码

猜你喜欢

转载自leovlys.iteye.com/blog/1109590