clear port txq
11-8 Port Priority Configuration
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Eighttransmitqueuesareimplementedintheswitchhardwareforeachphysicalport,butonlysix
areavailableforuseinprioritizingvariousdataandcontroltraffic.Theseventhandeighthqueues
arereservedforstacking(ifapplicable)andnetworkcontrolrelatedcommunicationsandcannot
beconfigured.
Queuescanbeset
forstrictpriority(SP)orweightedround‐robin(WRR).IfsetforWRRmode,
weightsmaybeassignedtothosequeueswiththiscommand.Weightsarespecifiedintherangeof
0to100percent.Weightss p ecifiedforqueues0through5onanyportmusttotal100percent.
Queues
0through5canbechangedtostrictprioritybyconfiguringqueues0through4at0
percentandqueue5at100percent.QueuescanbechangedbacktoWRRbychangingtheweight
ofqueues0through5,orbyissuingtheclea rporttxqcommand.
Examples
Thisexampleshowshowtochangethearbitrationvaluesforthesixtransmitqueuesbelongingto
ge.1.1:
B3(su)->set port txq ge.1.1 17 17 17 17 16 16
Thisexampleshowshowtochangethealgorithmtostrictpriorityforthesixtransmitqueues
belongingto
ge.1.1:
B3(su)->set port txq ge.1.1 0 0 0 0 0 100
B3(su)->show port txq ge.1.1
Port Alg Q0 Q1 Q2 Q3 Q4 Q5 Q6 Q7
----- --- --- --- --- --- --- --- --- ---
ge.1.1 STR SP SP SP SP SP SP SP SP
clear port txq
Usethiscommandtoclearporttransmitqueuevaluesbacktotheirdefaultvalues.
Syntax
clear port txq port-string
port‐string Specifiesport(s)onwhichtosetqueuearbitrationvalues.Foradetailed
descriptionofpossibleport‐stringvalues,referto“PortStringSyntaxUsed
intheCLI”onpage 5 ‐1.
Onlyphysicalportscanbeconfiguredwiththiscommand.LAGports
cannotbeconfigured.
value0‐value5 Specifiespercentageto
allocatetoaspecifictransmitqueue.Thevalues
musttotal100percent.