R211x-HP Flexfabric 11900 ACL and QoS Configuration Guide

54
Task Command
Display the configuration of the specified or
all queue scheduling profiles (in standalone
mode).
display qos qmprofile configuration [ profile-name ] [ slot
slot-number ]
Display the configuration of the specified or
all queue scheduling profiles (in IRF mode).
display qos qmprofile configuration [ profile-name ] [ chassis
chassis-number slot slot-number ]
Display the queue scheduling profiles
already applied to interfaces.
display qos qmprofile interface [ interface-type
interface-number ]
Queue scheduling profile configuration example
Network requirements
Configure a queue scheduling profile to meet the following requirements on interface
Ten-GigabitEthernet 1/0/1:
Queue 7 has the highest priority, and its packets are sent preferentially.
Queue 4, queue 5, and queue 6 are in WRR group 1 and scheduled according to their weights,
which are 1, 5, and 10, respectively. When queue 7 is empty, WRR group 1 is scheduled.
Queue 1, queue 2, and queue 3 are in WRR group 2 and scheduled according to their weights,
which are 1, 10, and 15, respectively. When queue 4, queue 5, queue 6, and queue 7 are all
empty, WRR group 2 is scheduled.
Queue 0 has 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 15, 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 15
# Configure queue 0 to use SP queuing.
[Sysname-qmprofile-qm1] queue 0 sp
[Sysname-qmprofile-qm1] quit
# Apply 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