< Home

display counters discard

Function

The display counters discard command displays statistics about dropped packets.

Format

display counters discard [ inbound | outbound ] [ interface interface-type [ interface-number ] ]

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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
Table 1 Description of the display counters discard command output

Item

Description

Interface

Interface name

InDiscards

Number of incoming packets dropped on the interface

OutDiscards

Number of outgoing packets dropped on the interface

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >