Chapter 81
Configuring WCCP Version 2 Services
WCCP Configuration Examples
The following example assumes you a configuring a service group using Cisco Content Engines, which
use dynamic service 99 to run a reverse proxy service. The following example illustrates how to
configure egress redirection, where VLAN 40 reflects the server interface and VLAN 50 reflects the
content engine interface:
Switch# configure terminal
Switch(config)# ip wccp 99
Switch(config)# interface vlan 40
Switch(config-if)# ip wccp 99 redirect in
Switch(config# interface vlan 50
Switch(config-if)# ip wccp redirect exclude in
For IPv6
Switch# configure terminal
Switch(config)# ipv6 wccp 99
Switch(config)# interface vlan 40
Switch(config-if)# ipv6 wccp 99 redirect in
Switch(config# interface vlan 50
Example: Running TCP-Promiscuous Service
The following example shows how to configure TCP promiscuous service, where VLAN 40 represents
the server interface and VLAN 50 represents the content engine interface:
Switch# configure terminal
Switch(config)# ip wccp 61
Switch(config)# ip wccp 62
Switch(config)# interface vlan 30
Switch(config-if)# ip wccp 61 redirect in
Switch(config)# interface vlan 40
Switch(config-if)# ip wccp 62 redirect in
Switch(config)# interface vlan 50
Switch(config-if)# ip wccp redirect exclude in
For IPV6
Switch# configure terminal
Switch(config)# ipv6 wccp 51
Switch(config)# ipv6 wccp 52
Switch(config)# interface vlan 30
Switch(config-if)# ipv6 wccp 51 redirect in
Switch(config)# interface vlan 40
Switch(config-if)# ipv6 wccp 52 redirect in
The following example shows how to configure the TCP promiscuous service for IPv4 VRF interfaces,
where VLAN 40 represents the server interface and VLAN 50 represents the content engine interface:
Switch# configure terminal
Switch(config)# ip wccp vrf abc 91
Switch(config)# ip wccp vrf abc 92
Switch(config)# interface vlan 30
Switch(config-if)# vrf forwarding abc s
Switch(config-if)# ip wccp vrf abc 91 redirect in
Switch(config)# interface vlan 40
Switch(config-if)# vrf forwarding abc
Switch(config-if)# ip wccp vrf abc 92 redirect in
Switch(config)# interface vlan 50
Switch(config-if)# vrf forwarding abc
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
81-11