Chapter 41 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}

Enable the web cache service, and specify the service number which

 

 

[group-address groupaddress]

corresponds to a dynamic service that is defined by the application

 

 

[group-list access-list][redirect-list

engine. By default, this feature is disabled.

 

 

access-list] [password

(Optional) For group-addressgroupaddress, specify the multicast group

 

 

encryption-number password]

 

 

address used by the switches and the application engines to participate in

 

 

 

 

 

 

the service group.

 

 

 

(Optional) For group-listaccess-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-listaccess-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 packets received from the client to the application engine.

 

 

redirect in

Enable this on the interface connected to the client.

 

Step 13

 

 

 

ip wccp {web-cache service-number}

(Optional) When using a multicast group address, group-listenenables

 

 

group-listen

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.

 

 

 

 

 

 

 

 

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-9775-02

 

 

41-7

 

 

 

 

 

Page 1003
Image 1003
Cisco Systems 3750E manual 41-7