clear mpls forwarding counters
To clear (set to zero) the MPLS forwarding counters, use the clear mpls forwarding counters command in EXEC mode.
clear mpls forwarding counters
Syntax Description
This command has no arguments or keywords.
Command Default
No default behavior or values
Command Modes
EXEC
Command History
Release |
Modification |
---|---|
Release 2.0 |
This command was introduced . |
Release 3.0 |
No modification. |
Release 3.2 |
No modification. |
Release 3.3.0 |
No 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.8.0 |
No modification. |
Release 3.9.0 |
No modification. |
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-te |
read, write |
mpls-ldp |
read, write |
mpls-static |
read, write |
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.1.2.3 16762
RP/0/RP0/CPU0:router# clear mpls forwarding 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.1.2.3 17000