clear mpls oam counters
To clear MPLS OAM counters, use the clear mpls oam counters command in EXEC modeXR 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
EXECXR EXEC
Command History
Release |
Modification |
---|---|
Release 3.4.0 |
No modification. |
Release 3.5.0 |
No modification. |
Release 3.6.0 |
No modification. |
Release 3.7.0 |
No modification. |
Release 3.7.2 |
This command was introduced. |
Release 3.8.0 |
No modification. |
Release 3.9.0 |
No modification. |
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/RP0RSP0/CPU0:router:hostname# clear mpls oam counters global