display flow-queue configuration

Function

The display flow-queue configuration command displays information about the flow queue template. The information includes the scheduling mode, configured weight value and the actual weight value, shaping value, and the flow queue WRED object the flow queue uses.

Format

display flow-queue configuration [ verbose [ flow-queue-name ] ]

Parameters

Parameter Description Value
verbose

Display verbose configuration information.

-

flow-queue-name

Specifies the name of a flow queue template.

The value is a string of 1 to 31 characters.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
qos read

Usage Guidelines

Usage Scenario

When using the display flow-queue configuration command displays the flow queue template in three situations:

  • If you run the display flow-queue configuration command, the system displays the summary of all the flow queue templates.
  • If you run the display flow-queue configuration verbose command, the system displays detailed information about all the flow queue templates.
  • If you run the display flow-queue configuration verboseflow-queue-name command, the system displays details of the specified flow queue template.

    <flow-queue-name> If no flow queue template has been created with the flow-queue command, you are notified by a message indicating that the number of flow queue templates is 0 when you run this command.

    The relationships between the U-weight, the I-weight, and the A-weight are as follows:
  • U-weight: is the WFQ weight set by a user.
  • I-weight: is the inversely proportional WFQ weight worked out through a weight algorithm. The WFQ weight is actually used inside the system. The application of a weight algorithm, however, may result in errors.
  • A-weight: is the WFQ weight actually accepted by the system and directed to users. The system uses the reverse weight algorithm to convert the WFQ weight actually accepted by the system to a value that can be easily read by users. The purpose is to let users know that the WFQ weight used inside the system is different from the one configured by them.

Example

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

# Display detailed information about the flow queue in 8cos-enhance mode.
<HUAWEI> system-view
[~HUAWEI] display flow-queue configuration verbose test
Codes: Cos(Priority of queue's)
       CIR-PCT(The percentage of committed information rate)
       CIR-P(The priority schedule of cir)
       CIR-W(Schedule weight of cir)
       PIR-PCT(The percentage of peak information rate)
       PIR-P(The priority schedule of pir)
       PIR-W(Schedule weight of pir)
       Drop-Arith(The name of the WRED object used by the flow queue)

Flow Queue Template : test                                          mode: 8cos-enhance-mode
-------------------------------------------------------------------------------------------
Cos CIR/CIR-PCT/CBS/CIR-P/CIR-W   PIR/PIR-PCT/PBS/PIR-P/PIR-W   CAR-MODE Remark  Drop-Arith
-------------------------------------------------------------------------------------------
0   -/-/-/3/10                    -/-/-/1/10                    0        0       Tail Drop 
1   -/-/-/3/10                    -/-/-/1/10                    0        0       Tail Drop 
2   -/-/-/3/10                    -/-/-/1/10                    0        0       Tail Drop 
3   -/-/-/3/15                    -/-/-/1/15                    0        0       Tail Drop 
4   -/-/-/3/15                    -/-/-/1/15                    0        0       Tail Drop 
5   -/-/-/2/20                    -/-/-/0/20                    0        0       Tail Drop 
6   -/-/-/2/20                    -/-/-/0/20                    0        0       Tail Drop 
7   -/-/-/2/20                    -/-/-/0/20                    0        0       Tail Drop 
Reference relationships : NULL
# Display detailed information about the user group queue in priority-mode.
<HUAWEI> system-view
[~HUAWEI] display flow-queue configuration verbose test
Codes: Priority(Priority of queue's scheduler)
       Weight(Schedule weight configured by users)
       Shp(Shaping value)
       Pct(The percentage of subscriber queue's PIR)
       Drop-Arith(The name of the WRED object used by the flow queue)
  

Flow Queue Template : test
------------------------------------------------------------------
Cos  Priority  Weight   Shp        Pct  Drop-Arith
------------------------------------------------------------------
be   3         10       -          -    Tail Drop 
af1  2         10       -          -    Tail Drop 
af2  2         10       -          -    Tail Drop 
af3  1         10       -          -    Tail Drop 
af4  1         10       -          -    Tail Drop 
ef   0         10       -          -    Tail Drop 
cs6  0         10       -          -    Tail Drop 
cs7  0         10       -          -    Tail Drop 
Reference relationships : QoS-profile : 123
# Display detailed information about the flow queue template.
<HUAWEI> system-view
[~HUAWEI] display flow-queue configuration verbose
Codes: Arith(Schedule algorithm)
       U-Weight(Schedule weight configured by users)
       I-Weight(Inverse schedule weight used by TM)
       A-Weight(Actual schedule weight obtained by users)
       Shp(Shaping value)
       Pct(The percentage of subscriber queue's PIR)
       Drop-Arith(The name of the WRED object used by the flow queue)
       Random-Discard(The random discard percentage-value)
       Cir(Cir value)
       C-Pct(Cir percentage-value)
       C-Arith(Cir schedule algorithm)
       C-Weight(Cir schedule weight configured by users)
       Pir(Pir value)
       P-Pct(Pir percentage-value)
       P-Arith(Pir schedule algorithm)
       P-Weight(Pir schedule weight configured by users)
       Priority(Priority of queue's scheduler)
       Weight(Schedule weight configured by users)
       Cos(Priority of queue's)
       CIR-PCT(The percentage of committed information rate)
       CIR-P(The priority schedule of cir)
       CIR-W(Schedule weight of cir)
       PIR-PCT(The percentage of peak information rate)
       PIR-P(The priority schedule of pir)
       PIR-W(Schedule weight of pir)

Flow Queue Template : test
--------------------------------------------------------------------------------------
Cos  Arith  U-Weight  I-Weight  A-Weight  Shp        Pct  Random-Discard  Drop-Arith  
--------------------------------------------------------------------------------------- 
af2  wfq    10        3         10.00     123        -         -          Tail Drop 
af3  wfq    10        3         10.00     123        -         -          Tail Drop 
af4  wfq    15        2         15.00     -          -         -          Tail Drop  
ef   pq     -         -         -         -          -         -          Tail Drop    
cs6  pq     -         -         -         -          -         -          Tail Drop 
cs7  pq     -         -         -         -          -         -          Tail Drop 
-----------------------------------------------------------------------------
Cos  Cir  C-Pct  C-Arith  C-Weight  Pir  P-Pct  P-Arith  P-Weight  Drop-Arith  
-----------------------------------------------------------------------------
be   123    -     pq       -        1234    -     wfq     10       Tail Drop  
af1  -      10    pq       -        -       12    lpq     -        test
Reference relationships : QoS-profile : 2

Flow Queue Template : test1                                         mode: 8cos-enhance-mode
-------------------------------------------------------------------------------------------
Cos CIR/CIR-PCT/CBS/CIR-P/CIR-W   PIR/PIR-PCT/PBS/PIR-P/PIR-W   CAR-MODE Remark  Drop-Arith
-------------------------------------------------------------------------------------------
0   -/-/-/1/10                    -/-/-/3/10                    0        0       Tail Drop 
1   -/-/-/1/10                    -/-/-/3/10                    0        0       Tail Drop 
2   -/-/-/1/10                    -/-/-/3/10                    0        0       Tail Drop 
3   -/-/-/1/15                    -/-/-/3/15                    0        0       Tail Drop 
4   -/-/-/1/15                    -/-/-/3/15                    0        0       Tail Drop 
5   -/-/-/0/20                    -/-/-/2/20                    0        0       Tail Drop 
6   -/-/-/0/20                    -/-/-/2/20                    0        0       Tail Drop 
7   -/-/-/0/20                    -/-/-/2/20                    0        0       Tail Drop 
Reference relationships : NULL
Total number : 1
# Display the summary of all the flow queue templates.
<HUAWEI> system-view
Enter system view, return user view with return command.
Warning: The slave board is not in position. Exercise caution when performing this operation.
[~HUAWEI] display flow-queue configuration
[flow-queue-template brief information]
(defined:3;remained:2045)

 flow-queue-name                    is-used  mode              
 fq1                                no       n/a         
 fq2                                yes      n/a               
 fq3                                yes      n/a               
[~HUAWEI]
Table 1 Description of the display flow-queue configuration command output
Item Description
mode

Flow queue profile mode.

CAR-MODE

Whether the CAR mode is enabled.

Remark

Whether the re-marking function is enabled.

Drop-Arith

Flow queue WRED object used by the flow queue.

Reference relationships

Interface using this template.

Total number

Indicates the number of created flow queue templates.

Arith

Scheduling mode (WFQ, PQ, or LPQ) of the flow queue.

U-Weight

WFQ weight set by the user.

I-Weight

Inversely proportional WFQ weight worked out through a weight algorithm.

A-Weight

WFQ weight actually accepted by the system.

Pct

User-defined shaping percentage value of the flow queue.

Priority

Indicates the priority mode.

Weight

Specifies the weight value of a specified SQ.

Shp

User-defined shaping value of the flow queue.

Random-Discard

User-defined random-discard value of the flow queue.

C-Pct

User-defined CIR percent value of the flow queue.

C-Arith

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

C-Weight

WFQ weight set by a user for CIR.

P-Pct

User-defined PIR percent value of the flow queue.

P-Arith

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

P-Weight

WFQ weight set by a user for PIR.

remained

Indicates the number of remained flow queue templates.

cos

Priority of th flow queue.

cir

User-defined CIR value of the flow queue.

pir

User-defined PIR value of the flow queue.

CIR-PCT

CIR percentage of a flow queue.

CIR-P

CIR priority of a flow queue.

CIR-W

CIR WFQ weight of a flow queue.

PIR-PCT

PIR percentage of a flow queue.

PIR-P

PIR priority of a flow queue.

PIR-W

PIR WFQ weight of a flow queue.

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