You are on page 1of 1

Zoom Technologies CCNP Lab Guide

INDIA(config)#class-map ftpclass
INDIA(config-cmap)#match protocol ftp
INDIA(config-cmap)#exit

*Create a policy-map to define what has to be done with each type of traffic that
have been defined in the class-maps.

INDIA(config)#policy-map ccnpqos
INDIA(config-pmap)#class httpclass
INDIA(config-pmap-c)#bandwidth percent 10
INDIA(config-pmap-c)#exit
INDIA(config-pmap)#class ftpclass
INDIA(config-pmap-c)#bandwidth percent 60
INDIA(config-pmap-c)#exit
INDIA(config-pmap)#exit

*The policy-map now has to be implemented on the proper interface in the proper
direction on the router close to the source of the traffic.
INDIA(config)#interface serial 1/2
INDIA(config-if)#service-policy output ccnpqos
INDIA(config-if)#end

*You will observe that in absence of traffic from one protocol, the other takes up
the entire bandwidth. To prevent this, we can configure ‘policing’ to limit the
bandwidth usage of a certain type of data flow to a fixed value.
INDIA(config)#policy-map ccnpqos
INDIA(config-pmap)#class httpclass
INDIA(config-pmap-c)# police rate percent 10
INDIA(config-pmap-c-police)#exceed-action drop
INDIA(config-pmap-c-police)#end

*Now you will observe that even though you stop the FTP data, the HTTP
download does not cross 10% of the total available bandwidth.

68 | P a g e

You might also like