Changing the number of priority queues (Example)

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. Setting the number of outbound port queues, the new configuration will remove any previously configured bandwidth-min output settings.

To change the number of outbound priority queues for all ports on the switch from eight queues (the default) to four:

Procedure
  1. Configure the number of outbound priority queues by using the qos queue-config command.
    switch(config)# qos queue-config 4-queues
    

    A caution message is displayed (see the Caution note above) concluding with the following prompt.

    Do you wish to proceed? [Proceed/Cancel]
  2. Type Proceed to continue.

    A second confirmation prompt appears:

    Please confirm reset. [Yes/Cancel]
  3. Type Yes to initiate a write memory followed by an immediate reboot. (If you enter Cancel at either of the two prompts, the command is aborted and the current queue configuration is maintained on the switch).

    The changes will be committed to the startup configuration and the switch will reboot automatically with the new priority queue changes in effect.