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.
The switch is automatically provisioned with an initial queue profile named
factory-default
which assigns each local priority to the queue of the same number. To see the default queue profile, use the command
show qos queue-profile factory-default
:
switch# show qos queue-profile factory-default queue_num local_priorities name --------- ---------------- ---- 0 0 Scavenger_and_backup_data 1 1 2 2 3 3 4 4 5 5 6 6 7 7
Local Priority | Queue |
---|---|
0 | 0 |
1 | 1 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 5 |
6 | 5 |
7 | 5 |
Queues must be consecutively defined starting at queue number zero. For example, a four-queue profile with priority values defined for queues 0, 1, 2, 3 is valid, but a four-queue profile which defines priority values for queues 1, 3, 5, and 7 is not.
Local Priority | Queue |
---|---|
0 | 0 |
1 | 1 |
2 | 1 |
3 | 1 |
4 | 2 |
5 | 2 |
6 | 3 |
7 | 3 |
Local Priority | Queue |
---|---|
0 | 0 |
1 | 1 |
2 | 1 |
3 | 3 |
4 | 3 |
5 | 5 |
6 | 5 |
7 | 7 |
The following diagram shows the commands that are used to configure a queue profile.