From: Scott Morris (smorris@ipexpert.com)
Date: Tue May 29 2007 - 08:14:23 ART
There are not .'s in MIME types.
Image/jpeg, image/bmp, image/gif will cover the different types regardless
of file extension. If you are looking for filenames, use URL, not MIME.
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE
#153, CISSP, et al.
CCSI/JNCI-M/JNCI-J
IPexpert VP - Curriculum Development
IPexpert Sr. Technical Instructor
smorris@ipexpert.com
http://www.ipexpert.com
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Andrew Larkins
Sent: Tuesday, May 29, 2007 5:55 AM
To: Prashanth Krishnappa; Shamin
Cc: Cisco certification
Subject: RE: QOS question
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