From: Henry Ugwuadu (ugwuadu@gmail.com)
Date: Wed Feb 18 2009 - 10:32:54 ARST
Hello mayokun,
You can try this.
class-map match-any IMAGES
match protocol http mime "*.jpg"
match protocol http mime "*.jpeg"
match protocol http mime "*.gif"
class-map match-all WEB
match protocol http host "www.abc.com"
class-map match-all DROP
match class-map WEB
match class-map IMAGES
policy-map POLICY
class WEB
bandwidth 32000
class DROP
drop
int f0/0
ip nbar protocol-discovery
service-policy input POLICY
HTH,
Henro
On 18 Feb 2009, at 13:07, olumayokun fowowe wrote:
> Hello all,
>
> I ve got a scenario here, I want to allocate 32kbps for replies from a
> webserver for address with the url http:// www.abc.com . And I want my
> router to drop any image file of type jpeg, jpg and gif. Is the
> following
> config correct:
>
> class-map match-all WEB
> match protocol http url http://www.abc.com/*
>
> class-map mat-all IMAGES
> match protocol http url http://www.abc.com/*
> match protocol http url *.jpg|*.jpeg|*.gif
>
> policy-map POLICY
> class WEB
> police 32000
> class IMAGES
> drop
>
> int f0/0
> service-policy in POLICY
>
>
> What I'm really concerned about is the IMAGES class where I have a
> match-all. Will my solution still be correct?
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sun Mar 01 2009 - 09:44:11 ARST