64-7
Software Configuration Guide—Release 15(02)SG
OL-23818-01
Chapter 64 Configuring WCCP Version 2 Services Configuring WCCP
To enable a service on a Catalyst 4500 series switch, perform this task:
Command Purpose
Step 1 Switch(config)# ip wccp {web-cache |
service-number} [group-address groupaddress]
[redirect-list access-list] [group-list
access-list] [password password]
Specifies a dynamic service to enable on the switch,
specifies the IP multicast address used by the service
group (optional), redirect access-list to control the traffic
to be redirected (optional), group list to use for content
engine membership (optional), specifies whether to use
MD5 authentication (optional), and enables the WCCP
service.
Step 2 Switch(config-if)# [no] ip wccp check services
all If a service matches the packet and the service has a
redirect access-list configured, then the IP packet will be
checked against the access-list. If the packet is rejected by
the access-list, the packet will not be passed down to
lower priority services unless the ip wccp check services
all command is configured. When the ip wccp check
services all command is configured, WCCP will continue
to attempt to match the packet against any remaining
lower priority services configured on the interface.
Step 3 Switch(config)# interface type number Specifies a client interface to configure and enters
interface configuration mode.
Step 4 Switch(config-if)# ip wccp
{web-cache | service-number} redirect {in | out}Enables WCCP redirection for ingress or egress traffic on
the specified client interface.
Step 5 Switch(config)# interface type number Specifies the interface to be configured for egress
redirection exclusion
Step 6 Switch(config-if)# ip wccp redirect exclude in Specifies that packets received on this interface be
excluded from any egress redirection. This MUST be
configured on the content engine interface if L2-return
method is used by the content engine and egress
redirection is configured on the server interface.
Step 7 Switch(config)# interface type number (Only necessary to run the multicast feature) Specifies the
content engine interface to be configured for multicast
reception.
Step 8 Switch(config-if)# ip wccp {web-cache |
service-number} group-listen (Only necessary to run the multicast feature) Enables the
reception of IP multicast packets (WCCP protocol
packets originating from the content engines) on the
interface specified in Step 4.