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:

  • Specify the number of outbound priority queues to be configured using the qos queue-config command.
    switch(config)# qos queue-config 2-queues
    
    A caution message is displayed (see the Caution note above) concluding with the following prompt:
    This command will modify the current running configuration,
     execute 'write memory' to replace the startup configuration,
     and then reboot.
    
     Egress queues will be configured as follows:
      Number of Queues : 2
    
    Do you want to save the current configuration (y/n)? y
  • Type y to continue.

  • A second confirmation prompt appears:
    This will reboot the system.
    
    Continue (y/n)?
  • 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.