Chapter8QoSConguration
ExampleThisexampleshowstheconductionofqueuebandwidthlimiton
portgei_1/1andconguresmaximumbandwidthlimitofqueue1
as20Mandminimumbandwidthas2M,maximumbandwidthlimit
ofqueue2as20M,minimumbandwidthlimitofqueue3as2M.
ZXR10(config)#interfacegei_1/1
ZXR10(config-gei_1/1)#traffic-shapequeue1max-datarate-limit20000
min-gua-datarate2000
ZXR10(config-gei_1/1)#traffic-shapequeue2max-datarate-limit20000
ZXR10(config-gei_1/1)#traffic-shapequeue3min-gua-datarate2000
ConfiguringQueueSchedulingand
Default802.1pofthePort
ZXR105900/5200supportstwotypesofqueueschedulingmodes:
StrictPriorityScheduling(SP)andweightedRound-Robin(WRR).
Whenthesetwomodesareusedtogether ,SPhasahigherpriority
thanWRR.
CommandFunction
ZXR10(config-gei_1/x)#queue-modestrict-priority|wrr
<Queuenumber><Queueweight>
Thisconguresqueue
schedulinganddefault802.1p
priorityoftheport.
ExampleThisexampleshowstheimplementingofSPschedulingontheport
gei_1/1.ThisimplementsWRRschedulingonportgei_1/2and
congurestheweightofqueue0toqueue7sequentiallyas10,
5,8,10,5,8,9and10.Default802.1pisconguredontheport
gei_1/2as5.
ZXR10(config)#interfacegei_1/1
ZXR10(config-gei_1/1)#queue-modestrict-priority
ZXR10(config-gei_1/1)#exit
ZXR10(config)#interfacegei_1/2
ZXR10(config-gei_1/2)#queue-modewrr0101528310455869710
ZXR10(config-gei_1/2)#priority5
ConfiguringRedirectionandPolicy
Routing
CommandFunction
ZXR10(config)#redirectin<acl-number>rule-id
<rule-no>{cpu|interface<port-name>|next-hop
<ip-address>}
Thisredirectsthepackets.
ExampleThisexampleshowstheredirectionofthepacketwhosesource
IPaddressis168.2.5.5ontheportgei_1/4totheportgei_1/3.
Inaddition,itistoimplementthepolicyroutingtopacketwhose
CondentialandProprietaryInformationofZTECORPORATION75