04-30-2018 12:33 AM - edited 02-21-2020 07:41 AM
I configured,
interface GigabitEthernet0/0
description WAN
nameif outside
security-level 0
ip address 203.92.x,x 255.255.255.248
interface GigabitEthernet0/3
description TATA_WAN
nameif Backup-link
security-level 0
ip address 203.192.x.x 255.255.255.248
route outside 0.0.0.0 0.0.0.0 203.92.x.x 1 track 10
route Backup-link 0.0.0.0 0.0.0.0 203.192.x.x 2
track 10 ip sla 10 reachability
sla monitor 10
type echo protocol ipIcmpEcho 4.2.2.2 interface outside
frequency 5
sla monitor schedule 1 life forever start-time now
After I added this config, when I check "show route" it does not display the default route.
Solved! Go to Solution.
05-02-2018 01:19 PM
could you post the full output of show route before and after you add the tracking to the default route.
Also provide the full output of show sla monitor operational-state once you have added tracking.
04-30-2018 01:40 AM
And what does "show route" display? And what gives "show sla monitor operational-state"?
04-30-2018 03:42 AM
This is odd behavior. I set this up in my home lab and got the same result that when the SLA timeout the backup default route was not entered into the routing table. I then removed the backup route and readded it using administrative distance 254 and that worked. switch back to administrative distance 2 and now that also worked. not sure what happened.
Try what I did, remove it, add it back with 254, test that it works, then remove and add it back with 2.
04-30-2018 04:10 AM
Thank you for the quick response.
As soon as I add the SLA monitoring config for the static route. The primary ISP link goes down and the route is deleted from the routing table and the failover also does not happening. I tried it with metric, 2, 10, 254 none of them helped.
04-30-2018 04:15 AM
is this a typo?
sla monitor schedule 1 life forever start-time now
it should be sla monitor schedule 10 life forever start-time now
04-30-2018 04:33 AM
@Marius Gunnerud Yes that was a typo. In the config s
la monitor schedule 10 life forever start-time now
04-30-2018 04:25 AM
Could you post the full running config of the ASA (remember to remove public IPs, usernames and passwords.)
04-30-2018 10:57 AM - edited 04-30-2018 10:58 AM
Thank you. Here you go, this was taken when the issue occurred
For now, i have removed the SLA configuration from the running config as it was causing issues.
04-30-2018 11:17 AM
This is the first time I have seen "track 10 ip sla 10 reachability" on an ASA. I checked an ASA running version 9.6 and this command is not present on it. could you try changing this to "track 10 rtr 10 reachability"
04-30-2018 12:13 PM
Sorry, I made a mistake while entering, i tried it with
track 10 rtr 10 reachability
It still behaves the same
05-01-2018 02:34 AM - edited 05-01-2018 02:35 AM
This is odd. could you provide an output of show route before and after failover?
also issue the command show sla monitor operational-state before and after failover.
Also, have you tried a restart of the ASA?
05-01-2018 10:55 AM
Before performing the failover, as soon as the SLA is configured for the primary route, the route is removed. The primary link is still connected and running however for some reason ASA does delete the default routes.
I will try rebooting, I have not tried that yet.
05-01-2018 12:24 PM
If it is removed the right when you add tracking to the route, then it sounds like there is an issue with reachability towards 4.2.2.2. Perhaps it is dropped in a firewall in the path or a routing issue. Are you able to ping 4.2.2.2 from the ASA? What if you tried using 8.8.8.8?
05-02-2018 10:19 AM
I am able to ping 4.2.2.2 and 8.8.8.8 before adding the SLA config.
However, as soon as I add it, the default route is removed and failover does not happen.
05-02-2018 01:19 PM
could you post the full output of show route before and after you add the tracking to the default route.
Also provide the full output of show sla monitor operational-state once you have added tracking.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide