ZXR10ZSRV2CongurationGuide(IPv6)
lForqueueswiththepriorityvalue0,thelowestdiscardthresholdis30kb,thehighest
discardthresholdis100kb,thediscardprobabilityis90%,andtheaveragequeue
lengthindicatoris8.
lForqueueswiththepriorityvalue1,thelowestdiscardthresholdis120kb,thehighest
discardthresholdis200kb,thediscardprobabilityis80%,andtheaveragequeue
lengthindicatoris8.
lForqueueswiththepriorityvalue2,thelowestdiscardthresholdis220kb,thehighest
discardthresholdis300kb,thediscardprobabilityis70%,andtheaveragequeue
lengthindicatoris8.
CongurationFlow
1.Createaclass-mapandmatchitwithprecedence0-2.
2.Createapolicy-map,addthenewclassmatchingprecedence0-2tothepolicy,and
addthequeuesofdifferentprioritiesintheclasstoWRED.
3.SelectaPQfromthepolicyclasses.
4.Bindthepolicy-maptotheegressdirectionoftheinterface.
CongurationCommands
1.Conguretheclass.
ZXR10(config)#class-mappre0-2match-allipv6
ZXR10(config-cmap)#matchprecedence0-2
ZXR10(config-cmap)#exit
2.Congurethepolicy.
ZXR10(config)#policy-mapwred
ZXR10(config-pmap)#classpre0-2
ZXR10(config-pmap-c)#random-detectenable
ZXR10(config-pmap-c)#random-detectweight8
ZXR10(config-pmap-c)#random-detectprecedence03010090
ZXR10(config-pmap-c)#random-detectprecedence112020080
ZXR10(config-pmap-c)#random-detectprecedence222030070
ZXR10(config-pmap-c)#priority-level1
ZXR10(config-pmap-c)#exit
ZXR10(config-pmap)#exit
3.Bindthepolicytotheinterface.
ZXR10(config)#service-policygei-1/7outputwred
CongurationVerication
Checkpolicyconguration.
ZXR10(config)#showpolicy-map
policy-mapwred
classpre0-2
random-detectenable
random-detectweight8
22-4
SJ-20140504150128-018|2014-05-10(R1.0)ZTEProprietaryandCondential