display vrrp statistics
Syntax
display vrrp statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
interface interface-type interface-number: Displays VRRP group statistics of the specified interface. interface-type interface-number specifies an interface by its type and number.
vrid virtual-router-id: Displays statistics of the specified VRRP group. virtual-router-id specifies a VRRP group by its group number, which ranges from 1 to 255.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display vrrp statistics to display statistics about VRRP groups.
If you specify both an interface and a VRRP group, the command only displays the statistics about the specified VRRP group on the interface. If you only specify an interface, the command displays the statistics about all VRRP groups on the interface. If you specify neither, the command displays the statistics about all VRRP groups on the router.
To clear the VRRP group statistics, use the reset vrrp statistics command.
Related commands: reset vrrp statistics.
Examples
# When VRRP operates in standard protocol mode, display the statistics about all VRRP groups.
<Sysname> display vrrp statistics Interface : Vlan-interface2 VRID : 1 CheckSum Errors : 0 Version Errors : 0 Invalid Type Pkts Rcvd : 0 Advertisement Interval Errors : 0 IP TTL Errors : 0 Auth Failures : 0 Invalid Auth Type : 0 Auth Type Mismatch : 0 Packet Length Errors : 0 Address List Errors : 0 Become Master : 1 Priority Zero Pkts Rcvd : 0 Adver Rcvd : 0 Priority Zero Pkts Sent : 0 Adver Sent : 807 Global statistics CheckSum Errors : 0 Version Errors : 0 VRID Errors : 0
# When VRRP operates in load balancing mode, display the statistics about all VRRP groups.
<Sysname> display vrrp statistics Interface : Vlan-interface2 VRID : 1 CheckSum Errors : 0 Version Errors : 0 Invalid Type Pkts Rcvd : 0 Advertisement Interval Errors : 0 IP TTL Errors : 0 Auth Failures : 0 Invalid Auth Type : 0 Auth Type Mismatch : 0 Packet Length Errors : 0 Address List Errors : 0 Become Master : 2 Redirect Timer Expires : 0 Become AVF : 1 Time-out Timer Expires : 0 Adver Rcvd : 0 Request Rcvd : 0 Adver Sent : 1460 Request Sent : 1 Reply Rcvd : 0 Release Rcvd : 0 Reply Sent : 0 Release Sent : 0 Priority Zero Pkts Rcvd : 0 VF Priority Zero Pkts Rcvd : 0 Priority Zero Pkts Sent : 1 VF Priority Zero Pkts Sent : 0 Status Option Errors : 0 Global statistics CheckSum Errors : 0 Version Errors : 0 VRID Errors : 0
Table 32: Command output (Standard protocol mode)
Field | Description |
---|---|
Interface | Interface to which the VRRP group belongs |
VRID | Serial number of the VRRP group |
CheckSum Errors | Number of packets with checksum errors |
Version Errors | Number of packets with version errors |
Invalid Type Pkts Rcvd | Number of packets with incorrect packet type |
Advertisement Interval Errors | Number of packets with advertisement interval errors |
IP TTL Errors | Number of packets with TTL errors |
Auth Failures | Number of packets with authentication failures |
Invalid Auth Type | Number of packets with authentication failures because of invalid authentication types |
Auth Type Mismatch | Number of packets with authentication failures because of mismatching authentication types |
Packet Length Errors | Number of packets with VRRP packet length errors |
Address List Errors | Number of packets with virtual IP address list errors |
Become Master | Number of times that the router elected as the master |
Priority Zero Pkts Rcvd | Number of received advertisements with the priority of 0 |
Advertise Rcvd | Number of received advertisements |
Priority Zero Pkts Sent | Number of sent advertisements with the priority of 0 |
Advertise Sent | Number of advertisements sent |
Global statistics | Global statistics about all VRRP groups |
CheckSum Errors | Total number of packets with checksum errors |
Version Errors | Total number of packets with version errors |
VRID Errors | Total number of packets with VRID errors |
Table 33: Command output (Load balancing mode)
Field | Description |
---|---|
Interface | Interface to which the VRRP group belongs |
VRID | Serial number of the VRRP group |
CheckSum Errors | Number of packets with checksum errors |
Version Errors | Number of packets with version errors |
Invalid Type Pkts Rcvd | Number of packets with incorrect packet type |
Advertisement Interval Errors | Number of packets with advertisement interval errors |
IP TTL Errors | Number of packets with TTL errors |
Auth Failures | Number of packets with authentication failures |
Invalid Auth Type | Number of packets with authentication failures because of invalid authentication types |
Auth Type Mismatch | Number of packets with authentication failures because of mismatching authentication types |
Packet Length Errors | Number of packets with VRRP packet length errors |
Address List Errors | Number of packets with virtual IP address list errors |
Become Master | Number of times that the router elected as the master |
Redirect Timer Expires | Number of times that the redirect timer expires |
Become AVF | Number of times that the VF worked as the AVF |
Time-out Timer Expires | Number of times that the timeout timer expires |
Advertise Rcvd | Number of received advertisements |
Request Rcvd | Number of received requests |
Advertise Sent | Number of advertisements sent |
Request Sent | Number of requests sent |
Reply Rcvd | Number of received replies |
Release Rcvd | Number of received releases |
Reply Sent | Number of replies sent |
Release Sent | Number of releases sent |
Priority Zero Pkts Rcvd | Number of received advertisements with the priority of 0 |
VF Priority Zero Pkts Rcvd | Number of received advertisements with the VF priority of 0 |
Priority Zero Pkts Sent | Number of sent advertisements with the priority of 0 |
VF Priority Zero Pkts Sent | Number of sent advertisements with the VF priority of 0 |
Status Option Errors | Number of times that the status option errors |
Global statistics | Global statistics about all VRRP groups |
CheckSum Errors | Total number of packets with checksum errors |
Version Errors | Total number of packets with version errors |
VRID Errors | Total number of packets with VRID errors |