Configuring WCCP
WCCPv1 does not use the WCCP commands from earlier Cisco IOS versions. Instead, use the WCCP
commands documented in this chapter. If a function is not allowed in WCCPv1, an error prompt will be
printed to the screen. For example, if WCCPv1 is running on the router and you try to configure a
dynamic service, the following message will be displayed: "WCCP V1 only supports the web-cache
service." The show ip wccp EXEC command will display the WCCP protocol version number that is
currently running on your router.
Configuring a Service Group Using WCCPv2
WCCPv2 uses service groups based on logical redirection services, deployed for intercepting and
redirecting traffic. The standard service is web cache, which intercepts TCP port 80 (HTTP) traffic and
redirects that traffic to the cache engines. This service is referred to as a well-known service, because the
characteristics of the web cache service are known by both the router and cache engines. A description
of a well-known service is not required beyond a service identification (in this case, the command line
interface (CLI) provides a web-cache keyword in the command syntax).
In addition to the web cache service, there can be up to seven dynamic services running concurrently in
a service group.
More than one service can run on a router at the same time, and routers and cache devices can be part of
Note
multiple service groups at the same time.
The dynamic services are defined by the cache engines; the cache instructs the router which protocol or
ports to intercept, and how to distribute the traffic. The router itself does not have information on the
characteristics of the dynamic service group's traffic, because this information is provided by the first
web cache to join the group. In a dynamic service, up to eight ports can be specified within a single
protocol.
Cisco Cache Engines, for example, use dynamic service 99 to specify a reverse-proxy service. However,
other cache devices may use this service number for some other service. The following configuration
information deals with enabling general services on Cisco routers. Refer to the cache server
documentation for information on configuring services on cache devices.
To enable a service on a Catalyst 6500 series switch, perform this task:
Command
Step 1
Router(config)# ip wccp {web-cache |
service-number} [accelerated] [group-address
groupaddress] [redirect-list access-list]
[group-list access-list] [password password]
Step 2
Router(config)# interface type number
Step 3
Router(config-if)# ip wccp
{web-cache | service-number} redirect {out | in}
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
35-8
Chapter 35
Configuring Web Cache Services Using WCCP
Purpose
Specifies a web cache or dynamic service to enable on the
router, specifies the IP multicast address used by the
service group, specifies any access lists to use, specifies
whether to use MD5 authentication, and enables the
WCCP service.
Specifies an interface to configure and enters interface
configuration mode.
Enables WCCP redirection on the specified interface.
78-14099-04