clear mpls forwarding counters
To clear (set to zero) the MPLS forwarding counters, use the clear mpls forwarding counters command in XR EXEC mode.
clear mpls forwarding counters
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values
Command Modes
XR EXEC mode
Command History
Release |
Modification |
---|---|
Release 6.0 |
This command was introduced. |
Usage Guidelines
Use the clear mpls forwarding counters command to set all MPLS forwarding counters to zero so that you can easily see the future changes.
Task ID
Task ID |
Operations |
---|---|
mpls-ldp |
read, write |
mpls-static |
read, write |
Examples
This a test.
Examples
The following example shows sample output before and after clearing all counters:
RP/0/RP0/CPU0:router# show mpls forwarding
Local Outgoing Prefix Outgoing Next Hop Bytes T
Label Label or ID Interface Switched O
----- -------- ------------- ---------- ------------ --------- -
18 Exp-Null-v4 33.33.33.33/32 PO0/2/0/0 10.20.2.3 17000
RP/0/RP0/CPU0:router# show mpls forwarding
Local Outgoing Prefix Outgoing Next Hop Bytes T
Label Label or ID Interface Switched O
----- -------- ------------- ---------- ------------ --------- -
18 Exp-Null-v4 33.33.33.33/32 PO0/2/0/0 10.20.2.3 16762
RP/0/RP0/CPU0:router# clear mpls forwarding counters