QoS queue configuration allows you to reduce the number of outbound queues that all switch ports will use to buffer packets for 802.1p user priorities. By default, there are four priority queues or traffic classes. Using this feature, you can reconfigure the switch to eight-queue mode, or two-queue mode, to increase the available bandwidth per queue.
Use the following commands to change the number of queues per port and display the current priority queue configuration on the switch.
Syntax:
Configures the number of outbound priority queues for all ports on the switch using one of the following options: 2-queues, 4-queues, or 8-queues.
CAUTION: This command will execute a
write memory
followed by an immediate reboot, replacing the Startup configuration with the content of the current Running configuration.
Remove any previously configured bandwidth-min output settings
Set the new number of outbound port queues
If you select anything but ‘yes’ for this operation, the operation is aborted and a message stating
Operation aborted
appears.
Syntax:
To change the number of outbound priority queues for all ports on the switch, use the qos queue-config
command.
|
|
CAUTION: The |
|
|
Example:
To change the number of outbound priority queues for all ports on the switch from four queues (the default) to two:
-
Specify the number of outbound priority queues to be configured using the
qos queue-config
command.HP Switch(config)#: qos queue-config 2-queues
A caution message is displayed (see the Caution note above) concluding with the following prompt:
Do you wish to proceed? [Proceed/Cancel]
-
A second confirmation prompt appears:
Please confirm reset. [Yes/Cancel]
-
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.
Port egress-queue drop counters help customers debug network behavior and performance issues.
Egress-queue drop counters can be used to detect congestion on outbound ports, and help troubleshoot the network. The additional status display by this command show egress port-queue drop
and transmits
, the sum of which should be all traffic intended for the outbound port.
Syntax:
show interfaces
queues... | config | custom ... | display | port-utilization | transceiver ... | status ... | tunnel ... | ethernet
PORT-LIST
Show port configuration and status information.
show interfaces ...
show interface queues a1 Status and Counters - Port Counters for port A1 Name : MAC Address : a01d48-8f99ff Link Status : Down Port Totals (Since boot or last clear) : Rx Packets : 0 Tx Packets : 0 Rx Bytes : 0 Tx Bytes : 0 Rx Drop Packets : 0 Tx Drop Packets : 0 Rx Drop Bytes : 0 Tx Drop Bytes : 0 Egress Queue Totals (Since boot or last clear) : Tx Packets Dropped Packets Tx Bytes Dropped Bytes Q1 123456789012 123456789012 123456789012 123456789012 Q2 12345678 12345678 12345678 12345678 Q3 1234 1234 1234 1234 Q4 0 0 0 0