1-28
Related command: display qos ip-precedence-local-precedence-map.
Only H3C S3100-SI series switches support this command.
Example
# Configure the IP-precedence-to-local-precedence mapping relationship as follows: 0 to 1, 1 to 1, 2 to
0, 3 to 0, 4 to 2, 5 to 2, 6 to 3, and 7 to 3 (assuming that the current device is an S3100-SI series switch).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] qos cos-local-precedence-map 1 1 0 0 2 2 3 3
# Display the configuration result.
[Sysname] display qos ip-precedence-local-precedence-map
ip-precedence-local-precedence-map:
ip-precedence : 0 1 2 3 4 5 6 7
------------------------------------------------------------------
local-precedence(queue) : 1 1 0 0 2 2 3 3
queue-scheduler
Syntax
queue-scheduler { strict-priority | hq-wrr queue0-weight queue1-weight queue2-weight | wrr
queue0-weight queue1-weight queue2-weight queue3-weight }
undo queue-scheduler
View
System view
Parameter
strict-priority: Adopts the strict priority (SP) algorithm for queue scheduling.
hq-wrr queue0-weight queue1-weight queue2-weight: Adopts the HQ-WRR queue scheduling
algorithm. The queue0-weight argument, the queue1-weight argument, and the queue2-weight
argument are the weight assigned to queue 0, queue 1, and queue 2. The weight assigned to a queue is
in the range of 1 to 15.
wrr: Adopts the weighted round robin (WRR) algorithm for queue scheduling.
queue0-weight queue1-weight queue2-weight queue3-weight: Weights to be assigned to queue 0
through queue 3. The value ranges from 1 to 15.
Description
Use the queue-scheduler command to configure a queue scheduling algorithm and the related
parameters for specific queues.
Use the undo queue-scheduler command to restore the default.