Traffic Statistics with Packet Drop Location
Feature Name |
Release |
Description |
---|---|---|
Traffic Statistics with Packet Drop Location |
Release 24.2.11 |
We help you save debugging time to locate packet drops by automatically detecting nonzero traffic drops from the commands running in the background and giving you the exact location of the packet drop. In earlier releases, you used multiple show commands with their respective locations to detect packet drops. This feature introduces the show drops all command. |
Earlier, finding the exact location of packet drop was a long and tedious process as there are multiple node locations. You were executing show commands with their different locations to detect the packet drop location.
Starting Cisco IOS XR Software Release 24.2.11, finding a packet drop location has become easy and quick. You can use the show drops all command to know the exact packet drop location. This command shows all nonzero traffic-drops in the node at one place. This command automatically runs the required IOS XR debug commands in the background and removes insignificant information from the command output.
The following commands outputs are integrated in the show drops all command::
-
show arp traffic
-
show controllers interface stats
-
show controllers npu stats traps-all instance instance location location
-
show controllers npu stats traps-all instance
-
show controllers npu stats voq ingress interface interface name instance all location location
-
show cef drops location location
-
show controllers fabric plane plane statistics detail
-
show lpts pifib hardware police location location
-
show spp node-counters location location | inc drop
-
show controllers npu stats counters-drop instance instance location location
Monitor Packet Drops
Use show drops all ongoing location all to see ongoing drops on the system. This command output shows ongoing drops since the last time command was executed.
Router#show drops all ongoing location all
-----------------------------------------------
Printing Drop Counters for node 0/RP0/CPU0
-----------------------------------------------
-------------------
MODULE arp
-------------------
-------------------
MODULE mac
-------------------
-------------------
MODULE npu_traps
-------------------
-------------------
MODULE voq_drops
-------------------
-------------------
MODULE cef
-------------------
-------------------
MODULE fabric
-------------------
-------------------
MODULE lpts
-------------------
-------------------
MODULE spp
-------------------
Use show drops all location all to see the drops from all location or node that have happened in the system.
Router#show drops all location all
-----------------------------------------------
Printing Drop Counters for node 0/RP0/CPU0
-----------------------------------------------
-------------------
MODULE arp
-------------------
-------------------
MODULE mac
-------------------
-------------------
MODULE npu_traps
-------------------
Trap Type NPU Trap Punt Punt Punt Punt Configured Hardware Policer Avg-Pkt Packets Packets
ID ID Dest VoQ VLAN TC Rate(pps) Rate(pps) Level Size Accepted Dropped
======================================================================================================================================================
UNKNOWN_VLAN_OR_BUNDLE_MEMBER(D*) 0 4 RPLC_CPU 200 1586 0 67 134 IFG 64 0 1
-------------------
MODULE voq_drops
-------------------
-------------------
MODULE cef
-------------------
-------------------
MODULE fabric
-------------------
-------------------
MODULE lpts
-------------------
-------------------
MODULE spp
-------------------