35-9
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 35 Configuring Web Cache Services Using WCCP
Configuring WCCP
Note A future release of Cisco Application and Content Networking System (ACNS) software (Release
4.2.2 or later) and Release 12.1(13)E and later releases support the ip wccp service accelerated
command with a PFC2.
Release 12.1(13)E and later releases support the ip wccp service redirect in interface command in
software on the MSFC2.
As indicated by the out and in keyword options in the ip wccp service redirect command, redirection
can be specified for outbound interfaces or inbound interfaces.
Inbound traffic can be configured to use Cisco Express Forwarding (CEF), distributed Cisco Express
Forwarding (dCEF), Fast Forwarding, or Process Forwarding.
Configuring WCCP for redirection for inbound traffic on interfaces allows you to avoid the overhead
associated with CEF forwarding for outbound traffic. Setting an output feature on any interface results
in the slower switching path of the feature being taken by all packets arriving at all interfaces. Setting
an input feature on an interface results in only those packets arriving at that interface taking the
configured feature path; packets arriving at other interfaces will use the faster default path. Configuring
WCCP for inbound traffic also allows packets to be classified before the routing table lookup, which
provides faster redirection of packets.

Specifying a Web Cache Service

To configure a web-cache service, perform this task:
Excluding Traffic on a Specific Interface from Redirection
To exclude any interface from redirecting inbound traffic, perform this task in global configuration
mode:
Command Purpose
Step 1 Router(config)# ip wccp web-cache Enables the web cache service on the router.
Step 2 Router(config)# interface type number Targets an interface number for which the web cache
service will run, and enters interface configuration mode.
Step 3 Router(config-if)# ip wccp web-cache redirect
{out | in}
Enables the check on packets to determine if they qualify
to be redirected to a web cache, using the interface
specified in Step 2.
Command Purpose
Step 1 Router(config)# interface type number Specifies an interface to configure, and enters interface
configuration mode.
Step 2 Router(config-if)# ip wccp redirect exclude in Allows inbound packets on this interface to be excluded
from redirection.