display vrrp statistics

Use display vrrp statistics to display statistics for IPv4 VRRP groups.

Syntax

display vrrp statistics [ interface interface-type interface-number [ vrid virtual-router-id ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an interface by its type and number.

vrid virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.

Usage guidelines

You can use the reset vrrp statistics command to clear statistics for IPv4 VRRP groups.

Examples

# Display statistics for all IPv4 VRRP groups when VRRP operates in standard mode.

<Sysname> display vrrp statistics
 Interface               : Vlan-interface2
 VRID                    : 1
 CheckSum Errors         : 0          Version Errors                : 0
 Invalid Pkts Rcvd  :      0          Unexpected Pkts Rcvd          : 0
 IP TTL Errors           : 0          Advertisement Interval Errors : 0
 Invalid Auth Type       : 0          Auth Failures                 : 0
 Packet Length Errors    : 0          Auth Type Mismatch            : 0
 Become Master           : 1          Address List Errors           : 0
 Adver Rcvd              : 0          Priority Zero Pkts Rcvd       : 0
 Adver Sent              : 807        Priority Zero Pkts Sent       : 0

 Global statistics
 CheckSum Errors         : 0
 Version Errors          : 0
 VRID Errors             : 0

# Display statistics for all IPv4 VRRP groups when VRRP operates in load balancing mode.

<Sysname> display vrrp statistics
 Interface               : Vlan-interface2
 VRID                    : 1
 CheckSum Errors         : 0          Version Errors                : 0
 Invalid Pkts Rcvd       : 0          Unexpected Pkts Rcvd          : 0
 IP TTL Errors           : 0          Advertisement Interval Errors : 0
 Invalid Auth Type       : 0          Auth Failures                 : 0
 Packet Length Errors    : 0          Auth Type Mismatch            : 0
 Become Master           : 39         Address List Errors           : 0
 Become AVF              : 13         Packet Option Errors          : 0
 Adver Rcvd              : 2562       Priority Zero Pkts Rcvd       : 1 
 Adver Sent              : 16373      Priority Zero Pkts Sent       : 49
 Request Rcvd            : 2          Reply Rcvd                    : 10
 Request Sent            : 12         Reply Sent                    : 2 
 Release Rcvd            : 0          VF Priority Zero Pkts Rcvd    : 1 
 Release Sent            : 0          VF Priority Zero Pkts Sent    : 11
 Redirect Timer Expires  : 1          Time-out Timer Expires        : 0

 Global statistics
 CheckSum Errors         : 0
 Version Errors          : 0
 VRID Errors             : 0

Table 36: Command output (in standard mode)

Field

Description

Interface

Interface where the VRRP group is configured.

VRID

VRRP group number.

CheckSum Errors

Number of packets with checksum errors.

Version Errors

Number of packets with version errors.

Invalid Pkts Rcvd

Number of received packets of invalid packet types.

Unexpected Pkts Rcvd

Number of received unexpected packets.

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 router priority of 0.

Adver Rcvd

Number of received advertisements.

Priority Zero Pkts Sent

Number of sent advertisements with the router priority of 0.

Adver Sent

Number of sent advertisements.

Global statistics

Global statistics for 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 37: Command output (in load balancing mode)

Field

Description

Interface

Interface where the VRRP group is configured.

VRID

VRRP group number.

CheckSum Errors

Number of packets with checksum errors.

Version Errors

Number of packets with version errors.

Invalid Pkts Rcvd

Number of received packets of invalid packet types.

Unexpected Pkts Rcvd

Number of received unexpected packets.

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 expired.

Become AVF

Number of times that the VF elected as the AVF.

Time-out Timer Expires

Number of times that the time-out timer expired.

Adver Rcvd

Number of received advertisements.

Request Rcvd

Number of received requests.

Adver Sent

Number of sent advertisements.

Request Sent

Number of sent requests.

Reply Rcvd

Number of received replies.

Release Rcvd

Number of received release packets.

Reply Sent

Number of sent replies.

Release Sent

Number of sent release packets.

Priority Zero Pkts Rcvd

Number of received advertisements with the router 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 router priority of 0.

VF Priority Zero Pkts Sent

Number of sent advertisements with the VF priority of 0.

Packet Option Errors

Number of packet option errors.

Global statistics

Global statistics for all IPv4 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.

Related commands

reset vrrp statistics