clear counters vr

clear counters {vr} vpn-vrf-name


Clears statistics information for a VPN Virtual Routing and Forwarding instance (VPN VRF).

Syntax Description

vpn-vrf-name Specifies the name of a VPN VRF.



Usage Guidelines

This command can help to debug control path issues for a VPN VRF. Issuing a global XOS “clear counter” command will also clear VRF counters. This command clears the following counters:
  • Route add operation count.

  • Route delete operation count.

  • Routes dropped count.

This command is supported only on VPN VRFs.


The following command clears the counters for VPN VRF red:

Switch.19 # clear counters vr red


This command was first introduced in XOS Release 15.3.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.