Chapter 35
Configuring Web Cache Services Using WCCP
•
•
Changing the Version of WCCP on a Router Example
The following example shows the process of changing the WCCP version from the default of WCCPv2
to WCCPv1, and enabling the web-cache service in WCCPv1:
Router# show ip wccp
% WCCP version 2 is not enabled
Router# configure terminal
Router(config)# ip wccp version 1
Router(config)# end
Router# show ip wccp
% WCCP version 1 is not enabled
Router# config terminal
Enter configuration commands, one per line.
Router(config)# ip wccp web-cache
Router(config)# end
Router# show ip wccp
Global WCCP information:
. . .
Performing a General WCCPv2 Configuration Example
The following example shows a general WCCPv2 configuration session:
Router# configure terminal
Router(config)# ip wccp web-cache group-address 224.1.1.100 password alaska1
Router(config)# interface ethernet0
Router(config-if)# ip wccp web-cache redirect out
Running a Web Cache Service Example
The following example shows a web cache service configuration session:
router# configure terminal
router(config)# ip wccp web-cache
router(config)# interface ethernet 0
router(config-if)# ip wccp web-cache redirect out
Router(config-if)# ^Z
Router# copy running-config startup-config
The following example shows a configuration session in which redirection of HTTP traffic arriving on
interface 0/1 is enabled:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# interface ethernet 0/1
Router(config-if)# ip wccp web-cache redirect in
Router(config-if)# ^Z
Router# show ip interface ethernet 0/1
78-14099-04
Setting a Password for a Router and Cache Engines Example, page 35-15
Verifying WCCP Settings Example, page 35-15
Router information:
Router Identifier:
Protocol Version:
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
WCCP Configuration Examples
End with CNTL/Z.
10.4.9.8
1.0
35-13