Symptom
SampleT & Sense columns output are not in user friendly readable format. Due to this show ipsla history command is not helpful for triages on IOS-XR code.
RP/0/RSP0/CPU0:ASR9006-B#sh ipsla history 1
Fri Apr 1 09:20:51.205 UTC
Point by point History
Each Entry per Line
Column Description per Entry:
Entry = Entry number
LifeI = Life index
BucketI = Bucket index
SampleI = Sample index
SampleT = Sample start time
CompT = RTT (milliseconds)
Sense = Response return code
TargetAddr = Target Address
Entry LifeI BucketI SampleI SampleT CompT Sense TargetAddr
1 0 10 0 1459123232109 0 4 10.66.3.2
1 0 11 0 1459123242110 0 4 10.66.3.2
Here SampleT represent Sample Time when event had happen as per the bucket and stats config
Sense column represent error code. Below is the code representation table which is not accessible through this knob.
Response Return Values for the show ipsla history Command
Code Description
1 Okay
2 Disconnected
3 Over Threshold
4 Timeout
5 Busy
6 Not Connected
7 Dropped
8 Sequence Error
9 Verify Error
10 Application Specific
Classis OS show below output :-
C7600-test#sh ip sla his 1 ful
Entry number: 1
Life index: 1
Bucket index: 1
Sample time: 19:07:56 UTC Tue Mar 31 2016 ==== Sample Collection Time
RTT (milliseconds): 0
Response return code: Timeout ============ Sense output
We need to have similar interpretation of these fields in IOS-XR.
Conditions
Show ipsla history command output modification required. Present output is not user readable friendly