Link to home
Start Free TrialLog in
Avatar of NTGuru705
NTGuru705Flag for United States of America

asked on

CISCO IP SLA MONITOR

I need to enable history on a IP SLA MONITOR in my cisco router...
There seems to be a bunch of options for what to configure...

I just need to know when the last down even was... can anyone help me with this..

when I look at the history there is no history configured...

Second question - is there a way to edit an ip sla monitor that is already configured? It seems the only way to do it is to remove it and add it back.. seems odd.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of harbor235
harbor235
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NTGuru705

ASKER

This doesnt work... there is a command show ip sla monitor statistics but this doesnt give me historical info - it gives me current info.

I need to know the last down time.... does that make sense?

What version of IOS are you using? Can you post your ipsla config
IPSLA is highly configurable, when a threshold is met(or not) a snmp trap can be generated,
or syslog messages can be generated. You need to be looking for them via a NMS (could be open source)
or you could parse through the log. Either way you need an end to end solution.

Older IOS uses the following;
show rtr collection-statistics

This provides some good info
show ip sla mon statistics 1 detail   ( 1 is an example, depends on how you set things up, <ip sla mon ?>

harbor235 ;}
Cisco IOS Software, C1700 Software (C1700-SY7-M), Version 12.4(16b), RELEASE SOFTWARE (fc3)

ip sla monitor 1
 type echo protocol ipIcmpEcho 63.252.31.101 source-ipaddr 63.252.31.100
 tos 160
 timeout 2000
 tag MPLS-MONITOR
 frequency 10
ip sla monitor schedule 1 life forever start-time now

track 10 rtr 1
 delay down 5 up 5

CedarRapids#show rtr collection-statistics
Entry number: 1
Start Time Index: *01:20:57.067 UTC Wed Apr 3 2002
Number of successful operations: 324
Number of operations over threshold: 0
Number of failed operations due to a Disconnect: 0
Number of failed operations due to a Timeout: 0
Number of failed operations due to a Busy: 0
Number of failed operations due to a No Connection: 0
Number of failed operations due to an Internal Error: 0
Number of failed operations due to a Sequence Error: 0
Number of failed operations due to a Verify Error: 0
RTT Values:
RTTAvg: 8       RTTMin: 3       RTTMax: 60
NumOfRTT: 324   RTTSum: 2762    RTTSum2: 62378



******
IS THIS TELLING ME THE MONITOR HAS NEVER BEEN DOWN?
******

CedarRapids#show ip sla mon statistics 1 detail
Round trip time (RTT)   Index 1
        Latest RTT: 4 ms
Latest operation start time: *02:15:37.063 UTC Wed Apr 3 2002
Latest operation return code: OK
Over thresholds occurred: FALSE
Number of successes: 329
Number of failures: 0
Operation time to live: Forever
Operational state of entry: Active
Last time this entry was reset: Never