Chapter 35
Configuring Web Cache Services Using WCCP
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:
Command
Step 1
Router(config)# ip wccp web-cache
Step 2
Router(config)# interface type number
Step 3
Router(config-if)# ip wccp web-cache redirect
{out | in}
Excluding Traffic on a Specific Interface from Redirection
To exclude any interface from redirecting inbound traffic, perform this task in global configuration
mode:
Command
Step 1
Router(config)# interface type number
Step 2
Router(config-if)# ip wccp redirect exclude in
Registering a Router to a Multicast Address
If you decide to use the multicast address option for your service group, you must configure the router
to listen for the multicast broadcasts on an interface. To configure the router, perform this task:
Command
Step 1
Router(config)# ip wccp {web-cache |
service-number} group-address groupaddress
78-14064-04
Purpose
Enables the web cache service on the router.
Targets an interface number for which the web cache
service will run, and enters interface configuration mode.
Enables the check on packets to determine if they qualify
to be redirected to a web cache, using the interface
specified in Step 2.
Purpose
Specifies an interface to configure, and enters interface
configuration mode.
Allows inbound packets on this interface to be excluded
from redirection.
Purpose
Specifies the multicast address for the service group.
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
Configuring WCCP
35-9