Queue Scheduling Profile Configuration Example; Setting The Queue Aging Time - HP FlexFabric 5700 series Configuration Manual

Hide thumbs Also See for FlexFabric 5700 series:
Table of Contents

Advertisement

Queue scheduling profile configuration example

Network requirements
Configure a queue scheduling profile on interface Ten-GigabitEthernet 1/0/1 to meet the following
requirements:
Queue 7 has the highest priority, and its packets are sent preferentially.
Queue 4, queue 5, and queue 6 in WRR group 1 are scheduled according to their weights, which
are 1, 5, and 10, respectively. When queue 7 is empty, WRR group 1 is scheduled.
Queues 0 through 3 in WRR group 2 are scheduled according to their weights, which are 1, 1, 10,
and 15, respectively. When queues 4 through 7 are all empty, WRR group 2 is scheduled.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Create a queue scheduling profile named 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 weights 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 queues 0 through 3 to WRR group 2, with their weights as 1, 1, 10, and 15, respectively.
[Sysname-qmprofile-qm1] queue 0 wrr group 2 weight 1
[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 15
[Sysname-qmprofile-qm1] quit
# Apply the queue scheduling profile qm1 to interface Ten-GigabitEthernet 1/0/1.
[Sysname] interface Ten-GigabitEthernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] qos apply qmprofile qm1

Setting the queue aging time

When the queue aging time expires, packets already in queues are dropped.
To set the queue aging time:
Step
1.
Enter system view.
2.
Set the queue aging time.
Command
system-view
qos queue aging-time time-value
57
Remarks
N/A
By default, the queue aging time is 0
milliseconds (the aging feature is
disabled).

Advertisement

Table of Contents
loading

Table of Contents