Configuring the number of priority queues

To change the number of outbound priority queues for all ports on the switch, use the qos queue-config command.

CAUTION:

The qos queue-config command executes a write memory followed by an immediate reboot, replacing the Startup configuration with the contents of the current Running configuration.

Example:

To change the number of outbound priority queues for all ports on the switch from four queues to two:

Procedure
  1. Configure the number of outbound priority queues by using the qos queue-config command.
    switch(config)# qos queue-config 2-queues
    
  2. A caution message is displayed (see the Caution note above) concluding with the following prompt:
    Do you want to save the current configuration? [y/n]
    
    Device will be rebooted, do you want to continue? [y/n]
  3. A second confirmation prompt appears:
    Please confirm reset. [Yes/Cancel]
  4. Type ‘y’ (Yes) to initiate a write memory followed by an immediate reboot (entering ‘n’ (No) at either of the two prompts will cancel the command and maintain the current queue configuration on the switch).
  5. The changes will be committed to the startup configuration and the switch will reboot automatically with the new priority queue changes in effect.