64-8
Software Configuration Guide—Release 15(02)SG
OL-23818-01
Chapter 64 Configuring WCCP Version 2 Services
Configuring WCCP

Specifying a Web Cache Service

To configure a web-cache service and ingress redirection, perform this task:
To configure a web-cache service and egress redirection, perform this task:
Using Access Lists for a WCCP Service Group
A Catalyst 4500 series switch can use an access list to restrict the content engines that can join a service
group.
To restrict a content engine, perform this task:
Command Purpose
Step 1 Switch(config)# ip wccp web-cache Enables the web cache service on the switch.
Step 2 Switch(config)# interface type number Targets a client interface number for which the web cache
service runs, and enters interface configuration mode.
Step 3 Switch(config-if)# ip wccp web-cache redirect in Enables the check on packets to determine if they qualify
to be redirected to a content engine, using the client
interface specified in Step 2.
Command Purpose
Step 1 Switch(config)# ip wccp web-cache Enables the web cache service on the switch.
Step 2 Switch(config)# interface type number Targets a server interface number for the web cache
service, and enters interface configuration mode.
Step 3 Switch(config-if)# ip wccp web-cache redirect out Enables the check on packets to determine if they qualify
to be redirected to a content engine, using the client
interface specified in Step 2.
Step 4 Switch(config)# interface type number Specifies the content engine interface number, and enters
interface configuration mode.
Step 5 Switch(config-if)# ip wccp web-cache redirect in Specifies that packets received on this interface be
excluded from any egress redirection. This prevents
packets returned by content engine through L2-return
method or packets generated by the content engine from
being redirected back to the content engine.
Command Purpose
Step 1 Switch(config)# access-list access-list permit ip
host host-address [destination-address |
destination-host | any]
Creates an access list based on the unicast address of the
content engines.
Step 2 Switch(config)# ip wccp web-cache group-list
access-list Indicates to the switch which content engines are allowed
or disallowed to form a service group.