Configure an Egress QoS Queue Profile
Configure a queue profile to apply the configured egress queue parameters to queues and ports.
About this task
After you make a configuration change to a queue profile, you must apply the profile before the changes take effect.
Note
The switch supports six queue profiles. The default queue profile, with the name default and ID 1, is automatically created during system startup and cannot be deleted.
Procedure
Examples
Configure the queue profile for queue 6 to use a weight of 20.
Switch:1(config)#qos queue-profile 6 Switch:1(config)#qos queue-profile queue 6 1 min-weight 20 Switch:1(config)#qos queue-profile 6 apply
View the queue profile configuration.
Switch:1#show qos queue-profile ========================================================================================== Qos Queue Profile ========================================================================================== Profile Profile Profile ID Name Port List ------------------------------------------------------------------------------------------ 1 default 1/1-1/42,2/1-2/42 6 profile-6
The value in the Weight Applied column is the maximum bandwidth for Strict Priority queues (Rate Limit Enabled) and the weight in the WRR scheduling algorithm applied per queue. Strict Priority queues are serviced first and limited to the configured percentage of bandwidth. WRR queues (no rate limit applied) have no upper boundary, other than the delta between the available bandwidth per port and the one consumed by Strict Priority queues. For WRR queues, there is no association with the bandwidth percentage servicing this queue; the bandwidth that can be served is relative to the available bandwidth at a certain moment and the load of other queues.
Switch:1(config)#show qos queue-profile 1 queue 1 ================================================================================= Qos Queue Profile Table ================================================================================= Profile Profile Queue Weight Weight Rate-limit Rate-limit ID Name ID Applied Configured Applied Configured --------------------------------------------------------------------------------- 1 default 1 0 20 ENABLE DISABLE
Switch:1(config)#show qos queue-profile 1 queue all ================================================================================= Qos Queue Profile Table ================================================================================= Profile Profile Queue Weight Weight Rate-limit Rate-limit ID Name ID Applied Configured Applied Configured --------------------------------------------------------------------------------- 1 default 0 10 10 DISABLE DISABLE 1 default 1 20 20 DISABLE DISABLE 1 default 2 30 30 DISABLE DISABLE 1 default 3 40 40 DISABLE DISABLE 1 default 4 50 50 DISABLE DISABLE 1 default 5 50 50 DISABLE DISABLE 1 default 6 50 50 DISABLE ENABLE 1 default 7 5 5 ENABLE ENABLE
Variable Definitions
The following table defines parameters for the qos queue-profile queue command.
Variable |
Value |
---|---|
<1–6> |
Specifies the queue profile ID. Note:
The switch supports six queue profiles. The default queue is 1. |
<0-7> |
Specifies the egress queue to configure. |
min-weight <1-100> |
Configures the queue weight for weighted round robin (WRR), or the rate-limit in percentage of the link rate for queue shaping enabled on the queue. For rate-limit-enabled queues, 50 indicates 50% bandwidth. The overall rate-limit-enabled queues cannot sum higher than 100 min-weight. If rate-limiting is not enabled, this parameter configures the weight in the WRR scheduler. These values are not associated with bandwidth percentage. The following list identifies the default minimum weight for each queue:
|
member add {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} |
Specifies a port member of the queue-profile to add or remove. |
name WORD<0–64> |
Specifies a profile name. |
rate-limit-enable |
Enables rate limiting on the queue. By default, rate limiting is enabled for queues 6 and 7 only; it is disabled for queues 0 through 5. |
The following table defines parameters for the show qos queue-profile command.
Variable |
Value |
<1–6> |
Specifies the queue profile ID. If you do not include a queue profile ID, the command output displays all configured profiles. Note:
The switch supports six queue profiles. The default queue is 1. |
<0-7> |
Specifies the egress queue. Displays configuration settings of the specified egress queue. |
all |
The command output displays the configuration settings of all eight egress queues of the queue profile. |