ZXR10 ZSR V2 Configuration Guide (IPv6)
l
For queues with the priority value 0, the lowest discard threshold is 30 kb, the highest
discard threshold is 100 kb, the discard probability is 90%, and the average queue
length indicator is 8.
l
For queues with the priority value 1, the lowest discard threshold is 120 kb, the highest
discard threshold is 200 kb, the discard probability is 80%, and the average queue
length indicator is 8.
l
For queues with the priority value 2, the lowest discard threshold is 220 kb, the highest
discard threshold is 300 kb, the discard probability is 70%, and the average queue
length indicator is 8.
Configuration Flow
1.
Create a class-map and match it with precedence 0-2.
2.
Create a policy-map, add the new class matching precedence 0-2 to the policy, and
add the queues of different priorities in the class to WRED.
3.
Select a PQ from the policy classes.
4.
Bind the policy-map to the egress direction of the interface.
Configuration Commands
1.
Configure the class.
ZXR10(config)#class-map pre0-2 match-all ipv6
ZXR10(config-cmap)#match precedence 0-2
ZXR10(config-cmap)#exit
2.
Configure the policy.
ZXR10(config)#policy-map wred
ZXR10(config-pmap)#class pre0-2
ZXR10(config-pmap-c)#random-detect enable
ZXR10(config-pmap-c)#random-detect weight 8
ZXR10(config-pmap-c)#random-detect precedence 0 30 100 90
ZXR10(config-pmap-c)#random-detect precedence 1 120 200 80
ZXR10(config-pmap-c)#random-detect precedence 2 220 300 70
ZXR10(config-pmap-c)#priority-level 1
ZXR10(config-pmap-c)#exit
ZXR10(config-pmap)#exit
3.
Bind the policy to the interface.
ZXR10(config)#service-policy gei-1/7 output wred
Configuration Verification
Check policy configuration.
ZXR10(config)#show policy-map
policy-map wred
class pre0-2
random-detect
enable
random-detect weight 8
22-4
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential