HP StorageWorks Enterprise File Services WAN Accelerator Deployment Guide (November 2005)

HP EFS WAN ACCELERATOR DEPLOYMENT GUIDE 67
7 - WCCP DEPLOYMENTS
IMPORTANT: HP recommends that you redirect packets coming into the LAN
interface of the router with the redirect in feature on the router instead of the redirect
out feature on the WAN interface of the router so that packets do not go through the
routing code twice on the router. Only use the redirect out feature if it is impossible to
use the redirect in feature.
To configure the
WCCP router
At the system prompt, enter the following set of commands:
Router> enable
Router# configure terminal
Router(config)# ip wccp version 2
Router(config)# ip wccp 90
Router(config)# interface fastEthernet 0/0
Router(config-if)# ip wccp 90 redirect in
Router(config-if)# end
Router#
TIP: Enter configuration commands, one per line. End with CRTL-Z.
The service group 90 must be defined and configured on the HP EFS WAN
Accelerator.
Configuring the
Client-Side HP
EFS WAN
Accelerator
You configure the client-side HP EFS WAN Accelerator to be an in-path device
with WCCP support and you add the service group (that you defined on the
router) to it.
In this example, the client-side, in-path HP EFS WAN Accelerator IP address
is 10.1.0.2, its WAN router is 10.1.0.1, and the server-side HP EFS WAN
Accelerator primary IP address is 10.2.0.2.
To configure the HP
EFS WAN Accelerator
1. Connect to the HP EFS WAN Accelerator CLI. For detailed information,
see the HP EFS WAN Accelerator Command-Line Interface Reference Manual.
2. At the system prompt, enter the following set of commands:
client-SH > enable
client-SH # configure terminal
client-SH (config) # in-path enable
client-SH (config) # in-path oop enable
client-SH (config) # interface in-path ip address 10.1.0.2 /16
client-SH (config) # ip in-path-gateway 10.1.0.1
client-SH (config) # write memory
client-SH (config) # restart
In this example, you configure the client-side HP EFS WAN Accelerator to
optimize ports 135, 139, 445, 21, and 80 and to pass through all other traffic.
To add in-path rules to
reach the out-of-path,
server-side, HP EFS
WAN Accelerator
At the system prompt, enter the following set of commands:
client-SH > enable
client-SH # configure terminal
client-SH (config) # in-path rule fixed-target port 135 target-addr
10.2.0.2
client-SH (config) # in-path rule fixed-target port 139 target-addr
10.2.0.2