show hardware-discard-counters

Use this command to check device level discard counters.

Command Syntax

Copy
show hardware-discard-counters

Parameters

None

Default

None

Command Mode

Execution mode

Applicability

The command is introduced before OcNOS version 1.3.

Qumran devices do not support discard counters per interface. Only global level counters are available for advanced debugging using the show hardware-discard-counters command.

Examples

Copy
#show hardware-discard-counters
+--------------------------------------------------+--------------------+
| Registers                                        | Core 0             |
+--------------------------------------------------+--------------------+
 CGM_VOQ_SRAM_ENQ_RJCT_PKT_CTR                      437
   Reason : QNUM_NOT_VALID                          Y
 EGQ_PQP_DISCARD_UNICAST_PACKET_COUNTER             8894
   Reason : SRC_EQUAL_DEST_INT                      Y

Here is the explanation of the show command output fields.

Table 93.

Table detailing about counters supported

Register

Description

CGM_VOQ_SRAM_ENQ_RJCT_PKT_CTR for QAX

IQM_QUEUE_ENQ_DISCARDED_PACKET_COUNTER for QMX

Drop is due to PPdecision to drop, or invalid destination received from PPblocks.

The packet DP (Drop Precedence) is higher than the configured Drop DP.

EGQ_PQP_DISCARD_UNICAST_PACKET_COUNTER

Seen with unknown unicast frames, source and destination learnt from same interface.

Table 94.

Table detailing about reasons supported

Register

Description

QNUM_NOT_VALID for QAX

QUEUE_NOT_VALID_STATUS for QMX

DP_LEVEL_RJCT for QAX

DP_LEVEL_STATUS for QMX

Seen with Vlan Discards, ACL Drops, Storm Control, STP Blocked Port.

Seen with Policer Discards.

SRC_EQUAL_DEST_INTF

Seen when traffic is not learned, but is still forwarded/flooded.