Chapter 35
Configuring Web Cache Services Using WCCP
Restrictions for WCCPv2
The following limitations apply to WCCP v2:
•
•
•
•
•
•
Configuring WCCP
The following configuration tasks assume that you have already installed and configured the cache
engines you want to include in your network. You must configure the cache engines in the cluster before
configuring WCCP functionality on your routers. Refer to the
engine configuration and setup tasks.
IP must be configured on the router interface connected to the cache engines and on the router interface
connected to the Internet. Cisco Cache Engines require use of a Fast Ethernet interface for a direct
connection. Examples of router configuration tasks follow this section. For complete descriptions of the
command syntax, refer to the Release 12.2 Cisco IOS Configuration Fundamentals Command
Reference.
Perform the tasks found in the following sections to configure WCCP on a router:
•
•
•
•
•
•
Specifying a Version of WCCP
Until you configure a WCCP service using the ip wccp {web-cache | service-number} global
configuration command, WCCP is disabled on the router. The first use of a form of the ip wccp command
enables WCCP. By default WCCPv2 is used for services, but you can use WCCPv1 functionality instead.
To change the running version of WCCP from Version 2 to Version 1, or to return to WCCPv2 after an
initial change, perform this task in EXEC mode:
Command
Router# ip wccp version {1 | 2}
78-14099-04
WCCP works only with IP networks.
For routers servicing a multicast cluster, the time to live (TTL) value must be set at 15 or fewer.
Because the messages may now be IP multicast, members may receive messages that will not be
relevant or are duplicates. Appropriate filtering needs to be performed.
Service groups can comprise up to 32 cache engines and 32 routers.
All cache engines in a cluster must be configured to communicate with all routers servicing the
cluster.
Multicast addresses must be from 224.0.0.0 to 239.255.255.255.
Specifying a Version of WCCP, page 35-7
Configuring a Service Group Using WCCPv2, page 35-8
Excluding Traffic on a Specific Interface from Redirection, page 35-9
Registering a Router to a Multicast Address, page 35-10
Using Access Lists for a WCCP Service Group, page 35-10
Setting a Password for a Router and Cache Engines, page 35-11
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
Cisco Cache Engine User Guide
(Optional)
(Required)
(Optional)
(Optional)
Purpose
Specifies which version of WCCP to configure on a router.
WCCPv2 is the default version.
Restrictions for WCCPv2
for cache
(Optional)
(Optional)
35-7