clear port txq
Parameters
port‐string
value0 ‐ value5
Defaults
None.
Mode
Switch command, read‐write.
Usage
Eight transmit queues are implemented in the switch hardware for each physical port, but only six
are available for use in prioritizing various data and control traffic. The seventh and eighth queues
are reserved for stacking (if applicable) and network control related communications and cannot
be configured.
Queues can be set for strict priority (SP) or weighted round‐robin (WRR). If set for WRR mode,
weights may be assigned to those queues with this command. Weights are specified in the range of
0 to 100 percent. Weights specified for queues 0 through 5 on any port must total 100 percent.
Queues 0 through 5 can be changed to strict priority by configuring queues 0 through 4 at 0
percent and queue 5 at 100 percent. Queues can be changed back to WRR by changing the weight
of queues 0 through 5, or by issuing the clear port txq command.
Examples
This example shows how to change the arbitration values for the six transmit queues belonging to
.1.1:
ge
B3(su)->set port txq ge.1.1 17 17 17 17 16 16
This example shows how to change the algorithm to strict priority for the six transmit queues
belonging to
B3(su)->set port txq ge.1.1 0 0 0 0 0 100
B3(su)->show port txq ge.1.1
Port
-----
ge.1.1
clear port txq
Use this command to clear port transmit queue values back to their default values.
Syntax
clear port txq port-string
11-8 Port Priority Configuration
Specifies port(s) on which to set queue arbitration values. For a detailed
description of possible port‐string values, refer to "Port String Syntax Used
in the CLI" on page 5‐1.
Only physical ports can be configured with this command. LAG ports
cannot be configured.
Specifies percentage to allocate to a specific transmit queue. The values
must total 100 percent.
.1.1:
ge
Alg
Q0
Q1
Q2
Q3
--- --- --- --- --- --- --- --- ---
STR SP
SP
SP
SP
Q4
Q5
Q6
Q7
SP
SP
SP
SP