clear nsr ncd client
To clear the counters of a specified client or all the clients of nonstop routing (NSR) Consumer Demuxer (NCD), use the clear nsr ncd client command in XR EXEC mode.
clear nsr ncd client { PID value | all } [ location node-id ]
Syntax Description
PID value |
Process ID value of the client in which counters need to be cleared. The range is from 0 to 4294967295. |
all |
Clears the counters for all NCD clients. |
location node-id |
(Optional) Displays information for the designated node. The node-id argument is entered in the rack/slot/module notation. |
Command Default
The default value for the node-id argument is the current node in which the command is being executed. The PID value argument does not have a default value.
Command Modes
XR EXEC modeCommand History
Release |
Modification |
---|---|
Release 6.0 |
This command was introduced. |
Usage Guidelines
The location keyword is used so that active and standby TCP instances are independently queried.
The active and standby instances of some NSR-capable applications communicate through two queues, and these applications are multiplexed onto these queues. NSR consumer demuxer (NCD) is a process that provides the demuxing services on the receiver side.
You can use the clear nsr ncd client command to troubleshoot traffic issues. If you clear the existing counters, it can help you to monitor the delta changes.
Task ID
Task ID |
Operations |
---|---|
transport |
execute |
The following example shows how to clear all the counters for all NCD clients:
RP/0/RP0/CPU0:router# clear nsr ncd client all
RP/0/RP0/CPU0:router# show nsr ncd client all
Client PID : 3874979
Client Protocol : TCP
Client Instance : 1
Total packets received : 0
Total acks received : 0
Total packets/acks accepted : 0
Errors in changing packet ownership : 0
Errors in setting application offset : 0
Errors in enqueuing to client : 0
Time of last clear : Sun Jun 10 14:43:44 20
RP/0/RP0/CPU0:router# show nsr ncd client brief
Total Total Accepted
Pid Protocol Instance Packets Acks Packets/Acks
3874979 TCP 1 0 0 0