Wednesday, April 10, 2013

Misc Stuff

BASIC IP SLA SETUP




The aim here is to pass all traffic generated in POLICY ROUTER to go through ISP1, until it is up.IP SLA will be used as a proactive process to check whether ISP1 is up or down.

Here is the configuration:

PR(config)#ip sla monitor 1
PR(config-sla-monitor)#type echo protocol ipICMPEcho 200.11.2
PR(config-sla-monitor-echo)#timeout 1000 (in ms)
PR(config-sla-monitor-echo)#frequence 3

PR(config)#ip sla monitor schedule 1 start-time now life forever
PR(config)#track 1 rtr 1 reachability

PR(config)#ip acc-list ext ROUTER
PR(config-ext-nacl)#permit ip any any
PR(config)#route-map ROUTER_TRAFFIC permit 10
PR(config-route-map)#match ip address ROUTER
PR(config-route-map)#set ip next-hop verify-availibility 200.1.1.2 10 track 1
PR(config-route-map)#set ip next-hop 201.1.1.2

now to apply the route-map for the router itself

PR(config)#ip local policy route-map ROUTER_TRAFFIC

now to test we issue ping to ISP1 and ISP2, ISP1 should be success and ISP2 should fail.Then shutdown interface to ISP1 and ping ISP2, this time the ping to ISP2 should succeed.





  

No comments:

Post a Comment