Queue scheduling profile configuration example, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual
Page 60
51
Step
Command
Remarks
2.
Create a queue scheduling
profile and enter queue
scheduling profile view.
qos qmprofile profile-name
N/A
3.
Configure queue scheduling
parameters.
•
Configure a queue to use SP:
queue queue-id sp
•
Configure a queue to use WRR:
queue queue-id wrr group
group-id weight weight-value
One queue can use only one
queue scheduling algorithm.
In a queue scheduling profile,
you can configure different
queue scheduling algorithms
for different queues.
By default, each queue uses
the SP queue scheduling.
4.
Return to system view.
quit
N/A
5.
Enter interface view or port
group view.
•
Enter interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
Use either command.
Configured in interface view,
the setting takes effect on the
current interface only.
Configured in port group view,
the setting takes effect on all
ports in the port group.
6.
Apply the queue scheduling
profile to the interface or port
group.
qos apply qmprofile profile-name N/A
IMPORTANT:
•
Only one queue scheduling profile can be applied to an interface.
•
To guarantee accurate scheduling, make sure the queues in a WRR group have consecutive numbers.
Displaying and maintaining queue scheduling profiles
Task
Command
Remarks
Display the configuration of the
specified or all queue scheduling
profiles.
display qos qmprofile configuration
[ profile-name ] [ | { begin | exclude | include }
regular-expression ]
Available in any
view.
Display the queue scheduling
profiles already applied to
interfaces.
display qos qmprofile interface [ interface-type
interface-number ] [ | { begin | exclude |
include } regular-expression ]
Available in any
view.
Queue scheduling profile configuration example
Network requirements
Configure a queue scheduling profile to meet the following requirements on interface GigabitEthernet
3/0/1:
•
Queue 7 is of the highest priority, and its packets are sent preferentially.