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

mdc-admin

mdc-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

Table 20: 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.

Related commands

reset vrrp statistics