35-10
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 35 Configuring Web Cache Services Using WCCP
Configuring WCCP
Registering a Router to a Multicast Address
If you decide to use the multicast address option for your service group, you must configure the router
to listen for the multicast broadcasts on an interface. To configure the router, perform this task:
For network configurations where redirected traffic needs to traverse an intervening router, the router
being traversed must be configured to perform IP multicast routing. You must configure the following
two components to enable traversal over an intervening router:
Enable IP multicast routing using the ip multicast routing interface configuration command.
Enable the interfaces to which the cache engines will connect to receive multicast transmissions
using the ip wccp group-listen interface configuration command (note that earlier Cisco IOS
versions required the use of the ip pim interface configuration command).
Using Access Lists for a WCCP Service Group
To configure the router to use an access list to determine which traffic should be directed to which cache
engines, perform this task in global configuration mode:
To disable caching for certain clients, perform this task in global configuration mode:
Command Purpose
Step 1 Router(config)# ip wccp {web-cache |
service-number} group-address groupaddress
Specifies the multicast address for the service group.
Step 2 Router(config)# interface type number Specifies the interface to be configured for multicast
reception.
Step 3 Router(config-if)# ip wccp {web-cache |
service-number} group-listen
Enables the reception of IP multicast packets (content
originating from the cache engines) on the interface
specified in Step 2.
Command Purpose
Step 1 Router(config)# access-list access-list permit ip
host host-address [destination-address |
destination-host | any]
Creates an access list that enables or disables traffic
redirection to the cache engine.
Step 2 Router(config)# ip wccp web-cache group-list
access-list
Indicates to the router from which IP addresses of cache
engines to accept packets.
Command Purpose
Step 1 Router(config)# access-list access-list permit ip
host host-address [destination-address |
destination-host | any]
Creates an access list that enables or disables traffic
redirection to the cache engine.
Step 2 Router(config)# ip wccp web-cache redirect-list
access-list
Sets the access list used to enable redirection.