From: Andrew Larkins (andrew.larkins@BTGroup.co.za)
Date: Tue May 29 2007 - 06:55:12 ART
Should the class map not rather refer to MIME type rather than URL?
class-map match-any Class_Match-images
match protocol http mime "*.jpeg|*.jpg|*.bmp"
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Prashanth Krishnappa
Sent: 29 May 2007 10:18 AM
To: Shamin
Cc: Cisco certification
Subject: Re: QOS question
I would use something like this
class-map match-all Class_URL_VLAN
match protocol http url "www.cisco.com/directory"
class-map match-any Class_Match-images
match protocol http url "*.jpeg|*.jpg|*.bmp"
class-map match-all Class_Images_in_URL
match class-map Class_URL_VLAN
match class-map Class_Match-images
!
!
policy-map Policy_NBAR
class Class_Images_in_URL
drop
class Class_URL_VLAN
police 64000
On 5/29/07, Shamin <ccie.xpert@gmail.com> wrote:
> Can anyone confirm if the follwing configurations will meet the
> requirements.
>
> regards
> shamin
>
> On 5/28/07, Shamin <ccie.xpert@gmail.com> wrote:
> >
> > Hi,
> >
> > Will the configuration be something like this.
> >
> > class-map CHILD
> > match protocol http url "*.jpg| *.jpeg"
> >
> > policy-map CHILD
> > class CHILD
> > drop
> >
> > class-map match-all PARENT
> > match access-group FLOW
> > match protocol http host "www.cisco.com"
> > match protocol http url "*directory*"
> >
> > policy-map PARENT
> > class PARENT
> > service-policy CHILD
> > police 1000000
> >
> > int s0/0
> > service-policy output PARENT
> >
> >
> > Please correct me.
> >
> > Regards
> > Shamin
>
>
This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:22 ART