< Home

display qos statistics

Function

The display qos statistics command displays traffic statistics on an interface where rate limiting is performed in the inbound direction.

Format

display qos statistics interface interface-type interface-number inbound

display qos statistics inbound all [ nonzero ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays traffic statistics on a specified interface where rate limiting is performed.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

-

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.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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

If the qos lr inbound command is not used, the system displays the following message after the display qos statistics interface interface-type interface-number inbound command is executed:
Info: There is no rate limited configuration inbound in the interface.

Example

# 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.                                                                             
---------------------------------------------------------  
Table 1 Description of the display qos statistics command output

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:
  • The rate limit is not reached:

    It has not reached the threshold of ingress bandwidth.

  • The rate limit is reached:

    It has reached the threshold of ingress bandwidth.

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