Configure the Router

The appliance negotiates WCCP-GRE or WCCP-L2 automatically. The main choice is between unicast operation (in which the appliance is configured with the IP address of each router), or multicast operation (in which both the appliance and the routers are configured with the multicast address.)

Normal (Unicast) operation—For normal operation, the procedure is to declare WCCP version 2 and the WCCP group ID for the router as a whole, then enable redirection on each WAN interface. Following is a Cisco IOS example:

``` pre codeblock config term ip wccp version 2 ! We will configure the appliance to use group 51 for TCP and 52 for UDP. ip wccp 51 ip wccp 52

! Repeat the following three lines for each WAN interface ! you wish to accelerate: interface your_wan_interface ! If Reverse Path Forwarding is enabled (with an ip verify unicast ! source reachable” statement), delete or comment out the statement: ! ip verify unicast source reachable-via any ! Repeat on all ports.

ip wccp 51 redirect out ip wccp 51 redirect in ip wccp 52 redirect out ip wccp 52 redirect in

! If the appliance is inline with one of the router interfaces ! (NOT SUPPORTED), add the following line for that interface ! to prevent loops: ip wccp redirect exclude in ^Z


If multiple routers are to use the same appliance, each is configured as shown above, using either the same service groups or different ones.

**Multicast operation**—When giving the appliance and each router a multicast address, the configuration is slightly different than for normal operation. Following is a Cisco IOS example:

``` pre codeblock
config term
ip wccp version 2
ip wccp 51 group-address 225.0.0.1

! Repeat the following three lines for each WAN interface
! you wish to accelerate:
interface your_wan_interface
! If Reverse Path Forwarding is enabled (with an ip verify unicast
! source reachable” statement), delete or comment out the statement:
! ip verify unicast source reachable-via any

ip wccp 51 redirect out
ip wccp 51 redirect in
!
! The following line is needed only on the interface facing the other router,
! if there is another router participating in this service group.
ip wccp 51 group-listen

!If the appliance is inline with one of the router interfaces,
!(which is supported but not recommended), add
!the following line for that interface to prevent loops:
ip wccp redirect exclude in
^Z
<!--NeedCopy-->
Configure the Router

In this article