Queue scheduling profile configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 72

Advertising
background image

63

Queue scheduling profile configuration example

Network requirements

Configure a queue scheduling profile on GigabitEthernet 3/1/1 to do the following:

Assign queue 7 the highest priority to forward its packets preferentially.

Assign queue 4, queue 5, and queue 6 to WRR group 1 to schedule them according to their
weights, which are 1, 5, and 10, respectively. When queue 7 is empty, WRR group 1 is scheduled.

Assign queue 1, queue 2, and queue 3 to WRR group 2 to schedule them according to their weights,
which are 1, 10, and 20, respectively. When queues 4 to 7 are all empty, WRR group 2 is

scheduled.

Assign queue 0 the lowest priority. Queue 0 is scheduled when all the other queues are empty.

Configuration procedure

# Enter system view.

<Sysname> system-view

# Create queue scheduling profile qm1.

[Sysname] qos qmprofile qm1

[Sysname-qmprofile-qm1]

# Configure queue 7 to use SP queuing.

[Sysname-qmprofile-qm1] queue 7 sp

# Assign queue 4, queue 5, and queue 6 to WRR group 1, with the weight of 1, 5, and 10, respectively.

[Sysname-qmprofile-qm1] queue 4 wrr group 1 weight 1

[Sysname-qmprofile-qm1] queue 5 wrr group 1 weight 5

[Sysname-qmprofile-qm1] queue 6 wrr group 1 weight 10

# Assign queue 1, queue 2, and queue 3 to WRR group 2, with the weight of 1, 10, and 20, respectively.

[Sysname-qmprofile-qm1] queue 1 wrr group 2 weight 1

[Sysname-qmprofile-qm1] queue 2 wrr group 2 weight 10

[Sysname-qmprofile-qm1] queue 3 wrr group 2 weight 20

# Configure queue 0 to use SP queuing.

[Sysname-qmprofile-qm1] queue 0 sp

[Sysname-qmprofile-qm1] quit

# Apply queue scheduling profile qm1 to the incoming traffic of GigabitEthernet 3/1/1.

[Sysname] interface gigabitethernet 3/1/1

[Sysname-GigabitEthernet3/1/1] qos apply qmprofile qm1

After the configuration is completed, GigabitEthernet 3/1/1 performs queue scheduling as specified in
queue scheduling profile qm1.

Advertising
This manual is related to the following products: