From: Michael Stout (michaelgstout@hotmail.com)
Date: Thu Sep 07 2006 - 00:14:09 ART
Im not exactly sure of the question, but i was looking at something
simular last night.
Try this syntax
class-map match-any image-type
match protocol http url "*.jpg"
match protocol http url "*.jpeg"
!
policy-map droper
class image-type
drop
--------------------------------------------------------------------
From: "James Nendel" <james.nendel@gmail.com>
Reply-To: "James Nendel" <james.nendel@gmail.com>
To: "Victor Cappuccio" <cvictor@protokolgroup.com>
CC: ccielab@groupstudy.com
Subject: Re: Match Protocol Mime or URL?
Date: Wed, 6 Sep 2006 22:27:58 -0400
Victor, I tried your configuration and seems not to be working
Any other takers?
Thanks
James
On 9/4/06, Victor Cappuccio <cvictor@protokolgroup.com> wrote:
>Dude,
>
>Does this configuration looks good for you ?
>
>Sw1#copy http://151.1.8.8/l.gif null:
>
>BB1-TS#1
>[Resuming connection 1 to R1 ... ]
>
>R1#
>R1#show policy-map int f0/0
> FastEthernet0/0
>
> Service-policy input: IMAGENES_DROP
>
> Class-map: CLASE_IMAGENES (match-any)
> 6 packets, 1363 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: protocol http url "*.jpeg"
> 0 packets, 0 bytes
> 5 minute rate 0 bps
> Match: protocol http url "*.jpg"
> 0 packets, 0 bytes
> 5 minute rate 0 bps
> Match: protocol http url "*.gif"
> 6 packets, 1363 bytes <<<<<<<<<<<<<<<<< Have Pkts
>Matched.......
> 5 minute rate 0 bps
> drop
>
> Class-map: class-default (match-any)
> 8 packets, 578 bytes
> 5 minute offered rate 0 bps, drop rate 0 bps
> Match: any
>
>R2#show run int f0/0
>Building configuration...
>
>Current configuration : 243 bytes
>!
>interface FastEthernet0/0
> service-policy input IMAGENES_DROP
>end
>
>R1#
>
>topology
>
>Sw1 ------ R1 f0/0 ------ WebServer(Sw2)
>
>HTH
>Victor.-
>
>-----Mensaje original-----
>De: nobody@groupstudy.com [mailto:nobody@groupstudy.com] En nombre
>de James
>Nendel
>Enviado el: Lunes, 04 de Septiembre de 2006 03:23 p.m.
>Para: ccielab@groupstudy.com
>Asunto: Match Protocol Mime or URL?
>
>How can I configure Rx to Drop all downloaded files with extensions
>.jpg, .gif and .jpeg from internet.
>
>Thanks
>James
>
>_______________________________________________________________________
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
_______________________________________________________________________
Subscription information may be found at:
http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:40 ART