clear raw statistics pcb
To clear statistics for a single RAW connection or for all RAW connections, use the clear raw statistics pcb command in XR EXEC mode.
clear raw statistics pcb {all | pcb-address} [location node-id]
Syntax Description
all |
Clears statistics for all RAW connections. |
pcb-address |
Clears statistics for a specific RAW connection. |
location node-id |
(Optional) Clears statistics for the designated node. The node-id argument is entered in the rack/slot/module notation. |
Command Default
No default behavior or values
Command Modes
XR EXEC modeCommand History
Release |
Modification |
---|---|
Release 6.0 |
This command was introduced. |
Usage Guidelines
Use the all keyword to clear all RAW connections. To clear a specific RAW connection, enter the protocol control block (PCB) address of the RAW connection. Use the show raw brief command to obtain the PCB address.
Use the location keyword and node-id argument to clear RAW statistics for a designated node.
Task ID
Task ID |
Operations |
---|---|
transport |
execute |
Examples
The following example shows how to clear statistics for a RAW connection with PCB address 0x80553b0:
RP/0/RP0/CPU0:router# clear raw statistics pcb 0x80553b0
RP/0/RP0/CPU0:router# show raw statistics pcb 0x80553b0
Statistics for PCB 0x80553b0
Send: 0 packets received from application
0 xipc pulse received from application
0 packets sent to network
0 packets failed getting queued to network
Rcvd: 0 packets received from network
0 packets queued to application
0 packets failed queued to application
The following example shows how to clear statistics for all RAW connections:
RP/0/RP0/CPU0:router# clear raw statistics pcb all
RP/0/RP0/CPU0:router# show raw statistics pcb all
Statistics for PCB 0x805484c
Send: 0 packets received from application
0 xipc pulse received from application
0 packets sent to network
0 packets failed getting queued to network
Rcvd: 0 packets received from network
0 packets queued to application
0 packets failed queued to application
Statistics for PCB 0x8054f80
Send: 0 packets received from application
0 xipc pulse received from application
0 packets sent to network
0 packets failed getting queued to network
Rcvd: 0 packets received from network
0 packets queued to application
0 packets failed queued to application
Statistics for PCB 0x80553b0
Send: 0 packets received from application
0 xipc pulse received from application
0 packets sent to network
0 packets failed getting queued to network
Rcvd: 0 packets received from network
0 packets queued to application
0 packets failed queued to application