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 Internet 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, to 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).

‹A route exists in the Routing Information Base (RIB) (for example, policy route only if 10.2.2.0/24 is in the RIB).

‹Interface state (for example, packets received on E0 should be the policy routed out of E1 only if E2 is down).

62

6 - POLICY-BASED ROUTING DEPLOYMENTS

Page 68
Image 68
HP Enterprise File Services WAN Accelerator manual Troubleshooting