December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to control congestion on an interface before it becomes a problem.
The syntax for configuring WRED changed with the introduction of class-based QoS. The old method defined WRED across an entire interface:
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#interfaceRouter(config-if)#HSSI0/0random-detectRouter(config-if)#random-detect precedence 0 10 20 10Router(config-if)#random-detect precedence 1 12 20 10Router(config-if)#random-detect precedence 2 15 25 15Router(config-if)#random-detect precedence 3 18 25 15Router(config-if)#random-detect precedence 4 20 30 20Router(config-if)#random-detect precedence 5 22 30 20Router(config-if)#random-detect precedence 6 30 40 25Router(config-if)#random-detect precedence 7 40 50 100Router(config-if)#random-detect precedence RSVP 45 50 100Router(config-if)#exitRouter(config)#endRouter#
The new configuration method uses the same syntax as CBWFQ:
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#class-mapRouter(config-cmap)#Prec5descriptionRouter(config-cmap)#Criticalmatch ip precedenceRouter(config-cmap)#5exitRouter(config)#policy-mapRouter(config-pmap)#cb_wredclassRouter(config-pmap-c)#Prec5random-detect dscp-basedRouter(config-pmap-c)#exitRouter(config-pmap)#class class-defaultRouter(config-pmap-c)#fair-queueRouter(config-pmap-c)#512queue-limitRouter(config-pmap-c)# ...96
Read now
Unlock full access