cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2738
Views
4
Helpful
8
Replies

ip sla command doubts

h.torres.m
Level 1
Level 1

Hi Partners:

In my work I charge these commands in the routers:

This group of lines permanently sends pings to IP 10.42.22.2, using as suorce the interface where the link connects

!

ip sla logging 

ip sla 1  

icmp-echo 10.42.22.2 source-interface FastEthernet0/0

timeout 500                                        

threshold 100

frequency 10

ip sla schedule 1 life forever start-time now

!

The problem is that some routers are not recognized, the routers that I work with are:

  • •-          2901
  • •-          2911
  • •-          2801
  • •-          2811

I wonder if there are differences to load these commands on your IOS and if depending on this, that command should be replaced. Because for example in some routers it has worked this variation:

Add the word traps, otherwise indicates that the command is incomplete, and change the order with respect to the next command "timeout 500", otherwise it gives an error message.

!

ip sla logging traps    

ip sla 1                                                   

icmp-echo 10.42.22.2 source-interface FastEthernet0/0

threshold 100

timeout 500                                        

frequency 10

ip sla schedule 1 life forever start-time now

!

But maybe it's the model of router or the IOS and other routers I have not worked none or only part of the commands, such as the 500 does not recognize timeout.

I need to fix this and I'm desperate for not being able to find.

Thanks from now.

8 Replies 8

Ivan Krimmel
Level 7
Level 7

Hi Hector,

in my understanding the IP SLA piece of code is platform independent(considering IOS platforms), so I would start with IOS version comparison. Are you using the same version for all the boxes you work with? If yes, which one? If not, what are they?

HTH,

Ivan.

Marwan ALshawi
VIP Alumni
VIP Alumni

Some ipsla commands differ between iOS and platforms

Just try ip sla

Or

Ip monitor or ip sla monitor ..etc

But the ultimate result stil the same

Hope this help

one may try

router(config)#rtr

as well.

skarthic
Cisco Employee
Cisco Employee

Here is the document that you can try for reference of Object tracking

http://www.cisco.com/en/US/docs/ios/12_3/12_3x/12_3xe/feature/guide/dbackupx.html#wp1079801

According to this doc there are 3 variations based on the IOS used

rtr [operation-number]

(or)

ip sla monitor [operation-number]

(or)

ip sla [operation-number]

One of the above mentioned three shd do the trick

nice one, makes me feel more confident that IP SLA in IOS is platform independent feature, actually depending on the IOS version.

Thanks parners, very good page.

Gentlemen,

I have cisco 2911 with IOS-universalK9 mz.SPA.150.1.T, but that does not accept the ip sla monitor commands XX, XX or rtr ip sla XX.

How active these commands in IOS or what you belong to?

Tks

Andre, you might have a licensing issue on your hands - to use IP SLA monitoring you need at least the IP Data or Security license on your 2911. IP Base does not support IP SLA monitoring.

HTH