45-7
Catalyst 3750 SwitchSoftware Configuration Guide
OL-8550-09
Chapter45 Configuring Cache Services By Using WCCP
Configuring WCCP
Beginning in privileged EXEC mode, follow these steps to enable the cache service, to set a multicast
group address or group list, to configure routed interfaces, to redirect inbound packets received from a
client to the application engine, enable an interface to listen for a multicast address, and to set a
password. This procedure is required.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 ip wccp {web-cache | service-number}
[group-address groupaddress]
[group-list access-list] [redirect-list
access-list] [password
encryption-number password]
Enable the cache service, and specify the service number which
corresponds to a dynamic service that is defined by the application
engine. By default, this feature is disabled.
(Optional) For group-address groupaddress, specify the multicast group
address used by the switches and the application engines to participate in
the service group.
(Optional) For group-list access-list, if a multicast group address is not
used, specify a list of valid IP addresses that correspond to the application
engines that are participating in the service group.
(Optional) For redirect-list access-list, specify the redirect service for
specific hosts or specific packets from hosts.
(Optional) For password encryption-number password, specify an
encryption number. The range is 0 to 7. Use 0 for not encrypted, and use
7 for proprietary. Specify a password name up to seven characters in
length. The switch combines the password with the MD5 authentication
value to create security for the connection between the switch and the
application engine. By default, no password is configured, and no
authentication is performed.
You must configure the same password on each application engine.
When authentication is enabled, the switch discards messages that are not
authenticated.
Step3 interface interface-id Specify the interface connected to the application engine or the server,
and enter interface configuration mode.
Step4 no switchport Enter Layer 3 mode.
Step5 ip address ip-address subnet-mask Configure the IP address and subnet mask.
Step6 no shutdown Enable the interface.
Step7 exit Return to global configuration mode. Repeat Steps 3 through 7 for each
application engine and server.
Step8 interface interface-id Specify the interface connected to the client, and enter interface
configuration mode.
Step9 no switchport Enter Layer 3 mode.
Step10 ip address ip-address subnet-mask Configure the IP address and subnet mask.
Step11 no shutdown Enable the interface.
Step12 ip wccp {web-cache | service-number}
redirect in
Redirect packets received from the client to the application engine.
Enable this on the interface connected to the client.
Step13 ip wccp {web-cache | service-number}
group-listen
(Optional) When using a multicast group address, group-listen enables
the interface to listen for the multicast address. Enable this on the
interface connected to the application engine.