06-19-2012 08:39 AM
I am trying to use IP SLA on a CiscoIOS 12.4(24)T6 router.
It is configure to log failures only. However, we cannot interpet the output "SampleT". It shows a "SampleT" as in Start Time that is not in a recognized or documented format.
The documentation states that it is now in "milliseconds", but that does not make sense for an Absolute Time, only for a Duration Time.
http://www.cisco.com/en/US/docs/ios/ipsla/command/reference/sla_04.html#wp1133606
Here is the output:
aus-hym-rtr01#sh ip sla history
Point by point History
Entry = Entry number
LifeI = Life index
BucketI = Bucket index
SampleI = Sample index
SampleT = Sample start time
CompT = RTT (milliseconds)
Sense = Response return code
Entry LifeI BucketI SampleI SampleT CompT Sense TargetAddr
1 1 433 1 783584668 0 4 172.22.255.253
1 1 434 1 783585668 0 4 172.22.255.253
1 1 435 1 783586668 0 4 172.22.255.253
1 1 436 1 783587668 0 4 172.22.255.253
1 1 437 1 783588668 0 4 172.22.255.253
1 1 438 1 783589668 0 4 172.22.255.253
1 1 439 1 783590668 0 4 172.22.255.253
1 1 440 1 783591668 0 4 172.22.255.253
1 1 441 1 783592668 0 4 172.22.255.253
1 1 442 1 783593668 0 4 172.22.255.253
1 1 443 1 783594668 0 4 172.22.255.253
1 1 444 1 783595668 0 4 172.22.255.253
1 1 445 1 783596668 0 4 172.22.255.253
1 1 446 1 783597668 0 4 172.22.255.253
1 1 447 1 783598668 0 4 172.22.255.253
How can I convert the "SampleT" aka "Sample Start Time" to a Human Date/Time?
And even more frustrating, why can't I find this documented anywhere?
Thanks,
Kris
07-09-2012 10:56 AM
The SampleT timestamp is the SysUpTime value at the start of operation iteration. A documenation bug CSCua91554 has been filed to add this to the IP SLA command reference for the 'show ip sla history' command.
Thank you.
-Rahul
08-04-2023 05:23 AM - edited 08-04-2023 05:24 AM
I don't get it. My SampleT timestamp shows 5785795840. It's about 6.82 days.
But the device uptime is 9 weeks, 3 days, 23 hours, 20 minutes. So how to translate the timestamp into some meaningful time?
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