clear port txq
10-8 Port Priority and Rate Limiting 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.Weightsarespecifiedintherange
of0to100percent.Weightssp ecifiedforqueues0through5onanyportmusttotal100percent.
Queues
0through5canbechangedtostrictprioritybyconfiguringqueues0through4at0
percentandqueue5at100percent.QueuescanbechangedbacktoWRRbychangingtheweight
ofqueues0through5,orbyissuingtheclea rporttxqcommand.
Examples
Thisexampleshowshowtochangethearbitrationvaluesforthesixtransmitqueuesbelongingto
ge.1.1:
C2(su)->set port txq ge.1.1 17 17 17 17 16 16
Thisexampleshowshowtochangethealgorithmtostrictpriorityforthesixtransmitqueues
belongingto
ge.1.1:
C2(su)->set port txq ge.1.1 0 0 0 0 0 100
C2(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‐2.
Onlyphysicalportscanbeconfiguredwiththiscommand.LAGports
cannotbeconfigured.
value0‐value5 Specifiespercentageto
allocatetoaspecifictransmitqueue.Thevalues
musttotal100percent.