beautypg.com

Configuration procedure, Configuring wfq queuing – H3C Technologies H3C S10500 Series Switches User Manual

Page 56

background image

48

2.

Configuration procedure

# Enter system view.

system-view

# Configure WRR queuing on GigabitEthernet 1/0/1.

[Sysname] interface GigabitEthernet 1/0/1

[Sysname-GigabitEthernet1/0/1] qos wrr

[Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 weight 1

[Sysname-GigabitEthernet1/0/1] qos wrr 1 group 1 weight 2

[Sysname-GigabitEthernet1/0/1] qos wrr 2 group 1 weight 4

[Sysname-GigabitEthernet1/0/1] qos wrr 3 group 1 weight 6

[Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 8

[Sysname-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 10

[Sysname-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 12

[Sysname-GigabitEthernet1/0/1] qos wrr 7 group 1 weight 14

Configuring WFQ queuing

Configuration procedure

Follow these steps to configure WFQ queue:

To do…

Use the command…

Remarks

Enter system view

system-view —

Enter

interface
view

interface interface-type interface-number

Enter

interface
view or port

group view

Enter port
group view

port-group manual port-group-name

Use either command.
Settings in interface view take

effect on the current interface.
Settings in port group view take

effect on all ports in the port group.

Enable byte-count or
packet-based WFQ queuing qos wfq [ byte-count | weight ]

Required
The default queuing algorithm on

an interface is SP queuing.

For a
byte-count

WFQ queue

qos wfq queue-id group group-id
byte-count schedule-value

Configure
the

scheduling
weight for a

queue

For a
packet-based

WFQ queue

qos wfq queue-id group group-id weight
schedule-value

Select a command according to
the WFQ type (byte-count or

packet-based) you have enabled.
If you have enabled WFQ on the
port, byte-count WRR applies by

default, and the default scheduling

weight is 1 for each queue.

Configure the minimum
guaranteed bandwidth for a

WFQ queue

qos bandwidth queue queue-id min
bandwidth-value

Optional
64 kbps by default for each queue.

Display WFQ queuing
configuration

display qos wfq interface [ interface-type
interface-number
] [ | { begin | exclude |

include } regular-expression ]

Optional
Available in any view

This manual is related to the following products: