Viewing the "near-failovers" statistic
The "near failovers" statistic tracks occurrences of near failovers on the backup VRRP routers. This makes visible any difficulties the VRRP routers are having receiving the "heartbeat" advertisement from the master router. (A "near failover" is one that is within one missed VRRP advertisement packet of beginning the master determination process.)
The show vrrp
or show vrrp ipv6 statistics
command displays this statistic.
Example Output
The show vrrp command with statistics
Near Failovers statistic displayed is shown in bold below.
switch(config)# show vrrp VRRP Global Statistics Information VRRP Enabled : Yes Invalid VRID Pkts Rx : 0 Checksum Error Pkts Rx : 0 Bad Version Pkts Rx : 0 Virtual Routers Respond to Ping Requests : No VRRP Virtual Router Statistics Information Vlan ID : 22 Virtual Router ID : 1 Protocol Version : 2 State : Initialize Up Time : 64 mins Virtual MAC Address : 00005e-000101 Master's IP Address : 10.10.20.2 Associated IP Addr Count : 1 Near Failovers : 0 Advertise Pkts Rx : 0 Become Master : 0 Zero Priority Rx : 0 Zero Priority Tx : 0 Bad Length Pkts : 0 Bad Type Pkts : 0 Mismatched Interval Pkts : 0 Mismatched Addr List Pkts : 0 Mismatched IP TTL Pkts : 0 Mismatched Auth Type Pkts : 0
The show vrrp ipv6 statistics command
switch# show vrrp ipv6 statistics VRRP Global Statistics Information VRRP Enabled : Yes Invalid VRID Pkts Rx : 0 Checksum Error Pkts Rx : 0 Bad Version Pkts Rx : 0 Virtual Routers Respond To Ping Requests : Yes VRRP Virtual Router Statistics Information VLAN ID : 10 Virtual Router ID : 1 Protocol Version : 3 State : Master Up Time : 26 mins Virtual MAC Address : 00005e-000101 Master's IP Address : 2130::21 Associated IP Addr Count : 1 Near Failovers : 0 Advertise Pkts Rx : 0 Become Master : 1 Zero Priority Rx : 0 Zero Priority Tx : 0 Bad Length Pkts : 0 Bad Type Pkts : 0 Mismatched Interval Pkts : 0 Mismatched Addr List Pkts : 0 Mismatched IP TTL Pkts : 0 Mismatched Auth Type Pkts : 0