09-03-2010 07:25 AM
Hello,
We have a MAN network with two ASR 1002-F as core devices and C1812 routers (with IOS c181x-advipservicesk9-mz.151-1.T.bin) at remote devices.
How can I see the history (results) for the probes in CLI (without a IP SLA Analyser)?
I enabled the ip sla responder on one of the ASR.
I configured 2 probes (101 and 102) on one of the C1812 for testing.
Here is the conf for one of them:
snmp-server community public RO
snmp-server host x.x.x.x version 2c public
snmp-server host x.x.x.x version 2c public syslog
ip sla logging traps
snmp-server enable traps syslog
!
ip sla 101
icmp-echo 172.25.1.129 source-ip 172.25.1.131
tag ICMP-ECHO
frequency 180
exit
ip sla schedule 101 start-time now life forever
!
! Configure thresholds and reactions.
ip sla reaction-configuration 101 react rtt threshold-type immediate threshold-value 10 5 action-type trapOnly
With a debug, the probes seem to work as well as the proactive threshold....
C1812#09-03-2010 07:42 AM
Hi KEvin,
Almost there... just two small commands to add!
With IP SLA, once you schedule an operation, you'll have to delete the operation to make changes to it (a small inconvenience).
I verified this in my lab just now, here's what you need to do:
!
ip sla 101
icmp-echo 172.25.1.129 source-ip 172.25.1.131
tag ICMP-ECHO
frequency 180
history lives 1
history filter all
exit
ip sla schedule 101 start-time now life forever
!
History lives tells it to keep one lifetime of the history (1 or 2 are the only options), and the filter command tells it what to keep... by default, that's nuttin'.
That should do it, then you can see the history in the CLI output.
Let me know if that helps?
09-03-2010 08:12 AM
Hello,
Thanks for your help!
It's working!
Now that I have my basis, I'll try to configure some other probes like udp-jitter... and see what Centreon (Nagios) can do with that!
BRGs,
Katy
C1812#sh ip sla history
Point by point History
Entry = Entry number
LifeI = Life index
BucketI = Bucket index
SampleI = Sample index
SampleT = Sample start time (milliseconds)
CompT = RTT (milliseconds)
Sense = Response return code
Entry LifeI BucketI SampleI SampleT CompT Sense TargetAddr
101 1 1 1 2530102164 120 1 172.25.1.129
102 1 1 1 2530192212 12 1 10.40.1.145
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