clear mpls oam counters
To clear MPLS OAM counters, use the clear mpls oam counters command in XR 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
XR EXEC
Command History
Release |
Modification |
---|---|
Release 5.2.1 |
This command was introduced. |
Usage Guidelines
No specific guidelines impact the use of this command.
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