某银行MSR3011和MSR3600对接VRRP不成功处理经验案例
关键词:
?
VRRP
作者:俞瑽 2017年9月22日发布
?
? 1 推荐,233 浏览
?
? 2收藏, 我的收藏
问题现象
代理商来电反馈,现场两台路由器MSR3011(Release 1910L03)、msr3600(Release 0605P13)对接VRRP不成功。收到反馈后,我们迅速对该问题进行分析。
原因分析
一、查看配置 MSR3011配置:
#
interface Vlan-interface2
ip address 10.176.8.137 255.255.255.240 vrrp vrid 10 virtual-ip 10.176.8.136
vrrp vrid 10 preempt-mode timer delay 5 vrrp vrid 10 timer advertise 10
vrrp vrid 10 track interface Ethernet0/1 #
MSR3600配置:
#
interface Vlan-interface2
ip address 10.176.8.142 255.255.255.240 vrrp vrid 10 virtual-ip 10.176.8.136 vrrp vrid 10 timer advertise 10 vrrp vrid 10 priority 110
vrrp vrid 10 preempt-mode delay 5 #
查看手册确认,V7路由器的默认使用VRRPv3版本,V5路由器默认使用VRRPv2版本。在MSR3600上配置vrrp version 2,将两端版本改成一致。代理反馈修改完后,VRRP还是建立不成功。查看配置暂时没有问题。 二、收集debugging信息 MSR3011debugging信息:
%Aug 23 16:45:01:021 2017 R_WH_WL_H3011-02 VRRP/5/VRRP_CONFIG_ERROR: The IPv4 virtual router 10 (configured on Vlan-interface2) detected a VRRP configuration error: ADVERTISEMENT INTERVAL ERROR.
%Aug 23 16:45:11:019 2017 R_WH_WL_H3011-02 VRRP/5/VRRP_CONFIG_ERROR: The IPv4 virtual router 10 (configured on Vlan-interface2) detected a VRRP configuration error: ADVERTISEMENT INTERVAL ERROR. MSR3600 debugging信息:
%Jan 6 07:16:49:432 2011 R_WH_WL_H3600-01 VRRP4/6/VRRP_CONFIG_ERROR: The IPv4 virtual router 10 (configured on Vlan-interface2) detected a VRRP configuration error: Advertisement interval error.
%Jan 6 07:16:59:433 2011 R_WH_WL_H3600-01 VRRP4/6/VRRP_CONFIG_ERROR: The IPv4 virtual router 10 (configured on Vlan-interface2) detected a VRRP configuration error: Advertisement interval error.
两边设备debugging都显示VRRP通告时间配置错误。两侧timer advertise 都配为10,为什么会出现通告时间错误呢?
interface Vlan-interface2
ip address 10.176.8.137 255.255.255.240 vrrp vrid 10 virtual-ip 10.176.8.136
vrrp vrid 10 preempt-mode timer delay 5 vrrp vrid 10 timer advertise 10
vrrp vrid 10 track interface Ethernet0/1 interface Vlan-interface2
ip address 10.176.8.142 255.255.255.240 vrrp vrid 10 virtual-ip 10.176.8.136 vrrp vrid 10 timer advertise 10 vrrp vrid 10 priority 110
vrrp vrid 10 preempt-mode delay 5
查看具体命令手册后确认,V5 V7 VRRP timer advertise命令的单位是不同的。(V5缺省是秒,而V7缺省是厘秒) V5:
V7:
解决办法
保持MSR3011配置不变,在MSR3600侧配置vrrp vrid 10 timer advertise 1000,即通告时间为1000厘秒(10秒)后解决。
建议与总结
在处理V5 V7设备对接问题时,需要确认配置命令的缺省值、缺省单位等,通过debugging信息有助于我们更快的定位问题。
某银行MSR3011和MSR3600对接VRRP不成功处理经验案例
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)
![](/skin/haowen/images/icon_star.png)