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

52 6 - POLICY-BASED ROUTING DEPLOYMENTS
client-SH (config) # ip in-path-gateway 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 Common Internet File System (CIFS), Exchange,
FTP, and Hypertext Transfer Protocol (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 255.255.0.0
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#
TIP: Enter configuration commands, one per line. End with CRTL-Z.
The Access Control List (ACL) defines the matching criteria. The route-map
defines the action corresponding to the matching criteria. The ip policy route-
map command attaches a route-map to an interface.
For detailed information about configuring Cisco routers for PBR, see http://
www.cisco.com/en/US/products/sw/iosswrel/ps1831/
products_configuration_guide_chapter09186a00800c60d2.html#23550.
Basic Steps
(Server-Side)
In this example, the server-side HP EFS WAN Accelerator is configured as an
out-of-path device. For detailed information, see the HP EFS WAN Accelerator
Installation and Configuration Guide.