64-11
Software Configuration Guide—Release 15(02)SG
OL-23818-01
Chapter 64 Configuring WCCP Version 2 Services WCCP Configuration Examples
Running TCP-Promiscuous Service Example
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
Running Redirect Access-List Example
Redirect access-list allows you to control which traffic to be redirected. The following example shows
how to redirect traffic only from subnet 10.1.1.0:
Switch(config)# ip access-list extended 100
Switch(config-ext-nacl)# permit ip 10.1.1.0 255.255.255.0 any
Switch(config-ext-nacl)# exit
Switch(config)# ip wccp web-cache redirect-list 100
Switch(config)# interface vlan 40
Switch(config-if)# ip wccp web-cache redirect in
Switch(config)# interface vlan 50
Switch(config-if)# ip wccp redirect exclude in
Using Access Lists Example
To achieve better security, you can use a standard access list to notify the Catalyst 4500 series switch to
which IP addresses are valid addresses for a content engine attempting to register with the current switch.
The following example shows a standard access list configuration session where the access list number
is 10 for some sample hosts:
router(config)# access-list 10 permit host 11.1.1.1
router(config)# access-list 10 permit host 11.1.1.2
router(config)# access-list 10 permit host 11.1.1.3
router(config)# ip wccp web-cache group-list 10
Setting a Password for a Switch and Content Engines Example
The following example shows a WCCP password configuration session where the password is alaska1:
Switch# configure terminal
router(config)# ip wccp web-cache password alaska1