display counters discard [ inbound | outbound ] [ interface interface-type [ interface-number ] ]
Parameter | Description | Value |
---|---|---|
inbound |
Displays statistics about incoming packets dropped. |
- |
outbound |
Displays statistics about outgoing packets dropped. |
- |
interface interface-type [ interface-number ] |
Specifies the interface type and number of an interface on which statistics about dropped packets are to be displayed. If interface-number is not specified, traffic statistics on all interfaces with the type specified by interface-type are displayed. |
- |
Usage Scenario
To view detailed statistics about dropped packets on interfaces of different types, run the display counters discard command. When a large number of packets are dropped, this configuration facilitates device maintenance.
Precautions
For the 5735-L, S5735S-L, S5735S-L-M, S5735-S, or S5735S-S, if multiple switches set up a stack, statistics about dropped packets on stack ports cannot be viewed.
# Display statistics about dropped packets on Ethernet 1/0/1.
<HUAWEI> display counters discard interface ethernet 1/0/1
Interface InDiscards OutDiscards
Eth1/0/1 0 0
Item |
Description |
---|---|
Interface |
Interface name |
InDiscards |
Number of incoming packets dropped on the interface |
OutDiscards |
Number of outgoing packets dropped on the interface |