Specifications

set port ratelimit
13-12 Port Priority and Rate Limiting Configuration
set port ratelimit
Usethiscommandtoconfigurethetrafficratelimitingstatusandthreshold(inkilobytesper
second)foroneormoreports.
Syntax
set port ratelimit {disable | enable} | port-string priority threshold
{disable | enable} [inbound] [index]
Parameters
Defaults
Thresholdwillbeappliedtoinboundtrafficontheport/priority.
Ifindexisnotspecified,settingswillbeappliedtoinde x1,andwilloverwriteindex1forany
subsequentratelimitsconfigured.
Mode
Switch command, read-write.
Example
Thisexampleshowshowto:
globallyenableratelimiting
configureratelimitingforinboundtrafficonportfe.2.1,index1,priority5,toathresholdof
125 KBps:
B2(rw)->set port ratelimit enable
B2(rw)->set port ratelimit fe.2.1 5 125 enable inbound
disable|enable Whenenteredwithoutaportstring,globallydisablesorenablestheport
ratelimitingfunction.Whenenteredwithaportstring,disablesor
enablesratelimitingonspecificport(s)whentheglobalfunctionis
enabled.
portstring Specifiesaportonwhichtosettheratelimitingthreshold
andother
parameters.Foradetaileddescriptionofpossibleportstringvalues,
refertoPortStringSyntaxUsedintheCLIonpage 72.
priority Specifiesthe802.1D(802.1p)portprioritylevelassociatedwiththeport
string.Thevaluecan be0to7,with0specifyingthelowestpriority.
threshold Specifiesaportratelimitingthresholdinkilobytespersecond.Rangeis
64uptoamaximumof2,14 7,483,647kilobytespersecond.
inbound (Optional)Appliesthisratepolicingruletoinboundtraffic.
index (Optional)Assignsaresourceindexforthisport.