问题描述
告警信息
Jun 21 2017 10:41:36 HX-1 %%01VRRP/4/STATEWARNINGEXTEND(l)[0]:Virtual Router state BACKUP changed to MASTER, because of protocol timer expired. (Interface=Vlanif34, VrId=34, InetType=IPv4)
Jun 21 2017 10:41:32 HX-1 %%01VRRP/4/STATEWARNINGEXTEND(l)[1]:Virtual Router state MASTER changed to BACKUP, because of priority calculation. (Interface=Vlanif34, VrId=34, InetType=IPv4)
Jun 21 2017 10:41:19 HX-1 %%01VRRP/4/STATEWARNINGEXTEND(l)[2]:Virtual Router state BACKUP changed to MASTER, because of protocol timer expired. (Interface=Vlanif2, VrId=2, InetType=IPv4)
Jun 21 2017 10:41:16 HX-1 %%01VRRP/4/STATEWARNINGEXTEND(l)[3]:Virtual Router state MASTER changed to BACKUP, because of priority calculation. (Interface=Vlanif2, VrId=2, InetType=IPv4)
#Jun 21 2017 10:43:30 HX-1 VRRP/2/VRRPV3CHANGETOMASTER:OID 1.3.6.1.2.1.207.0.1 The status of VRRP changed to master. (VrrpIfIndex=108, VrId=2, InetAddrType=1, IPAddress=10.57.4.253, ChangeReason=3)
#Jun 21 2017 10:43:30 HX-1 VRRP/2/VRRPCHANGETOMASTER:OID 1.3.6.1.2.1.68.0.1 The status of VRRP changed to master. (VrrpIfIndex=108, VrId=2, IfIndex=108, IPAddress=10.57.4.253, NodeName=HX-1, IfName=Vlanif2, ChangeReason=protocol timer expired)
#Jun 21 2017 10:43:30 HX-1 VRRP/2/VRRPV3CHANGETOMASTER:OID 1.3.6.1.2.1.207.0.1 The status of VRRP changed to master. (VrrpIfIndex=123, VrId=50, InetAddrType=1, IPAddress=172.16.50.253, ChangeReason=3)
#Jun 21 2017 10:43:30 HX-1 VRRP/2/VRRPCHANGETOMASTER:OID 1.3.6.1.2.1.68.0.1 The status of VRRP changed to master. (VrrpIfIndex=123, VrId=50, IfIndex=123, IPAddress=172.16.50.253, NodeName=HX-1, IfName=Vlanif50, ChangeReason=protocol timer expired)
#Jun 21 2017 10:43:27 HX-1 VRRP/2/VRRPMASTERDOWN:OID 1.3.6.1.4.1.2011.5.25.127.2.30.1 The state of VRRP changed from master to other state. (VrrpIfIndex=108, VrId=2, IfIndex=108, IPAddress=10.57.4.253, NodeName=HX-1, IfName=Vlanif2, CurrentState=2, ChangeReason=priority calculation)
处理过程
根因
环路导致vrrp的协议报文全部cpu-defend丢弃,导致心跳超时vrrp双主;