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

68 6 - POLICY-BASED ROUTING DEPLOYMENTS
2. On the right router, at the system prompt, enter the following set of commands:
Router#configure terminal
Router(config)#interface fastEthernet 0/0.1
Router(config-subif)#encapsulation dot1Q 1
Router(config-subif)#ip address 10.1.1.1 255.255.0.0
Router(config-subif)#ip policy route-map TrafficToLeftS
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/0.2
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 10.1.2.1 255.255.0.0
Router(config-subif)#ip policy route-map TrafficFromRightS
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/0.3
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip address 10.1.3.1 255.255.0.0
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/1
Router(config-subif)#ip address 10.1.4.1 255.255.0.0
Router(config-subif)#ip policy route-map TrafficToRightSAndFromLeftS
Router(config-subif)#exit
Router(config)#access-list 101 permit tcp any 10.0.2.0 0.0.0.255
Router(config)#access-list 102 permit tcp 10.1.2.0 0.0.0.255 any
Router(config)#access-list 103 permit tcp any 10.1.2.0 0.0.0.255
Router(config)#access-list 104 permit tcp 10.0.2.0 0.0.0.255 any
Router(config)#route-map TrafficToLeftS permit 10
Router(config-route-map)#match ip address 101
Router(config-route-map)#set ip next-hop 10.1.3.2
Router(config-route-map)#set ip next-hop verify-availability
Router(config-route-map)#exit
Router(config)#route-map TrafficFromRightS permit 10
Router(config-route-map)#match ip address 102
Router(config-route-map)#set ip next-hop 10.1.3.2
Router(config-route-map)#set ip next-hop verify-availability
Router(config-route-map)#exit
Router(config)#route-map TrafficToRightS permit 10
Router(config-route-map)#match ip address 103 104
Router(config-route-map)#set ip next-hop 10.1.3.2
Router(config-route-map)#set ip next-hop verify-availability
Router(config-route-map)#end
Router#
Troubleshooting
On Cisco routers with Internetwork Operating System (IOS) version 12.3T, the PBR
support for Multiple Tracking Options feature allows the router to check if a machine
is still functioning. This feature can detect if the HP EFS WAN Accelerator is up and,
if not, stop redirecting the traffic to it.
You can use the following methods to check an HP EFS WAN Accelerator:
Internet Control Message Protocol (ICMP) ping reach-ability to a remote device.
Application running on a remote device (for example, the device responds to an
HTTP GET request).