由于VRRP版本不一致导致vrrp状态双主

发布时间:  2013-05-28 浏览次数:  291 下载次数:  2
问题描述
版本:
ME60  V6R2C02SPC700+SPH038

组网:



故障现象:
S7806与两台ME60组网如上图,正常情况下两台ME60之间的VRRP心跳报文经过S7806转发。当打开两台ME60的子接口后,两台ME60的VRRP状态都为Master。






处理过程
1. 检查ME60和S7806配置没有发现问题。
2. 在S7806上启用vlanif 1911配置同网段IP地址也都能ping通。
3. 怀疑S7806转发心跳报文异常,在两台ME60上debug vrrp报文,见附件。
ME60-1能够正常收发vrrp报文:
<ME60-1>
Apr 27 2013 14:00:29.690.1+08:00 YL-YY-LJ-BAS-1.MAN.ME60 VRRP/7/DebugPacket:
 Eth-Trunk2.1911 | Virtual Router 225 :receiving from 10.96.124.253, priority = 100,timer = 100, auth type is no, SysUptime: (11,924250442)
 
Apr 27 2013 14:00:29.690.2+08:00 YL-YY-LJ-BAS-1.MAN.ME60 VRRP/7/DebugPacket:
 Eth-Trunk2.1911 | Virtual Router 225 :sending from 10.96.124.254, priority = 105,timer = 100, auth type is no, SysUptime: (11,924250442)
 
而备设备只抓到发送vrrp报文的消息,却统计不到收到的报文:
<ME60-2>
Apr 27 2013 14:00:28.890.1+08:00 YL-YY-XS-BAS-1.MAN.ME60 VRRP/7/DebugPacket:
 Eth-Trunk2.1911 | Virtual Router 225: sending from 10.96.124.253, priority = 100,timer = 1, auth type is no, SysUptime: (11,1355329634)
 
Apr 27 2013 14:00:29.890.1+08:00 YL-YY-XS-BAS-1.MAN.ME60 VRRP/7/DebugPacket:
 Eth-Trunk2.1911 | Virtual Router 225: sending from 10.96.124.253, priority = 100,timer = 1, auth type is no, SysUptime: (11,1355330634)

4. 在ME60-2对端交换机接口做了出流量镜像抓包,发现能够抓到ME60-1的vrrp报文,说明二层网络正常转发了vrrp报文,而这些报文没有到达备设备或被丢弃。

5. 对比两台ME60 vrrp协议版本,发现ME60-1配置VRRP V3版本,而ME60-2配置V2。至此定位问题,由于VRRP协议版本不一致导致ME60-2不识别ME60-1的vrrp通告,因此形成双主。
[ME60-1] dis vrrp protocol-information
VRRP protocol information is shown as below:
VRRP protocol version : V3
Send advertisement packet mode : send v3 only

<ME60-2>disp vrrp protocol-information                                                                              
 VRRP protocol information is shown as below:                                                                                      
    VRRP protocol version : V2                                                                                                     
    Send advertisement packet mode : send v2 only


根因
两边VRRP版本不一致
解决方案
6. 更改两边VRRP版本一致后,问题解决。


建议与总结
如无特殊需求,建议客户不用更改vrrp协议版本,默认为V2。
 <HUAWEI> system-view
[HUAWEI] vrrp version v2



END