Right-SH > enable
Right-SH # configure terminal
Right-SH (config) # in-path enable
Right-SH (config) # in-path oop enable
Right-SH (config) # interface in-path ip address 10.1.3.2 /24
Right-SH (config) # ip in-path-gateway inpath0_0 10.1.3.1
Right-SH (config) # write memory
Right-SH (config) # restart
IMPORTANT: You must save your changes to memory and restart the HP EFS WAN
Accelerator service for your changes to take effect.
To configure the Cisco 1. On the left router, at the system prompt, enter the following commands: router
TIP: Enter configuration commands, one per line; end with CTRL-Z.
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface fastEthernet 0/0.1
Router(config-subif)#encapsulation dot1Q 1
Router(config-subif)#ip address 10.0.1.1 255.255.0.0
Router(config-subif)#ip policy route-map TrafficToRightS
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/0.2
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip address 10.0.2.1 255.255.0.0
Router(config-subif)#ip policy route-map TrafficFromLeftS
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/0.3
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip address 10.0.3.1 255.255.0.0
Router(config-subif)#exit
Router(config)#interface fastEthernet 0/1
Router(config-subif)#ip address 10.0.4.1 255.255.0.0
Router(config-subif)#ip policy route-map TrafficToLeftSAndFromRightS
Router(config-subif)#exit
Router(config)#access-list 101 permit tcp any 10.1.2.0 0.0.0.255
Router(config)#access-list 102 permit tcp 10.0.2.0 0.0.0.255 any
Router(config)#access-list 103 permit tcp any 10.0.2.0 0.0.0.255
Router(config)#access-list 104 permit tcp 10.1.2.0 0.0.0.255 any
Router(config)#route-map TrafficToRightS permit 10
Router(config-route-map)#match ip address 101
Router(config-route-map)#set ip next-hop 10.0.3.2
Router(config-route-map)#exit
Router(config)#route-map TrafficFromLeftS permit 10
Router(config-route-map)#match ip address 102
Router(config-route-map)#set ip next-hop 10.0.3.2
Router(config-route-map)#exit
Router(config)#route-map TrafficToLeftSAndFromRightS permit 10
Router(config-route-map)#match ip address 103 104
Router(config-route-map)#set ip next-hop 10.0.3.2
Router(config-route-map)#end
Router#
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
58 | 6 - POLICY-BASED ROUTING DEPLOYMENTS |