Running A Reverse Proxy Service Example; Registering A Router To A Multicast Address Example; Using Access Lists Example - Cisco 6500 Series Software Configuration Manual

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

WCCP Configuration Examples
.
.
.
WCCP Redirect inbound is enabled
WCCP Redirect exclude is disabled
.
.
.

Running a Reverse Proxy Service Example

The following example assumes you a configuring a service group using Cisco Cache Engines, which
use dynamic service 99 to run a reverse proxy service:
router# configure terminal
router(config)# ip wccp 99
router(config)# interface ethernet 0
router(config-if)# ip wccp 99 redirect out

Registering a Router to a Multicast Address Example

The following example shows how to register a router to a multicast address of 224.1.1.100:
Router(config)# ip wccp web-cache group-address 224.1.1.100
Router(config)# interface ethernet 0
Router(config-if)# ip wccp web cache group-listen
The following example shows a router configured to run a reverse proxy service, using the multicast
address of 224.1.1.1. Redirection applies to packets outgoing through interface ethernet 0:
Router(config)# ip wccp 99 group-address 224.1.1.1
Router(config)# interface ethernet 0
Router(config-if)# ip wccp 99 redirect out

Using Access Lists Example

To achieve better security, you can use a standard access list to notify the router which IP addresses are
valid addresses for a cache engine attempting to register with the current router. The following example
shows a standard access list configuration session where the access list number is 10 for some sample
hosts:
router(config)# access-list 10 permit host 11.1.1.1
router(config)# access-list 10 permit host 11.1.1.2
router(config)# access-list 10 permit host 11.1.1.3
router(config)# ip wccp web-cache group-list 10
To disable caching for certain clients, servers, or client/server pairs, you can use WCCP access lists. The
following example shows that any requests coming from 10.1.1.1 to 12.1.1.1 will bypass the cache and
that all other requests will be serviced normally:
Router(config)# ip wccp web-cache redirect-list 120
Router(config)# access-list 120 deny tcp host 10.1.1.1 any
Router(config)# access-list 120 deny tcp any host 12.1.1.1
Router(config)# access-list 120 permit ip any any
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
35-14
Chapter 35
Configuring Web Cache Services Using WCCP
78-14099-04

Advertisement

Table of Contents
loading

Table of Contents