Chapter7QoSConguration
Note:
Inaqueueschedulingprole,thequeueofwhichthequeueweightis0shouldbe
conguredattheend.
2.InEthernetinterfacemode,applythequeueschedulingprole.
ZXAN(config)#interfacegei_1/21/1
ZXAN(config-if)#qosqueue-block-profiletest
3.(Optional)QuerytheQoScongurationontheinterface.
ZXAN(config)#showqosinterfacegei_1/21/1
qosqueue-block-profileTEST
4.(Optional)QuerytheQoSqueueschedulingprole.
ZXAN(config-if)#showqosqueue-block-profiletest
-----------------------------------------------------------------
profilename:TEST
profiledetail:
-----------------------------------------------------------------
queue-number:8
queue-weight:23000000
queue-depth:00000000
-----------------------------------------------------------------
profileusedby:
gei_1/21/1
–EndofSteps–
7.1.6ConfiguringTrafficShaping
Byimplementingtrafcshaping,youcansetthepacketratetomatchthatofthereceiving
device,toavoidcongestionorpacketdiscarding.
Context
Trafcshapingcontrolstherateoftheoutputpacketssothatthepacketsaresentata
constantrate.
Bydefault,trafcshapingisdisabled.
Steps
1.InEthernetinterfacemode,conguretrafcshaping.
ZXAN(config)#interfacegei_1/21/1
ZXAN(config-if)#qostraffic-shaperate-limit1280bucket-size512
2.(Optional)QuerytheQoScongurationontheinterface.
7-5
SJ-20130520164529-007|2013-06-30(R1.0)ZTEProprietaryandCondential