< Home

display vrrp statistics

Function

The display vrrp statistics command displays the statistics about sent and received packets by the VRRP backup group.

Format

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

Parameters

Parameter Description Value

interface interface-type interface-number

Displays the status of VRRP backup groups on a specified interface.

-

virtual-router-id

Displays the status of a specified VRRP backup group.

The value is an integer ranging from 1 to 255.

statistics

Displays statistics about the packets sent and received by the VRRP backup group.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view statistics about the sent and received packets by the VRRP backup group, run the display vrrp statistics command.
  • If interface interface-type interface-number and virtual-router-id are not configured, you can view the statistics about sent and received packets of all the VRRP backup groups on the A string of 1 to 47 case-sensitive characters without any spaces..

  • If interface interface-type interface-number is configured, you can view the statistics about sent and received packets of all the VRRP backup groups on the specified interface.

  • If interface interface-type interface-number and virtual-router-id are configured, you can view the statistics about sent and received packets of the certain VRRP backup group on the specified interface.

Example

# Display statistics about the VRRP packets sent and received by GigabitEthernet 0/0/2.

<sysname> display vrrp interface GigabitEthernet 0/0/2 statistics
  GigabitEthernet 0/0/2 | Virtual Router 1
                            Transited to master : 1
                            Transited to backup : 1
                        Transited to initialize : 0
                        Received advertisements : 0
                            Sent advertisements : 1000
                  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
       Discarded packets since track admin-vrrp : 0
                     Received attacking packets : 0
                      Received selfsend packets : 0

# Display statistics about all VRRP packets.

<sysname> display vrrp statistics
   Checksum errors : 0
   Version errors : 0
   Vrid errors : 0
   Other errors : 0
  GigabitEthernet 0/0/2 | Virtual Router 1
                            Transited to master : 1
                            Transited to backup : 1
                        Transited to initialize : 0
                        Received advertisements : 0
                            Sent advertisements : 1000
                  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
       Discarded packets since track admin-vrrp : 0
                     Received attacking packets : 0
                      Received selfsend packets : 0
Table 1 Description of the display vrrp statistics command output

Item

Description

Checksum errors

Number of CRC errors

Version errors

Number of version errors

Vrid errors

Number of VRID errors

Other errors

Number of other errors

GigabitEthernet 0/0/2 | Virtual Router 1

Interface where the VRRP backup group resides and VRID

Transited to master

Number of times that the VRRP backup group on a device enters the Master state

Transited to backup

Number of times that the VRRP backup group on a device enters the Backup state

Transited to initialize

Number of times that the VRRP backup group on a device enters the Initialize state

Received advertisements

Number of received Advertisement messages

Sent advertisements

Number of sent Advertisement messages

Advertisement interval errors

Number of Advertisement messages sent at an incorrect interval

Failed to authentication check

Number of authentication failures.

Received ip ttl errors

Number of packets with TTL errors.

Received packets with priority zero

Number of received Advertisement messages with the priority as 0

Sent packets with priority zero

Number of sent Advertisement messages with the priority as 0

Received invalid type packets

Number of received VRRP packets of invalid type

Received unmatched address list packets

Number of packets with incorrect virtual IP address lists

Mismatched authentication type

Number of invalid authentication packets

Unknown authentication type packets

Number of packets with mismatching authentication types

Packet length errors

Number of packets of incorrect length

Discarded packets since track admin-vrrp

Number of packets discarded after the member VRRP backup group is bound to the mVRRP backup group

Received attacking packets

Number of attack packets

Received selfsend packets

Number of the received packets that were sent by the same device

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >