map queue
Syntax
map queue <QUEUE-NUMBER> local-priority <PRIORITY-NUMBER>
no map queue <QUEUE-NUMBER> [local-priority <PRIORITY-NUMBER>]
Description
Defines the local priority for a queue in a queue profile. By default, the larger the queue number the higher its priority. Only one local priority value can be assigned to each queue. A queue without any local priorities assigned is not used to store packets.
Before a queue can be applied, all local priorities must be assigned to a queue.
Theno
form of this command removes the specified local priority from a specific queue. If no local priority number is specified, then all local priorities are removed from the queue.
Command context
config-queue
Parameters
<QUEUE-NUMBER>
Specifies the queue number. Range: 0 to 7.
<PRIORITY-NUMBER>
Specifies the queue priority. Range: 0 to 7, where 0 is the lowest priority and 7 is the highest.
Authority
Administrators
Examples
Assigning the priority 7 to queue 7 in profile myprofile:
switch(config)# qos queue-profile myprofile switch(config-queue)# map queue 7 local-priority 7
Removing the priority 7 from queue 7 in profile myprofile:
switch(config)# qos queue-profile myprofile switch(config-queue)# no map queue 7 local-priority 7