show interface counters drop-stats
Use this command to display the ingress and egress traffic discard reason counters on the interface.
• | You can only display statistics for physical ports and cpu ports, but not for the out-of-band management (OOB) management port or logical interfaces. |
• | Drops in the CPU queue are listed under Tx Multicast Queue Drops , whether the packet is unicast or multicast |
Command Syntax
show interface (IFNAME|) counters drop-stats
show interface cpu counters drop-stats
Parameters
IFNAME
Physical interface name
cpu
CPU interface
Default
None
Command Mode
Execution mode and Privileged execution mode
Applicability
This command was introduced before OcNOS version 1.3.1.
For Qumran devices, only error statistics are applicable and discard counters are not applicable. Only global level counters are available for advanced debugging using the command show hardware-discard-counters.
Example
#show interface xe32/2 counters drop-stats
+---------------------+----------------+----------------+--------------------+
| Counter Description | Count | Last Increment | Last Increment Time |
+---------------------+----------------+----------------+--------------------+
Rx Bad CRC errors 0 0
Rx Undersize errors 0 0
Rx Oversize errors 0 0
Rx Fragments errors 0 0
Rx Jabbers errors 0 0
Rx Port Block Drops 6 1 2016 Nov 09 08:59:33
Rx Vlan Discards 0 0
Rx ACL/QOS Drops 0 0
Rx Policy Discards 0 0
Rx EGR Port Unavail 38784 5 2016 Nov 09 18:19:31
Rx IBP Discards 0 0
Tx Port Block Drops 359 1 2016 Nov 09 08:59:33
Tx Vlan Discards 0 0
Tx TTL Discards 0 0
Tx Unknown Discards 359 1 2016 Nov 09 08:59:33
Tx Ucast Queue Drops 0 0
Tx Mcast Queue Drops 0 0
+---------------------+----------------+----------------+--------------------+
Here is the explanation of the show command output fields.
Field |
Description |
Counter Description |
Shows the type of packet and/or the reason why the packet was dropped. |
Count |
The number of packets dropped for each reason. |
Last Increment |
Number of packets dropped since this command was last entered. |
Last Increment Time |
Date and time when the last packet was dropped. |
Rx Bad CRC errors |
Received packets dropped because they didn’t pass the cyclic Redundancy Check (CRC). |
Rx Undersize errors |
Number of received runt packets dropped. |
Rx Oversize errors |
Number of received giant packets dropped |
Rx Fragments errors |
Number of received packet fragments dropped |
Rx Jabbers errors |
Received packets dropped because of jabber – long packet error. |
Rx Port Block Drops |
Received packets dropped because port blocking is enabled |
Rx Vlan Discards |
VLAN received packets dropped because there is no VLAN configured on the port |
Rx ACL/QOS Drops |
Received packets match a field processing entry with a drop or color drop action, such as: User-configured ACL that denies traffic Service policy with a police action that drops the traffic received at a rate higher than the configured limit. |
Rx Policy |
Received packets dropped because of device policies violated, such as a storm control rate violation |
Rx EGR Port Unavail |
No output port can be determined for these received packets. This counter increments along with other counter types in this table because it is a “catchall” for multiple types of discards as shown below
VLAN check failed MTU check failed ACL/QoS drops Policy discards Source MAC is null Destination IP/source IP address is null Source MAC address and destination MAC address are the same Forwarding lookup failure |
Rx IBP Discards |
Ingress Back Pressure (ingress congestion) when the ingress packets buffer is full for an interface. |
Tx Port Block Drops |
Transmitted packets dropped because port blocking is enabled |
Tx Vlan Discards |
Transmitted VLAN packets dropped because there is no VLAN configured on the port |
Tx TTL Discards |
Transmitted packets discarded because their Time To Live (TTL) has ended. |
Tx Unknown Discards |
Transmitted packets dropped for unknown reason. May have something to do with the condition/configuration of the port at the other end of the connection |
Tx Ucast Queue Drops |
Transmitted packets dropped as a result of Unicast buffer overflow. |
Tx Mcast Queue Drops |
Transmitted packets dropped as a result of Multicast buffer overflow. |