10-14-2013 07:54 PM - edited 03-04-2019 09:19 PM
Hi Experts,
I am badly in need of help and i will really appreciate your expert opinions.
I am trying to configure IP SLA for the redundancy. The issue is the command " track 1 rtr 1 reachability " is not working on the router.
I am using cisco 1921 router having the latest IOS version c1900-universalk9-mz.spa.153-3.m. bin and i have installed the data pack license as well.
I am still not able to get this command.
Is there any other way of assigning particular SLA number to the track command.
I am trying to use the following configuration
ip sla monitor 10
type echo protocol ipIcmpEcho 121.90.1.1
timeout 2000
threshold 2000
frequency 10
ip sla monitor schedule 10 life forever start-time now
!
track 10 rtr 10 reachability
!
interface Vlan10
description ADMIN
ip address x.x.x.x 255.255.255.224
standby 1 ip x.x.x.x
standby 1 priority 105
standby 1 preempt
standby 1 track 10 decrement 11
10-14-2013 09:57 PM
Atul,
What do you mean by saying that the command is not working? Is it accepted but having no effect, or is it not accepted in the configuration at all?
On recent IOSes, you should use track 1 ip sla instead of track 1 rtr command.
Best regards,
Peter
10-15-2013 01:22 AM
Hi Peter,
Sorry, my bad. I should have mentioned it properly. The command is not accpeted in the configuration at all.
I will try this command track 1 ip sla.
Thanks for the prompt reply. Much appreciated.
Regards
Atul
10-14-2013 11:52 PM
Here is the detail explanation of , how to use IP SLA:
Example:
sample configuration of IP SLA to generate icmp ping
R1(config)# ip sla 1
R1(config)#icmp-echo 2.2.2.2 source-interface FastEthernet0/0
R1(config)# timeout 1000
R1(config)#threshold 2
R1(config)# frequency 3
R1(config)# ip sla schedule 1 life forever start-time now
next step is to define an object that tracks the SLA probe
R1(config)# track 1 ip sla 1 reachability
To verify the track status use the use the “show track” command as shown below:
R1# show track
Track 1
IP SLA 1 reachability
Reachability is Down
1 change, last change 00:03:19
Latest operation return code: Unknown
The Last step in the IP SLA Reliable Static Route configuration is to add the “track” statement to the default routes pointing to the ISP routers as shown below:
The track number keyword and argument combination specifies that the static route will be installed only if the state of the configured track object is up. Hence if the track status is down the secondary route will be used to forward all the traffic.
Hope it will help you to troubleshoot your problem.
Regards
10-15-2013 01:28 AM
Hi Sandeep,
My customer's network is a bit different. I dont have R1 in my network. I am using two routers connecting to the ISP and provide redundancy through BGP on ISP end and HSRP-SLA through the CPE's end.
However, your detailed explanation is very helpful and gives me a lot more understanding with the commands for the future use.
Thank you very much for the help.
Regards
Atul
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