clear controllers npu packet-latency instance
To manually clear the cumulative packet count in the latency histogram bin for all Traffic Class (TC) or each TC since either system bootup or the last clear, use the clear controllers npu packet-latency instance command in the XR EXEC mode.
clear controllers npu packet-latency instance instance-id { location node-id | slice slice-id IFG interface-group-id traffic-class traffic-class-id location node-id }
Syntax Description
instance instance-id |
Clears the information of all the slice, Inter-Frame Gap (IFG), and TC in the specific instance. |
slice slice-id |
Clears the information of a specific slice id, ranging from 0-7. |
IFG interface-group-id |
Clears the information of a specific interface group id, ranging from 0-1. |
traffic-class traffic-class-id |
Clears the information of a specific traffic class id, ranging from 0-7. |
location node-id |
Clears the information of a specific node. The node-id argument is entered in the rack/slot/module notation. |
Command Default
None
Command Modes
XR EXEC modeCommand History
Release |
Modification |
---|---|
Release 25.3.1 |
This command was introduced. |
Usage Guidelines
No specific guidelines impact the use of this command.
Task ID
Task ID |
Operations |
---|---|
interface |
read |
filesystem |
read, write |
cisco-support |
read |
The clear controllers npu packet-latency instance command manually clears the cumulative packet count in the latency histogram bin for all TC or each TC since either system bootup or the last clear.
Below command manually clears the cumulative packet count in the latency histogram bin of all TC on slice 2, IFG 1, and location 0/2/CPU0 since either system bootup or the last clear:
Router# clear controller npu packet-latency instance 0 slice 2 ifg 1 location 0/2/CPU0
Below command manually clears the cumulative packet count in the latency histogram bin of a specific TC 6 on slice 2, IFG 1, and location 0/2/CPU0 since either system bootup or the last clear.
Router# clear controller npu packet-latency instance 0 slice 2 ifg 1 traffic-class 6 location 0/2/CPU0
Below command manually clears the cumulative packet count in the latency histogram bin of a specific location 0/2/CPU0:
Router# clear controller npu packet-latency instance 0 location 0/2/CPU0