display vrrp statistics

Function

The display vrrp statistics command displays the current VRRP status, configured parameters, and statistics about the sent and received VRRP Advertisement packets.

Format

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

Parameters

Parameter Description Value
interface interface-type interface-number

Specifies the type and number of an interface.

-

virtual-router-id

Specifies the ID of a VRRP group.

The value is an integer ranging from 1 to 255.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
vrrp read

Usage Guidelines

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:

  • If ifType, ifNum and virtual-id parameters are not specified, you can view information about the status of all VRRP groups on the device.
  • If only interface ifType and ifNum parameters are specified, you can view the status of all VRRP groups on the specified interface.
  • If ifType, ifNum and virtual-id parameters are specified, you can view the status of the specified VRRP group on the specified interface.

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.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display statistics about all VRRP Advertisement packets.
<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
Table 1 Description of the display vrrp statistics command output
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.

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