clear counters vr

clear counters {vr} vpn-vrf-name

Description

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.

Default

N/A.

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.

Example

The following command clears the counters for VPN VRF red:

Switch.19 # clear counters vr red

History

This command was first introduced in XOS Release 15.3.

Platform Availability

This command is available on BlackDiamond8000 c-, xl-, and xm-series modules, and Summit X460, X460-G2, X480, X670, X670-G2, and X770 switches.