The display qos statistics command displays traffic statistics on an interface where rate limiting is performed in the inbound direction.
display qos statistics interface interface-type interface-number inbound
display qos statistics inbound all [ nonzero ]
Parameter |
Description |
Value |
---|---|---|
interface interface-type interface-number |
Displays traffic statistics on a specified interface where rate limiting is performed.
|
- |
inbound |
Displays traffic statistics in the inbound direction. |
- |
all |
Displays traffic statistics on all interfaces where rate limiting is performed. |
- |
nonzero |
Displays traffic statistics on all interfaces where rate limiting is performed and the statistics are not 0. |
- |
Usage Scenario
You can use the display qos statistics command to view statistics on forwarded and discarded packets and check whether rate limiting takes effect. The command output helps you locate faults.
Prerequisites
The qos lr inbound command has been executed to configure rate limiting in the inbound direction on an interface.
Precautions
Info: There is no rate limited configuration inbound in the interface.
# Display traffic statistics on GE0/0/1 where rate limiting is performed in the inbound direction. (S5730-HI)
<HUAWEI> display qos statistics interface gigabitethernet 0/0/1 inbound --------------------------------------------------------- Item Value --------------------------------------------------------- Passed packets 0 Passed bytes 0 Dropped packets 0 Dropped bytes 0 ---------------------------------------------------------
# Display traffic statistics on GE0/0/1 where rate limiting is performed in the inbound direction. (S5735-S)
<HUAWEI> display qos statistics interface gigabitethernet 0/0/1 inbound --------------------------------------------------------- It has not reached the threshold of ingress bandwidth. ---------------------------------------------------------
Item |
Description |
---|---|
Passed packets |
Number of forwarded packets. |
Passed bytes |
Number of forwarded bytes. |
Dropped packets |
Number of discarded packets. |
Dropped bytes |
Number of discarded bytes. |
It has not reached the threshold of ingress bandwidth. |
On the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, and S5735S-S, the following information may be displayed in the display qos statistics command output:
|