OcNOS-SP : System Management Guide : System Management Command Reference : Interface Commands : show interface counters (indiscard-stats|outdiscard-stats)
show interface counters (indiscard-stats|outdiscard-stats)
Use this command to display the ingress and egress traffic discard reason counters on the interface.
Note: You can only display statistics for data ports and CPU ports, not for the out-of-band management (OOB) management port or logical interfaces.
Command Syntax
show interface (IFNAME|) counters (indiscard-stats|outdiscard-stats)
show interface cpu counters (indiscard-stats|outdiscard-stats)
Parameter
IFNAME
Physical Interface name.
indiscard-stats
 
Discard reasons for ingress dropped packets.
outdiscard-stats
 
Discard reasons for egress dropped packets.
cpu
CPU Interface.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
This command is not available on Qumran platforms.
Examples
#show interface xe1/3 counters indiscard-stats
+---------------------+----------------+----------------+---------------------+
| Counter Description | Count | Last Increment | Last Increment Time |
+---------------------+----------------+----------------+---------------------+
STP Discards 0 0
Vlan Discards 0 0
ACL Drops 0 0
Policy Discards 0 0
EGR Port Unavail 1092867 1092867 2016 Oct 25 19:54:58
IBP Discards 0 0
+---------------------+----------------+----------------+---------------------+
 
#show interface counters indiscard-stats
+-------------+------------------+---------------+---------------+-----------------+------------------+--------------+--------------------+
| Interface | Port Block Drops | Vlan Discards | ACL/QOS Drops | Policy Discards | EGR Port Unavail | IBP Discards | Total Discards |
+-------------+------------------+---------------+---------------+-----------------+------------------+--------------+--------------------+
xe1 0 0 35703 0 11 0 35714
xe2 0 0 295744 0 13604 0 309348
xe3 0 0 9501 0 20405 0 29906
xe5 0 0 0 0 13602 0 13602
xe49/1 0 0 0 0 0 20658 20658
xe52/1 0 3 856029 10 13613 0 869642
xe54/1 0 5371 0 0 5371 0 5371
cpu 0 0 0 0 6 0 N/A
#show interface counters outdiscard-stats
+-------------+------------------+---------------+--------------+------------------+----------------+----------------+--------------------+
| Interface | Port Block Drops | Vlan Discards | TTL Discards | Unknown Discards | UcastQ Drops | McastQ Drops | Total Discards |
+-------------+------------------+---------------+--------------+------------------+----------------+----------------+--------------------+
xe1 0 0 0 204338 0 0 204338
xe2 0 0 0 1094368 0 0 1094368
xe3 0 0 0 818672 0 0 818672
xe52/1 0 0 0 1275156 0 0 1275156
xe54/1 0 0 0 13575 0 0 13575
cpu 0 0 0 0 N/A 1014224 N/A
Table 21-55 explain the fields in the command output.
 
Table 21-55: indiscard statistic output details 
Statistic
Description
STP Discards
Packets received when the ingress interface is not in STP forwarding state.
Port Block Drops
Packets discarded on an ingress interface where port blocking is configured.
VLAN Discards
VLAN tagged packets received on a port which is not a member of the VLAN or untagged packets received on a trunk port.
ACL/QoS Drops
Incoming packets match a field processing entry with a drop or color drop action, such as:
1. User-configured ACL that denies traffic
2. Service policy with a police action that drops the traffic received at a rate higher than the configured limit
Policy Discards
Device policies violated, such as a storm control rate violation, source or destination discards when L2 tagged traffic received on router interface.
EGR (Egress) Port Unavail
No output port can be determined for this packet. This counter increments along with other counter types in this table because it is a “catchall” for multiple types of discards as shown below:
1. VLAN check failed
2. MTU check failed
3. ACL/QoS drops
4. Policy discards
5. Source MAC is null
6. Destination IP/source IP address is null
7. Source MAC address and destination MAC address are the same
8. Source MAC is configured as static on other interface
9. Forwarding lookup failure
IBP Drops
Ingress Back Pressure (ingress congestion) when the ingress packet buffer is full for an interface.
Total Discards
Total number of ingress dropped packets.
 
Table 21-56 explain the fields in the command output.
Table 21-56: outdiscard statistics
Statistics
Description
Port Block Drops
Packets discarded on an egress interface where port blocking is configured.
VLAN Discards
Packets discarded because an invalid VLAN tag is encountered at an egress interface.
TTL Discards
Packets discarded because the Time-To Live (TTL) of the outgoing packet has passed.
Unknown Discards
Packets discarded for other possible reasons like ACL drop in egress or a policer drop in egress. Discards caused by congestion at queues and drops at queues are not counted under unknown discards.
Unicast Queue Drops
Packets dropped in the unicast queues because of congestion.
Multicast Queue Drops
Packets dropped in the multicast queues because of congestion.
Total Discards
Total number of egress dropped packets.
Last modified date: 10/19/2023