Cisco Systems 3130 User Manual

Page of 1226
 
43-7
Cisco Catalyst Blade Switch 3130 for Dell Software Configuration Guide
OL-13270-01
Chapter 43      Configuring Web Cache Services By Using WCCP
Configuring WCCP
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
ip wccp {web-cache | service-number
[group-address groupaddress
[group-list access-list] [redirect-list 
access-list] [password 
encryption-number password]
Enable the web 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.
Step 3
interface interface-id
Specify the interface connected to the application engine or the web 
server, and enter interface configuration mode.
Step 4
no switchport
Enter Layer 3 mode.
Step 5
ip address ip-address subnet-mask
Configure the IP address and subnet mask.
Step 6
no shutdown
Enable the interface.
Step 7
exit
Return to global configuration mode. Repeat Steps 3 through 7 for each 
application engine and web server.
Step 8
interface interface-id
Specify the interface connected to the client, and enter interface 
configuration mode.
Step 9
no switchport
Enter Layer 3 mode.
Step 10
ip address ip-address subnet-mask
Configure the IP address and subnet mask.
Step 11
no shutdown
Enable the interface.
Step 12
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.
Step 13
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.
Step 14
exit
Return to global configuration mode. Repeat Steps 8 through 13 for each 
client.
Step 15
end
Return to privileged EXEC mode.