Configuring WCCP
Device(config)# ip wccp source-interface GigabitEthernet 0/1/0
Device(config)# ip wccp check services all
Configures a check of all WCCP services.
Device(config)# interface GigabitEthernet 0/1/0
Device(config-if)# ip wccp web-cache redirect in
Device(config-if)# exit
Device(config)# interface GigabitEthernet 0/2/0
Device(config-if)# ip wccp redirect exclude in
Device(config-if)# exit
Example: Setting a Password for a Router and Content Engines
Router# configure terminal
Router(config)# ip wccp web-cache password password1
Example: Configuring a Web Cache Service
Device# configure terminal
Device(config)# ip wccp web-cache
Device(config)# interface GigabitEthernet 0/1/0
Device(config-if)# ip wccp web-cache redirect in
Device(config-if)# exit
Device# copy running-config startup-config
The following example shows how to configure a session in which redirection of HTTP traffic arriving on
Gigabit Ethernet interface 0/1/0 is enabled:
Device# configure terminal
Device(config)# interface GigabitEthernet 0/1/0
Device(config-if)# ip wccp web-cache redirect in
Device(config-if)# exit
Device# show ip interface GigabitEthernet 0/1/0
.
.
.
WCCP Redirect inbound is enabled
WCCP Redirect exclude is disabled
.
.
.
Example: Running a Reverse Proxy Service
The following example assumes that you are configuring a service group using Cisco cache engines, which
use dynamic service 99 to run a reverse proxy service:
Router# configure terminal
Router(config)# ip wccp 99
Router(config)# interface gigabitethernet 0/1/0
Router(config-if)# ip wccp 99 redirect out
Example: Registering a Router to a Multicast Address
Device# configure terminal
Device(config)# ip wccp web-cache group-address 224.1.1.100
Example: Setting a Password for a Router and Content Engines
IP Application Services Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)
77