Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Traffic Auto Switch Over ??

Hi All,

    We have 2 internet links with different service providers.Everything is working fine.

Default Static route on L3 is pointing to F/W 1 (to pass Traffic thro ISP1)

Now the problem is If ISP1 link went down or Tunnel went down, Manually we need to remove static route

pointing to F/W 1 & add static route pointing to 2nd F/W.(to pass traffic thro ISP2).

Can i implement configuration in L3 switch with IP SLA in such a way that Auto switch over Happens when ISP1 internet link goes down.(without Administrator )

Can i have configuration please

Pls find the attached Diagram for your reference.




Traffic Auto Switch Over ??

Hello Srinadh,

Yes, that's one of the options you have. IP SLA will track the route based on the defined parameters. If your primary link fails, the tracked object fails & IP SLA will automagically withdraw the tracked route from the routing table.

One thing to check, make sure your platform supports IP SLA at first. Below is the config which may defer based on your platform.

ip sla 1
icmp-echo source-ip

frequency 30
ip sla schedule 1 life forever start-time now
ip sla enable reaction-alerts


track 1 ip sla 1 reachability


ip route track 1

ip route 100

ip route

Notice that i am sending pings to (a global DNS server) because it rarely goes down. So what happens now is, if your primary link goes down, IP SLA fails reaching & it withdraws the tracked route from the routing table (i.e

ip route track 1). It now adds back the another one with the higher metric into the routing table (i.e ip route 100) .

Make sure you have a static route to always pointing to the primary ISP because if primary comes back online IP SLA will re-instate this path again into the routing table (kind of pre-emption).

Hope this helps.