Chapter4ServiceConguration
Default
Theegresstrafc-shapingfunctionisdisabled.
Example
Thefollowingexamplesetstheegressshapinglimitto2Mbpsandburstsizeto32KBytes
forport2/1:
zte(cfg)#setqostraffic-shapingxge-port2/1data-rate2burst-size8
4.14.29setqostraffic-shapingxge-portqueuedata-rate
Purpose
Thiscommandsetsthequeue-basedegresstrafc-shapingratefora10GBport.
CommandMode
Globalcongurationmode
Syntax
setqostraffic-shapingxge-port<2/1-2/4>queue<0-7>{data-rate<2-10000>burst-size<8
-4094>|disable}
ParameterDescription
ParameterDescription
<2/1-2/4>
10GBportnumber.Differentdeviceshavedifferentportnumber
ranges.Inthesyntax,the2952Edeviceisusedasanexample.
<0-7>QueueID.
data-rateEgresstrafc-shapingrateofthequeue.
<2-10000>Valueofthetrafc-shapingrate.Thecongurationgranularity
is2Mbps.
burst-sizeEgressburstrateofthequeue.
<8-4094>Valueoftheburstrate.Thecongurationgranularityis4KB.
disableDisablesthequeue-basedegresstrafc-shapingfunction.
Default
Thequeue-basedegresstrafc-shapingfunctionisdisabled.
Example
Thefollowingexamplesetstheegressshapinglimitto2Mbpsandburstsizeto32KBytes
forqueue2onport2/1:
4-323
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential