Re: URL Filtering on Cisco

From: Piotr Kaluzny <piotrk_at_ipexpert.com>
Date: Thu, 11 Feb 2010 20:12:54 +0100

Hi,

This should work because it matches the HTTP GET "host" field (actually you
could omit the dot so specifying "*yahoo.com*" should be fine).

Regards,

-- 
Piotr Kaluzny
CCIE #25665 (Security), CCSP, CCNP
Sr. Support Engineer - IPexpert, Inc.
URL: http://www.IPexpert.com
On Thu, Feb 11, 2010 at 7:56 PM, CCIE RS <networkengineer.ccie_at_gmail.com>wrote:
> Hi,
>
>
> Will this configuration work.
>
>
> Router(config)#class-map match-any CISCO
>
> Router(config-cmap)#match protocol http host "*.yahoo.com"
>
> Router(config-cmap)#exit
>
> Router(config)#policy-map DROP
>
> Router(config-pmap)#class CISCO
>
> Router(config-pmap-c)#drop
>
> Router(config-pmap-c)#
>
> Using service policy command implement on to the interface..
>
>
>
> Rgds.
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>
-- 
Piotr Kaluzny
CCIE #25665 (Security), CCSP, CCNP
Sr. Support Engineer - IPexpert, Inc.
URL: http://www.IPexpert.com
Blogs and organic groups at http://www.ccie.net
Received on Thu Feb 11 2010 - 20:12:54 ART

This archive was generated by hypermail 2.2.0 : Mon Mar 01 2010 - 06:28:35 ART