display port-queue configuration

Function

The display port-queue configuration command displays the configuration details, including the default configurations, of each port queue.

Format

display port-queue configuration interface { interface-type interface-number | interface-name } [ cos-value ] outbound

Parameters

Parameter Description Value
cos-value

Specifies the CoS of the port queue.

The value can be ef, af1, af2, af3, af4, be, cs6, or cs7.

outbound

Displays the configuration for port queues in the outbound direction of an interface.

-

interface interface-name

Specifies the name of an interface.

-

interface interface-type

Specifies the interface type.

-

interface interface-number

Specifies the interface number.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
qos read

Usage Guidelines

Usage Scenario

After you deploy port queues, run the display port-queue configuration command to view the parameters of the port queues.

Example

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

# Display configuration details of port queues.
<HUAWEI> display port-queue configuration interface gigabitethernet 0/1/0 outbound
GigabitEthernet0/1/0 outbound current port-queue configuration:  
 be : arithmetic: wfq                weight: 10         tm weight: 3                       
       fact weight: 10.00             shaping(kbps): NA                                   
       port-wred: NA                                                                                                                
         green (low-high limit) (kbytes)                  12800 - 12800                                                            
         yellow(low-high limit) (kbytes)                  12800 - 12800                                                             
         red   (low-high limit) (kbytes)                  12800 - 12800                                                             
       current queue-length     (kbytes)                  12800                                                                     
       cir:123                        cir-percentage:NA
       cir-arithmetic:pq              cir-weight:NA
       pir:123                        pir-percentage:NA
       pir-arithmetic:lpq             pir-weight:NA      
 af1: arithmetic: wfq                weight: 10         tm weight: 3                                                               
       fact weight: 10.00             shaping(kbps): NA                                                                             
       port-wred: NA                                                                                                                
         green (low-high limit) (kbytes)                  12800 - 12800                                                             
         yellow(low-high limit) (kbytes)                  12800 - 12800                                                             
         red   (low-high limit) (kbytes)                  12800 - 12800                                                             
       current queue-length     (kbytes)                  12800                                                                     
       cir:NA                         cir-percentage:10
       cir-arithmetic:pq              cir-weight:NA
       pir:NA                         pir-percentage:20
       pir-arithmetic:wfq             pir-weight:15    
 af2: arithmetic: wfq                weight: 10         tm weight: 3                                                               
       fact weight: 10.00             shaping(kbps): NA                                                                             
       port-wred: NA                                                                                                                
         green (low-high limit) (kbytes)                  12800 - 12800                                                             
         yellow(low-high limit) (kbytes)                  12800 - 12800                                                             
         red   (low-high limit) (kbytes)                  12800 - 12800                                                             
       current queue-length     (kbytes)                  12800                                                                     
       cir:NA                         cir-percentage:NA
       cir-arithmetic:NA              cir-weight:NA
       pir:NA                         pir-percentage:NA
       pir-arithmetic:NA              pir-weight:NA 
 af3: arithmetic: wfq                weight: 15         tm weight: 2                                                               
       fact weight: 15.00             shaping(kbps): NA                                                                             
       port-wred: NA                                                                                                                
         green (low-high limit) (kbytes)                  12800 - 12800                                                             
         yellow(low-high limit) (kbytes)                  12800 - 12800                                                             
         red   (low-high limit) (kbytes)                  12800 - 12800                                                            
       current queue-length     (kbytes)                  12800                                                                     
       cir:NA                         cir-percentage:NA
       cir-arithmetic:NA              cir-weight:NA
       pir:NA                         pir-percentage:NA
       pir-arithmetic:NA              pir-weight:NA 
 af4: arithmetic: wfq                weight: 15         tm weight: 2                                                               
       fact weight: 15.00             shaping(kbps): NA                                                                             
       port-wred: NA                                                                                                                
         green (low-high limit) (kbytes)                  12800 - 12800                                                             
         yellow(low-high limit) (kbytes)                  12800 - 12800                                                             
         red   (low-high limit) (kbytes)                  12800 - 12800                                                             
       current queue-length     (kbytes)                  12800                                                                     
       cir:NA                         cir-percentage:NA
       cir-arithmetic:NA              cir-weight:NA
       pir:NA                         pir-percentage:NA
       pir-arithmetic:NA              pir-weight:NA 
 ef : arithmetic: pq                 weight: NA         tm weight: 0                                                               
       fact weight: 0.00              shaping(kbps): NA                                                                             
       port-wred: NA                                                                                                                
         green (low-high limit) (kbytes)                  1280 - 1280                                                               
         yellow(low-high limit) (kbytes)                  1280 - 1280                                                               
         red   (low-high limit) (kbytes)                  1280 - 1280                                                               
       current queue-length     (kbytes)                  1280                                                                      
       cir:NA                         cir-percentage:NA
       cir-arithmetic:NA              cir-weight:NA
       pir:NA                         pir-percentage:NA
       pir-arithmetic:NA              pir-weight:NA 
 cs6: arithmetic: pq                 weight: NA         tm weight: 0                                                               
       fact weight: 0.00              shaping(kbps): NA                                                                             
       port-wred: NA                                                                                                                
         green (low-high limit) (kbytes)                  1280 - 1280                                                               
         yellow(low-high limit) (kbytes)                  1280 - 1280                                                               
         red   (low-high limit) (kbytes)                  1280 - 1280                                                               
       current queue-length     (kbytes)                  1280                                                                      
       cir:NA                         cir-percentage:NA
       cir-arithmetic:NA              cir-weight:NA
       pir:NA                         pir-percentage:NA
       pir-arithmetic:NA              pir-weight:NA 
 cs7: arithmetic: pq                 weight: NA         tm weight: 0                                                               
       fact weight: 0.00              shaping(kbps): NA                                                                             
       port-wred: NA                                                                                                                
         green (low-high limit) (kbytes)                  1280 - 1280                                                               
         yellow(low-high limit) (kbytes)                  1280 - 1280                                                               
         red   (low-high limit) (kbytes)                  1280 - 1280                                                               
       current queue-length     (kbytes)                  1280                                                                      
       cir:NA                         cir-percentage:NA
       cir-arithmetic:NA              cir-weight:NA
       pir:NA                         pir-percentage:NA
       pir-arithmetic:NA              pir-weight:NA
Table 1 Description of the display port-queue configuration command output
Item Description
current queue-length

Current queue depth.

  • If port-wred is configured, the value of this parameter is equal to the value obtained using the formula of queue-depth x highest threshold configured for the queues of three colors. In this case, a small error may occur.
  • If port-wred is not configured, the default value of this parameter is displayed (For details about the default value, see the output on the device).
tm weight

Inversely proportional WFQ weight worked out using a weight algorithm. The WFQ weight value set by users must be set in inverse proportion before it is delivered.

The WFQ weight may have an upper threshold. If the WFQ weight set by users exceeds the upper threshold that a device supports, the device automatically modifies the weight value before delivering it.

  • The WFQ weight includes two models: 4 weight and 8 weight. The threshold mentioned above varies with the two models.
  • The 4 weight is more accurate. It has a higher threshold. The value of the tm weight does not exceed 127. The following conditions must be met:
  • No more than four queues among the eight queues are set with the WFQ weight.
  • No PQ weight can be configured for the first queue. No IPQ weight can be configured for queues that have WFQ weights.

    By default, the 4 weight model is used. If the preceding conditions for 4 weight cannot be met, the 8 weight model is used. The 8 weight does not need those conditions. It has a lower threshold. The value of the tm weight does not exceed 15.

fact weight

WFQ weight actually accepted by the system In normal cases, the fact weight is consistent with the WFQ weight set by users. If an inconsistency occurs, the WFQ weight set by users exceeds the threshold that the device supports, and the device automatically modifies the weight value. The modified WFQ weight is consistent with the WFQ weight set by users.

green (low-high limit)

Lower and upper thresholds set for green colors.

  • If port-wred is configured, the value obtained using the formula of queue-depth x threshold percentage configured for port-wred is displayed.
  • If port-wred is not configured, the queue-depth value is displayed.
yellow(low-high limit)

Lower and upper thresholds set for yellow colors.

  • If port-wred is configured, the value obtained using the formula of queue-depth x threshold percentage configured for port-wred is displayed.
  • If port-wred is not configured, the queue-depth value is displayed.
red (low-high limit)

Lower and upper thresholds set for red colors.

  • If port-wred is configured, the value obtained using the formula of queue-depth x threshold percentage configured for port-wred is displayed.
  • If port-wred is not configured, the queue-depth value is displayed.
port-wred

WRED object that a port queue uses.

weight

WFQ weight in the range 1 to 100.

arithmetic

Scheduling mode, which can be WFQ, PQ, or LPQ.

shaping(kbps)

Shaping value in the range 0 to 4294967294.

cir

Committed information rate (CIR) set by a user.

cir-percentage

CIR percentage set by a user.

cir-arithmetic

Scheduling mode set by a user for CIR. The value can be WFQ, PQ, or LPQ.

cir-weight

WFQ weight set by a user for CIR.

pir

Peak information rate (PIR) set by a user.

pir-percentage

PIR percentage set by a user.

pir-arithmetic

Scheduling mode set by a user for PIR. The value can be WFQ, PQ, or LPQ.

pir-weight

WFQ weight set by a user for PIR.

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