display qos-profile statistics

Function

The display qos-profile statistics command displays the statistics about the QoS profiles on an interface.

Format

display qos-profile statistics { vni vni-id | interface { interface-name | interface-type interface-number } [ vlan vlan-id | pe-vid pe-vid ce-vid ce-vid | vid vid | ce-vid ce-vid | vid vid ce-vid ce-vid ] } { inbound | outbound }

Parameters

Parameter Description Value
vni vni-id

Specifies a VNI ID.

The value is an integer ranging from 1 to 16777215.

interface interface-type

Specifies the type of an interface.

-

interface interface-number

Specifies the number of an interface.

-

vlan vlan-id

Specifies the VLAN ID of packets whose QoS statistics you want to view.

The value is an integer that ranges from 1 to 4094.

pe-vid pe-vid

Specifies the PE VLAN ID (outer tag value) of packets whose QoS statistics you want to view.

The value is an integer that ranges from 1 to 4094.

ce-vid ce-vid

Specifies the CE VLAN ID (inner tag value) of packets whose QoS statistics you want to view.

The value is an integer that ranges from 1 to 4094.

vid vid

Specifies the external VLAN ID of the packets whose QoS statistics you want to view.

The value is an integer that ranges from 1 to 4094.

inbound

Displays statistics about the QoS profiles applied in the inbound direction.

-

outbound

Displays statistics about about the QoS profiles applied in the outbound direction.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
qos read

Usage Guidelines

Usage Scenario

After CAR and Layer 2 suppression are configured in a QoS profile on an interface, you can run the display qos-profile statistics command to query the statistics about CAR and Layer 2 suppression on the interface.

Precautions

The VNI-based display qos-profile statistics command does not have a corresponding MIB object.

In global VE and cross-TM scenarios, when queue congestion occurs, the used buffer size of the queue may still be smaller than the available buffer size of the queue. This is because the used buffer size of the queue is accumulated based on the TM. When congestion occurs, this indicates that the available buffers of the current TM are used up, but the available buffers of other TMs may not be used up.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the car statistics about the QoS profile in VNI view
<HUAWEI> display qos-profile statistics vni 8 inbound
                                                                                       
  Committed Access Rate:                                                                                                            
  CIR 100(Kbps), PIR 0(Kbps), CBS 18700(byte), PBS 0(byte)                                                                          
  Conform Action: pass                                                                                                              
  Yellow Action: 3                                                                                                                  
  Exceed Action: discard                                                                                                            
  Passed:                          0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 30 seconds passed rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
  Last 30 seconds discard rate:                                                                                                     
                                   0 pps,                              0 bps
# Display the statistics about the QoS profile for the outgoing traffic on GE 0/1/0.
<HUAWEI> display qos-profile statistics interface GigabitEthernet0/1/0 vlan 1 outbound
GigabitEthernet0/1/0 vlan 1 outbound traffic statistics:
 [be]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
  buffer size:                     400 kbytes                         
  used buffer size:                0 kbytes                           
 [af1]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
  buffer size:                     400 kbytes                         
  used buffer size:                0 kbytes                           
 [af2]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
  buffer size:                     400 kbytes                         
  used buffer size:                0 kbytes                           
 [af3]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
  buffer size:                     400 kbytes                         
  used buffer size:                0 kbytes                           
 [af4]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
  buffer size:                     400 kbytes                         
  used buffer size:                0 kbytes                           
 [ef]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
  buffer size:                     128 kbytes                         
  used buffer size:                0 kbytes                           
 [cs6]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
  buffer size:                     128 kbytes                         
  used buffer size:                0 kbytes                           
 [cs7]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
  buffer size:                     128 kbytes                         
  used buffer size:                0 kbytes                           
 [total]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:        
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:     
                                   0 pps,                              0 bps
Traffic towards this interface:                                        0 bps
Configured CIR and PIR:
                                   30,000 kbps,                        30,000 kbps
# Display the user-queue statistics about the QoS profile in VNI view.
<HUAWEI> display qos-profile statistics vni 8 inbound
[be]
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
 [af1]                                                                                                                              
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
 [af2]                                                                                                                              
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
 [af3]                                                                                                                              
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
 [af4]                                                                                                                              
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
 [ef]                                                                                                                               
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
 [cs6]                                                                                                                              
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
 [cs7]                                                                                                                              
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps                                                        
 [total]                                                                                                                            
  Pass:                            0 packets,                          0 bytes                                                      
  Discard:                         0 packets,                          0 bytes                                                      
  Last 5 minutes pass rate:                                                                                                         
                                   0 pps,                              0 bps                                                        
  Last 5 minutes discard rate:                                                                                                      
                                   0 pps,                              0 bps
# Display outbound traffic statistics about the QoS profile in enhanced 8-CoS mode on GE 0/1/0.
<HUAWEI> display qos-profile statistics interface gigabitethernet0/1/0 vlan 1 outbound
GigabitEthernet0/1/0 vlan 1 outbound traffic statistics:

[COS0]
  Pass:                            248,785 packets,                    249,780,140 bytes
  Discard:                         23,986,035 packets,                 24,081,979,140 bytes
  Last 5 minutes pass rate:
                                   12,460 pps,                         100,071,104 bps
  Last 5 minutes discard rate:
                                   1,209,158 pps,                      9,711,951,656 bps
  buffer size:                     1600 kbytes
  used buffer size:                1600 kbytes
 [COS1]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  buffer size:                     1600 kbytes
  used buffer size:                1600 kbytes
 [COS2]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  buffer size:                     1600 kbytes
  used buffer size:                1600 kbytes
 [COS3]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  buffer size:                     1600 kbytes
  used buffer size:                1600 kbytes
 [COS4]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  buffer size:                     1600 kbytes
  used buffer size:                1600 kbytes
 [COS5]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  buffer size:                     1600 kbytes
  used buffer size:                1600 kbytes
 [COS6]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  buffer size:                     1600 kbytes
  used buffer size:                1600 kbytes
 [COS7]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
  buffer size:                     1600 kbytes
  used buffer size:                1600 kbytes
 [total]
  Pass:                            248,785 packets,                    249,780,140 bytes
  Discard:                         23,986,035 packets,                 24,081,979,140 bytes
  Last 5 minutes pass rate:
                                   12,460 pps,                         100,071,104 bps
  Last 5 minutes discard rate:
                                   1,209,158 pps,                      9,711,951,656 bps
Traffic towards this interface:                                        0 bps
Configured CIR and PIR:
                                   100,000 kbps,                       100,000 kbps
# Display inbound traffic statistics about the QoS profile in enhanced 8-CoS mode on GE 0/1/0.
<HUAWEI> display qos-profile statistics interface gigabitethernet0/1/0 vlan 1 inbound
GigabitEthernet0/1/0 vlan 1 inbound traffic statistics:

[COS0]
  Pass:                            248,785 packets,                    249,780,140 bytes
  Discard:                         23,986,035 packets,                 24,081,979,140 bytes
  Last 5 minutes pass rate:
                                   12,460 pps,                         100,071,104 bps
  Last 5 minutes discard rate:
                                   1,209,158 pps,                      9,711,951,656 bps
 [COS1]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
 [COS2]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
 [COS3]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
 [COS4]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
 [COS5]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
 [COS6]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
 [COS7]
  Pass:                            0 packets,                          0 bytes
  Discard:                         0 packets,                          0 bytes
  Last 5 minutes pass rate:
                                   0 pps,                              0 bps
  Last 5 minutes discard rate:
                                   0 pps,                              0 bps
 [total]
  Pass:                            248,785 packets,                    249,780,140 bytes
  Discard:                         23,986,035 packets,                 24,081,979,140 bytes
  Last 5 minutes pass rate:
                                   12,460 pps,                         100,071,104 bps
  Last 5 minutes discard rate:
                                   1,209,158 pps,                      9,711,951,656 bps
Traffic towards this interface:                                        0 bps
Configured CIR and PIR:
                                   100,000 kbps,                       100,000 kbps
Table 1 Description of the display qos-profile statistics command output
Item Description
Committed Access Rate

CAR.

Conform Action

Indicates the conformed actions.

Yellow Action

Indicates the action taken for yellow packets.

Exceed Action

Indicates the action taken for packets whose transmission rate exceeds the CAR.

Last 30 seconds passed rate

Rate of passing packets, in pps and also in bit/s.

Last 30 seconds discard rate

Rate of dropped packets, in pps and also in bit/s.

Last 5 minutes pass rate

Rate of passing packets, in pps and also in bit/s.

Last 5 minutes discard rate

Rate of dropped packets, in pps and also in bit/s.

outbound

Outbound.

Queue depth unit

Queue depth(Unit: kbytes).

Configured CIR and PIR

User-queue CIR and PIR configured in a QoS profile. If the CIR percentage is configured in a QoS profile, the user-queue CIR is calculated by multiplying the sum of physical bandwidths of Up member interfaces and the configured CIR percentage. This field displays only the configured value. When member interfaces of a trunk interface reside on different forwarding modules (NP) or traffic management modules (TM), the actual effective bandwidth multiplies by default, but the value of this field does not multiply.

buffer size

Indicates the available buffer size of a queue.

total

Total traffic statistics on the eight flow queues.

Traffic towards this interface

Rate of traffic passing the interface, including the traffic that is forwarded and discarded.

vlan 1

Vlan value.

used buffer size

Indicates the used buffer size of a queue.

cs6

Service level.

Passed

Count of passing flows, in packets and also in bytes.

Discard

Count of dropped flows, in packets and also in bytes.

Pass

Count of passing flows, in packets and also in bytes.

GigabitEthernet0/1/0

Interface name.

COS

Class of service.

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