Configuring WCCP
Specifying a Web Cache Service
To configure a web-cache service and ingress redirection, perform this task:
Command
Step 1
Switch(config)# ip wccp web-cache
Step 2
Switch(config)# interface type number
Step 3
Switch(config-if)# ip wccp web-cache redirect in
To configure a web-cache service and egress redirection, perform this task:
Command
Step 1
Switch(config)# ip wccp web-cache
Step 2
Switch(config)# interface type number
Step 3
Switch(config-if)# ip wccp web-cache redirect out
Step 4
Switch(config)# interface type number
Step 5
Switch(config-if)# ip wccp web-cache redirect in
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
Step 1
Switch(config)# access-list access-list permit ip
host host-address [destination-address |
destination-host | any]
Step 2
Switch(config)# ip wccp web-cache group-list
access-list
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
72-8
Chapter 72
Purpose
Enables the web cache service on the switch.
Targets a client interface number for which the web cache
service runs, and enters interface configuration mode.
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.
Purpose
Enables the web cache service on the switch.
Targets a server interface number for the web cache
service, and enters interface configuration mode.
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.
Specifies the content engine interface number, and enters
interface configuration mode.
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.
Purpose
Creates an access list based on the unicast address of the
content engines.
Indicates to the switch which content engines are allowed
or disallowed to form a service group.
Configuring WCCP Version 2 Services
OL_28731-01