IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

PDF

IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

VRRP statistics

Want to summarize with AI?

Log in

This topic describes the VRRP statistics that you can view or clear for one or all VRRP groups or Virtual Router IDs (VRIDs) to monitor VRRP health and debug VRRP issues.


You can view or clear statistics of one or all Virtual Router Redundancy Protocol (VRRP) groups or Virtual Router IDs (VRIDs). This information helps you monitor VRRP health in the routers. It is also helpful in debugging VRRP issues like packet exchange failures when all virtual routers in the VRRP topology function as backup virtual routers and there is no IP address owner.

Table 1. Feature History Table

Feature Name

Release Information

Feature Description

View VRRP statistics in Router

Release 25.4.1

Introduced in this release on: Fixed Systems (8010 [ASIC: A100])(select variants only*)

This feature is supported on:

  • 8011-32Y8L2H2FH

  • 8011-12G12X4Y-A/D

View VRRP statistics in Router

Release 25.1.1

Introduced in this release on: Fixed Systems (8010 [ASIC: A100])(select variants only*)

*This feature is supported on Cisco 8011-4G24Y4H-I routers.

View VRRP statistics in Router

Release 24.4.1

Introduced in this release on: Fixed Systems (8200 [ASIC: P100], 8700 [ASIC: P100, K100])(select variants only*); Modular Systems (8800 [LC ASIC: P100])(select variants only*)

*This feature is supported on:

  • 8212-48FH-M

  • 8711-32FH-M

  • 8712-MOD-M

  • 88-LC1-36EH

  • 88-LC1-12TH24FH-E

  • 88-LC1-52Y8H-EM

View VRRP statistics in Router

Release 7.9.1

With this feature, you can view or clear statistics of one or all Virtual Router Redundancy Protocol (VRRP) groups or Virtual Router IDs (VRIDs). This information helps you monitor VRRP health in the routers. It is also helpful in debugging VRRP issues like packet exchange failures when all virtual routers in the VRRP topology function as backup virtual routers and there is no IP address owner.

This feature introduces the following commands:


View VRRP statistics

Use this procedure to view statistics of one or all Virtual Router Redundancy Protocol (VRRP) virtual routers.

Procedure

Display VRRP statistics by using the show vrrp statistics command.

Example:

Router# show vrrp statistics
Invalid packets:
  Invalid checksum:                     0
  Unknown/unsupported versions:         3
  Invalid vrID:                         1
  Too short:                            7
Protocol:
  Transitions to Master                 4
Packets:
  Total received:                       54
  Adverts sent:                         0
  Bad TTL:                              0
  Short Packets:                        6
  Failed authentication:                0
  Unknown authentication:               2
  Conflicting authentication:           0
  Unknown Type field:                   1
  Conflicting Advertise time:           0
  Conflicting Addresses:                0
  Received with zero priority:          9
  Sent with zero priority:              0

You have successfully viewed the VRRP statistics.


Clear VRRP statistics

Use this procedure to clear the Virtual Router Redundancy Protocol (VRRP) statistics and verify that the counters have been reset to zero.

Procedure

  1. Clear the VRRP statistics by using the clear vrrp statistics command.

    Example:

    Router# clear vrrp statistics
  2. Verify that the statistics are reset by using the show vrrp statistics command.

    Example:

    Router# show vrrp statistics
    Invalid packets:
      Invalid checksum:                     0
      Unknown/unsupported versions:         0
      Invalid vrID:                         0
      Too short:                            0
    Protocol:
      Transitions to Master                 0
    Packets:
      Total received:                       0
      Adverts sent:                         0
      Bad TTL:                              0
      Short Packets:                        0
      Failed authentication:                0
      Unknown authentication:               0
      Conflicting authentication:           0
      Unknown Type field:                   0
      Conflicting Advertise time:           0
      Conflicting Addresses:                0
      Received with zero priority:          0
      Sent with zero priority:              0

    You have successfully cleared the VRRP statistics.