cisco WCCP — Example: Running a Reverse Proxy Service

Example: Configuring a General WCCPv2 Session Device# configure terminal Device(config)# ip wccp web-cache group-address 224.1.1.100 password password 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 Device and Content Engines Device# configure terminal Device(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: Device# configure terminal Device(config)# ip wccp 99 Configuring WCCP Example: Configuring a General WCCPv2 Session Configuring WCCP 17