The display vrrp statistics command displays the current VRRP status, configured parameters, and statistics about the sent and received VRRP Advertisement packets.
Usage Scenario
After a VRRP group is configured, to view statistics about the received and sent VRRP Advertisement packets, run the display vrrp statistics command with the following parameters as required:
Precautions
It is recommended that you run the reset vrrp statistics command to clear statistics about the received and sent VRRP Advertisement packets before you collect statistics within a specified period.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display vrrp statistics GigabitEthernet0/1/21 statistics information : IP protocol number errors : 0 Destination IP address errors : 0 Checksum errors : 0 Version errors : 0 Vrid errors : 0 GigabitEthernet0/1/21 | virtual router 1 Transited to master : 1 Sent advertisements : 8 Received advertisements : 0 Advertisement interval errors : 0 Failed to authentication check : 0 Received IP TTL errors : 0 Received packets with priority zero : 0 Sent packets with priority zero : 0 Received invalid type packets : 0 Received unmatched address list packets : 0 Unknown authentication type packets : 0 Mismatched authentication type : 0 Packet length errors : 0 Received packets vrrp master self sent : 0 Received attack packets : 0 Failed to learn advertisement interval : 0
Item | Description |
---|---|
statistics information | Statistics about the VRRP group on the interface. |
IP protocol number errors | Number of packets with an incorrect IP protocol number. |
Destination IP address errors | Number of packets with an incorrect destination IP address. |
Checksum errors | Number of packets with an incorrect checksum. |
Version errors | Number of packets with an incorrect version number. |
Vrid errors | Number of packets with an incorrect VRRP group ID. |
Transited to master | Number of times that the device switches to the Master state. |
Sent advertisements | Number of sent VRRP Advertisement packets. |
Sent packets with priority zero | Number of sent VRRP Advertisement packets with a priority of 0. |
Received advertisements | Number of received VRRP Advertisement packets. |
Received IP TTL errors | Number of packets with an incorrect TTL. |
Received packets with priority zero | Number of received VRRP Advertisement packets with a priority of 0. |
Received invalid type packets | Number of received invalid VRRP Advertisement packets. |
Received unmatched address list packets | Number of packets with an incorrect virtual IP address list. |
Received packets vrrp master self sent | Number of received packets that the master device sends by itself. |
Received attack packets | Received attack packets: number of received attack packets. |
Advertisement interval errors | Number of VRRP Advertisement packets sent at an incorrect interval. |
Failed to authentication check | Number of authentication errors. |
Failed to learn advertisement interval | Failed to learn advertisement interval: number of failures to learn the interval at which packets are sent. |
Unknown authentication type packets | Number of packets with an unknown authentication type. |
Mismatched authentication type | Number of packets with an invalid authentication type. |
Packet length errors | Number of packets with an incorrect length. |
virtual router 1 | Interface on which the VRRP group is configured and ID of the VRRP group. |