Feb 23, 2010

ip wccp redirect exclude in

The ip wccp redirect exclude in command should be used on interfaces facing WAAS devices when outbound redirection is configured on other interfaces on the device.  Let's say you have a simple configuration where the router has three interfaces - one LAN facing, one WAN facing, and one used for the WAAS device:

!
interface FastEthernet0/0

  description ** LAN Interface **
  ip address 10.10.10.1 255.255.255.0

  duplex auto
  speed auto
!
interface FastEthernet0/1
  description ** WAAS Interface **
  ip address 11.11.11.1 255.255.255.248

  duplex auto
  speed auto
!        
interface FastEthernet1/0
  description ** WAN Interface **
  ip address 10.88.81.99 255.255.255.248
  duplex auto
  speed auto
!


You have two choices for how to apply WCCP here:

  1. Configure inbound redirection on the LAN (FastEthernet0/0) and WAN (FastEthernet1/0) interfaces.
  2. Configure WCCP inbound and outbound on the WAN (FastEthernet1/0) interface.

With option #2, you also need to configure the ip wccp redirect exclude in command on the WAAS interface (FastEthernet0/1).  Otherwise WCCP will not be able to distinguish between traffic coming from the LAN (FastEthernet0/0) and WAAS (FastEthernet0/1) interfaces.  Your final configuration for option #2 would look like this:

!
ip wccp 61
ip wccp 62
!
interface FastEthernet0/0

  description ** LAN Interface **
  ip address 10.10.10.1 255.255.255.0

  duplex auto
  speed auto
!
interface FastEthernet0/1
  description ** WAAS  Interface **
  ip address 11.11.11.1 255.255.255.248

  ip wccp redirect exclude in
  duplex  auto
  speed auto
!        
interface FastEthernet1/0
  description  ** WAN Interface **
  ip address 10.88.81.99 255.255.255.248

  ip wccp 61 redirect in
  ip wccp 62 redirec out
  duplex  auto
  speed auto