Professional Documents
Culture Documents
Congestion Management PDF
Congestion Management PDF
Congestion Management
Last updated: May 3, 2013
Task
Load the starting configuration files for task 1.17.
On R3, create a QoS policy to match ICMP traffic coming from vlan 23 and mark it with a dscp of
AF12.
On R3, also create a policy that matches ICMP traffic coming from the Test PC on vlan 11 and mark
it with a dscp of AF23.
ICMP traffic leaving the F0/0 interface should have the following policy applied.
AF12 Traffic should be given 25% of the interface bandwidth.
AF23 Traffic should be given 15% of the interface bandwidth.
If any voice traffic is seen with a DSCP of EF, it should be priority queued and given 35%
bandwidth.
Remaining Traffic should be fair-queued.
Start by configuring the policy on R3 to match ICMP traffic from vlan 23.
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#access-list 101 permit icmp any any
R3(config)#class-map match-icmp
R3(config-cmap)#match access-g 101
R3(config-cmap)#policy-map mark-traffic
R3(config-pmap)#class match-icmp
R3(config-pmap-c)#set dscp af12
R3(config-pmap-c)#int f0/0.23
R3(config-subif)#service-policy input mark-traffic
R3(config-subif)#
Now configure the policy to mark traffic coming in vlan 11 from the test PC.
R3(config-subif)#exit
R3(config)#class-map match-test-pc
R3(config-cmap)#match access-group 101
R3(config-cmap)#policy-map mark-testpc
R3(config-pmap)#class match-test-pc
R3(config-pmap-c)#set dscp AF23
R3(config-pmap-c)#int f0/0.11
R3(config-subif)#service-policy input mark-testpc
R3(config-subif)#exit
R3(config)#
Create the queueing policy and apply it to the f0/0 interface. Understand that the policy cannot be
applied to a sub-interface.
R3(config)#class-map match-vlan23
R3(config-cmap)#match dscp AF12
R3(config-cmap)#exit
R3(config)#class-map match-vlan11
R3(config-cmap)#match dscp AF23
R3(config-cmap)#exit
R3(config)#class-map match-voice
R3(config-cmap)#match dscp ef
R3(config-cmap)#exit
R3(config)#policy-map QUEUE-OUT
R3(config-pmap)#class match-voice
R3(config-pmap-c)# priority percent 35
R3(config-pmap-c)#class match-vlan23
R3(config-pmap-c)#bandwidth percent 25
R3(config-pmap-c)#class match-vlan11
R3(config-pmap-c)#bandwidth percent 15
R3(config-pmap-c)#class class-default
R3(config-pmap-c)#fair-queue
R3(config-pmap-c)#interface f0/0
R3(config-if)#service-policy output QUEUE-OUT
R3(config-if)#
Verify the policy on each interface. You'll need to generate traffic from each respective vlan so that
the counters increment.
Now look at the queueing policy to ensure that each type of traffic gets its allocated bandwidth.