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

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

how to configure ip sla on cisco switch

I'm running IOS 12.2(33)SXI on SUP 720 3C and I'm configuring ip sla for icmp-echo. Here's my ip sla configuration:

ip sla 62

icmp-echo 10.0.0.62 source-ip 10.1.1.1

timeout 300

frequency 2

history filter failures

ip sla schedule 62 life forever stat-time now

 

The script runs fine when I don’t have a failure. So when I have a failure with the pings, it's reporting the number of failures but when the network connectivity returns, the ip sla script continues to report failures. My firewall logs tell me the ip sla script stopped pinging but the script continues to report failures. What must I do in the ip sla configuration for the ip sla script to start pinging after a failure?

1 REPLY
Cisco Employee

Hi  jfantasia,Actually you

Hi  jfantasia,

Actually you don't need to perform any changes on the 6500 in order to resume the ip sla operation. Given your configuration, the keyword "forever" schedules the sla operation to run indefinitely.

After the connectivity is restored after a failure the Number of successes counter will keep increasing, if your 6500 keeps failing that would mean that your switch is still not able to reach it's ip sla destination.

 

  • During the failure:

6513#sh ip sla statistics 
IPSLAs Latest Operation Statistics

IPSLA operation id: 1
        Latest RTT: NoConnection/Busy/Timeout
Latest operation start time: 00:18:56 UTC Wed Sep 17 2014
Latest operation return code: Timeout
Number of successes: 82
Number of failures: 76
Operation time to live: Forever

 

  • After the failure:

 

6513#sh ip sla statistics 
IPSLAs Latest Operation Statistics

IPSLA operation id: 1
        Latest RTT: 61 milliseconds
Latest operation start time: 00:18:58 UTC Wed Sep 17 2014
Latest operation return code: Over threshold
Number of successes: 83
Number of failures: 76
Operation time to live: Forever

 

Hope this helps!

53
Views
0
Helpful
1
Replies