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.

The no form of this command removes the local priority from a specific queue.

Command context

config-queue

Parameters

<QUEUE-NUMBER>

Specifies the number of the queue. Range: 0 to 7.

<PRIORITY-NUMBER>

Specifies a priority number for the queue. 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