Queue profile

A queue profile defines the queues that are associated with an interface to control the transmission of packets. Each profile supports up to eight queues, numbered 0 to 7. The larger the queue number, the higher its priority during transmission scheduling. Packets are assigned to a queue based on their local priority value (0 to 7). A queue profile must map all eight local priority values to whatever queues are being used on the switch, and a schedule profile must specify the configuration for those same queues. A queue without a local priority value assigned to it is not used to store packets.

开关是自动的ally provisioned with an initial queue profile named出厂默认值which assigns each local priority to the queue of the same number. To see the default queue profile, use the commandshow qos queue-profile factory-default:

switch#show qos queue-profile factory-defaultqueue_num local_priorities name --------- ---------------- ---- 0 0 Scavenger_and_backup_data 1 1 2 2 3 3 4 4 5 5 6 6 7 7
More than one local priority value can be assigned to the same queue. For example,
Local Priority Queue
0 0
1 1
2 2
3 3
4 4
5 5
6 5
7 5

Commonly used commands for working with QoS queues are as follows:
  • qos queue-profile: Creates an empty queue-profile and enters the profile configuration context.

  • 队列名称: Assigns a descriptive name to a queue.

  • map queue: Assigns a local-priority to a queue.

  • apply qos queue-profile: Applies a queue-profile globally to all interfaces.