clear mpls oam counters
To clear MPLS OAM counters, use the clear mpls oam counters command in EXEC mode.
clear mpls oam counters { global | interface [ type interface-path-id ] | packet }
Syntax Description
global |
Clears global counters. |
||
interface |
Clears counters on a specified interface. |
||
type |
Interface type. For more information, use the question mark (? ) online help function. |
||
interface-path-id |
Physical interface or virtual interface.
For more information about the syntax for the router, use the question mark (? ) online help function. |
||
packet |
Clears global packet counters. |
Command Default
No default behavior or values
Command Modes
EXEC
Command History
Release |
Modification |
---|---|
Release 3.3.0 |
This command was introduced. |
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
Task ID
Task ID |
Operations |
---|---|
mpls-te |
execute |
mpls-ldp |
execute |
mpls-static |
execute |
Examples
The following example shows how to clear all global MPLS OAM counters:
RP/0/RP0/CPU0:router# clear mpls oam counters global