December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to use Class-Based Weighted Fair Queuing on an interface.
There are three steps to configuring Class-Based Weighted Fair Queuing (CBWFQ) on a router. First, you have to create one or more class maps that describe the traffic types. Then you create a policy map that tells the router what to do with these traffic types. Finally, you need to attach this policy map to one or more of the router’s interfaces:
Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#class-mapRouter(config-cmap)#highprecdescriptionRouter(config-cmap)#Highest priority Prec=5match ip precedenceRouter(config-cmap)#5exitRouter(config)#class-mapRouter(config-cmap)#medhiprecdescriptionRouter(config-cmap)#Medium-high priority Prec=4match ip precedenceRouter(config-cmap)#4exitRouter(config)#class-map medRouter(config-cmap)#loprecdescriptionRouter(config-cmap)#Medium-low priority Prec=2,3match ip precedenceRouter(config-cmap)#2 3exitRouter(config)#policy-mapRouter(config-pmap)#cbwfqpolicyclassRouter(config-pmap-c)#highprecbandwidth percentRouter(config-pmap-c)#25exitRouter(config-pmap)#classRouter(config-pmap-c)#medhiprecbandwidth percentRouter(config-pmap-c)#25exitRouter(config-pmap)#class medRouter(config-pmap-c)#loprecbandwidth percentRouter(config-pmap-c)#25exitRouter(config-pmap)#class class-defaultRouter(config-pmap-c)#fair-queueRouter(config-pmap-c)#512queue-limit ...