HP StorageWorks Enterprise File Services WAN Accelerator 3.0.4 deployment guide (AG421-96001, March 2007)

56 6 - POLICY-BASED ROUTING DEPLOYMENTS
In this example, the HP EFS WAN Accelerator is configured as a client-side HP EFS
WAN Accelerator in an in-path configuration with PBR support. It must reach the
remote network through the router from the in-path interface and a fixed-target in-path
rule is defined for the remote out-of-path HP EFS WAN Accelerator.
Basic Steps
(Client-Side)
Perform the following basic steps for the client-side HP EFS WAN Accelerator.
To configure the
client-side HP EFS
WAN Accelerator
1. Connect to the client-side CLI. For detailed information, see the HP StorageWorks
Enterprise File Services WAN Accelerator Command-Line Interface Reference
Manual.
2. On the client-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 enable
client-SH (config) # in-path oop enable
client-SH (config) # interface in-path ip address 10.2.0.2 /16
client-SH (config) # ip in-path-gateway inpath0_0 10.2.0.1
client-SH (config) # in-path rule fixed-target dstaddr 10.1.0.0/16
dstport 135 target-addr 10.1.0.3
client-SH (config) # in-path rule fixed-target dstaddr 10.1.0.0/16
dstport 139 target-addr 10.1.0.3
client-SH (config) # in-path rule fixed-target dstaddr 10.1.0.0/16
dstport 445 target-addr 10.1.0.3
client-SH (config) # in-path rule fixed-target dstaddr 10.1.0.0/16
dstport 21 target-addr 10.1.0.3
client-SH (config) # in-path rule fixed-target dstaddr 10.1.0.0/16
dstport 80 target-addr 10.1.0.3
client-SH (config) # write memory
client-SH (config) # restart
NOTE: You must save your changes to memory and restart the HP EFS WAN Accelerator for
your changes to take effect.
This configuration optimizes CIFS, Exchange, FTP, and HTTP traffic.
To configure the
client-side router
On the client-side router, at the system prompt, enter the following set of
commands:
Router#configure terminal
Router(config)#access-list 101 permit tcp any 10.1.0.0 0.0.255.255
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 10.0.0.1 255.255.0.0
Router(config-if)#ip policy route-map TrafficToS
Router(config-if)#exit
Router(config)#route-map TrafficToS permit 10
Router(config-route-map)#match ip address 101
Router(config-route-map)#set ip next-hop 10.2.0.2
Router(config-route-map)#exit
Router(config)#interface fastEthernet 0/1
Router(config-if)#ip address 10.2.0.1 255.255.0.0
Router(config-if)#end
Router#