< Home

display qos configuration

Function

The display qos configuration command displays the QoS configuration on an interface.

Format

display qos configuration interface [ interface-type interface-number ]

Parameters

Parameter

Description

Value

interface [ interface-type interface-number ]

Displays the QoS configuration on a specified interface.
  • interface-type specifies the interface type.

  • interface-number specifies the interface number.

If no interface is specified, the QoS configurations on all the interfaces are displayed.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display qos configuration command displays QoS configurations on a specified interface or all interfaces. The command output helps you check the QoS configuration and locate QoS faults.

Example

# Display the QoS configuration on GE0/0/1 of the S2720-EI, S5720I-SI, S5720-LI, S5720S-LI, S5720S-SI, S5720-SI, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, or S6720-SI.
<HUAWEI> display qos configuration interface gigabitethernet 0/0/1
 interface GigabitEthernet0/0/1                                                 
 --------------------------------------------------------------------------
 Trust flag                  | 8021p
 Port priority               | 0
 Schedule-profile            | 
 Tail-drop-profile           | 
 Port lr                     | outbound, cir = , cbs = 
 Port lr                     | inbound, cir = , cbs = 
 --------------------------------------------------------------------------
 queue-index | configuration |
 --------------------------------------------------------------------------
 0           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 1           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 2           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 3           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 4           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 5           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 6           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 7           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
# Display the QoS configuration on GE0/0/1 of the S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, or S5735S-S.
<HUAWEI> display qos configuration interface gigabitethernet 0/0/1
 interface GigabitEthernet0/0/1                                                 
 --------------------------------------------------------------------------
 Trust flag                  | dscp
 DS name                     | default
 DEI enable                  | disable
 PHB marking                 | enable
 Port priority               | 0
 Tail-drop-profile           | 
 Port lr                     | outbound, cir = , cbs = 
 Port lr                     | inbound, cir = , cbs = 
 --------------------------------------------------------------------------
 queue-index | configuration |
 --------------------------------------------------------------------------
 0           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 1           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 2           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 3           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 4           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 5           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 6           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
 7           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
 --------------------------------------------------------------------------
# Display the QoS configuration on GE0/0/1 of the S5720-EI, S6720-EI, or S6720S-EI.
<HUAWEI> display qos configuration interface gigabitethernet 0/0/1
 interface GigabitEthernet0/0/1                                                 
 --------------------------------------------------------------------------
 Trust flag                  | dscp
 DS name                     | 
 DEI enable                  | disable
 PHB marking                 | enable
 Port priority               | 0
 Port wred                   | 
 Port lr                     | outbound, cir = , cbs = 
 Port lr                     | inbound, cir = , cbs = 
 --------------------------------------------------------------------------
 queue-index | configuration |
 --------------------------------------------------------------------------
 0           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
             | wred          | 
             | length        | 
 --------------------------------------------------------------------------
 1           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
             | wred          | 
             | length        | 
 --------------------------------------------------------------------------
 2           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
             | wred          | 
             | length        | 
 --------------------------------------------------------------------------
 3           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
             | wred          | 
             | length        | 
 --------------------------------------------------------------------------
 4           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
             | wred          | 
             | length        | 
 --------------------------------------------------------------------------
 5           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
             | wred          | 
             | length        | 
 --------------------------------------------------------------------------
 6           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
             | wred          | 
             | length        | 
 --------------------------------------------------------------------------
 7           | shaping       | cir = , cbs = 
             |               | pir = , pbs = 
             | schedule      | wrr, weight = 1
             | wred          | 
             | length        | 
 --------------------------------------------------------------------------
# Display the QoS configuration on GE0/0/1 of the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S.
<HUAWEI> display qos configuration interface gigabitethernet 0/0/1
 interface GigabitEthernet0/0/1
 --------------------------------------------------------------------------
 Trust flag                  | outer 8021p
 DS name                     | 
 DEI enable                  | disable
 Port priority               | 0
 PHB marking                 | enable
 Port wred                   | 
 Port lr                     | outbound, cir = , cbs = 
 Port lr                     | inbound, cir = , cbs = 
 TM enable                   | disable
 --------------------------------------------------------------------------                                                         
 queue-index | configuration |                                                                                                      
 --------------------------------------------------------------------------                                                         
 0           | shaping       | cir = , cbs =                                                                                        
             |               | pir = , pbs =                                                                                        
             | schedule      | pq                                                                                                   
             | wred          |                                                                                                      
             | length        |                                                                                                      
 --------------------------------------------------------------------------                                                         
 1           | shaping       | cir = , cbs =                                                                                        
             |               | pir = , pbs =                                                                                        
             | schedule      | pq                                                                                                   
             | wred          |                                                                                                      
             | length        |                                                                                                      
 --------------------------------------------------------------------------                                                         
 2           | shaping       | cir = , cbs =                                                                                        
             |               | pir = , pbs =                                                                                        
             | schedule      | pq                                                                                                   
             | wred          |                                                                                                      
             | length        |                                                                                                      
 --------------------------------------------------------------------------                                                         
 3           | shaping       | cir = , cbs =                                                                                        
             |               | pir = , pbs =                                                                                        
             | schedule      | pq                                                                                                   
             | wred          |                                                                                                      
             | length        |                                                                                                      
 --------------------------------------------------------------------------                                                         
 4           | shaping       | cir = , cbs =                                                                                        
             |               | pir = , pbs =                                                                                        
             | schedule      | pq                                                                                                   
             | wred          |                                                                                                      
             | length        |                                                                                                      
 --------------------------------------------------------------------------                                                         
 5           | shaping       | cir = , cbs =                                                                                        
             |               | pir = , pbs =                                                                                        
             | schedule      | pq                                                                                                   
             | wred          |                                                                                                      
             | length        |                                                                                                      
 --------------------------------------------------------------------------                                                         
 6           | shaping       | cir = , cbs =                                                                                        
             |               | pir = , pbs =                                                                                        
             | schedule      | pq                                                                                                   
             | wred          |                                                                                                      
             | length        |                                                                                                      
 --------------------------------------------------------------------------                                                         
 7           | shaping       | cir = , cbs =                                                                                        
             |               | pir = , pbs =                                                                                        
             | schedule      | pq                                                                                                   
             | wred          |                                                                                                      
             | length        |                                                                                                      
 -------------------------------------------------------------------------- 
Table 1 Description of the display qos configuration command output

Item

Description

Trust flag

Type of the external priority (802.1p priority, DSCP priority, or IP precedence) mapped to the internal priority (DiffServ level and color). To change the value, run the trust command.

DS name

DiffServ domain name. To create a DiffServ domain, run the diffserv domain command.

DEI enable

Whether the function that DEI field in a VLAN tag is mapped to the drop priority is enabled.
  • enable: The function is enabled.
  • disable: The function is disabled.

To set the function that DEI field in a VLAN tag is mapped to the drop priority, run the dei enable command.

PHB marking

Whether PHB mapping is enabled for outgoing packets on the interface.
  • enable: PHB mapping is enabled for outgoing packets on the interface.
  • disable: PHB mapping is disabled for outgoing packets on the interface.

To set PHB mapping, run the qos phb marking enable command.

Port priority

Default 802.1p priority added to untagged packets by the interface. To change the value, run the port priority command.

Port wred

Name of the WRED drop profile applied to the interface. To apply a WRED drop profile to an interface, run the qos wred command.

Schedule-profile

Name of the scheduling profile applied to the interface. To apply a scheduling profile to an interface, run the qos schedule-profile (interface view) command.

Tail-drop-profile

Name of the tail drop profile applied to the interface. To apply a tail drop profile to an interface, run the qos tail-drop-profile (interface view) command.

Port lr

Traffic shaping rate on the interface. To configure traffic shaping rate on an interface, run the qos lr outbound or qos lr inbound command.

TM enable

Whether the traffic manager (TM) is enabled to buffer and schedule packets.
  • enable: The TM is enabled to buffer and schedule packets.
  • disable: The TM is disabled from buffering and scheduling packets.

To set enable or disable the TM, run the qos traffic-manage enable command.

queue-index

Interface queue index.

configuration

Interface queue configuration.

shaping

Traffic shaping configuration of the interface queue. To configure traffic shaping on an interface, run the qos queue shaping command.

cir

Committed information rate (CIR). To change the value, run the qos queue shaping command.

cbs

Committed burst size (CBS). To change the value, run the qos queue shaping command.

pir

Peak information rate (PIR). To change the value, run the qos queue shaping command.

pbs

Peak burst size (PBS). To change the value, run the qos queue shaping command.

schedule

Scheduling mode of the interface queue. To set the scheduling mode of interface queues, run the qos { pq | wrr | drr } command.

wred

WRED drop profile bound to an interface queue. To bind a WRED drop profile to an interface queue, run the qos queue wred command.

weight

Scheduling weight of a queue. To set the scheduling weight of a queue, run the qos queue drr or qos queue wrr command.

length

Interface queue length. This field cannot be modified on the switch and is empty in the command output.

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