Specifications

2-288
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
ip wccp redirect
ip wccp redire ct
To enable packet redirection on an inbound or outbound interf ace using Web Cache Communication
Protocol (WCCP), use the ip wc cp red irect command in interface configuration mode. To disable
WCCP redirection, use the no form of this command.
ip wccp {web-cache | service-number} redirect {in | out}
no ip wccp {web-cache | service-number} redirect {in | out}
Syntax Description
Command Default Redirection chec king on the interface is disa bled.
Command Modes Interface configur ation (co nfig-if)
Usage Guidelines The ip wccp {web-cache | service-number} redirect in command allows you to configure WCCP
redirection on an interface receiving inbound networ k traffic. When the command i s applied to an
interface, all packets arriving at that interface will be compared against the criteria defined by the
specified WCCP service. If the packets match the criteria, they will be redirected.
Likewise, the ip wccp {web-cache | service-number} redirect out command allows you to configure
the WCCP redirection check a t an outbound interface.
Tips Be careful not to confuse the ip wccp {w eb-c ache | s ervic e-nu mber} re dire ct {out | in} interface
configuration command with the ip wccp redirect exclude in interface configuration command.
Examples The following example shows how to configur e a session in which reverse proxy pa ckets on Ethernet
interface 3/1 are being checked fo r redirection and redir ected to a Cisco Cache Eng ine:
Switch(config)# ip wccp 99
Switch(config)# interface gigabitethernet 3/1
Switch(config-if)# ip wccp 99 redirect out
web-ca che Enab les th e web ca che se rvice .
service-number Identification number of the cache engine service group; valid values are
from 0 to 254.
If Cisco cache engines are used in the cache clu ster, the reverse proxy
service is indicated by a value of 99.
in Spec ifies packet redi rection o n an i nbound interface .
out Spe cifies pa cket r edirection on an outbound interf ace.