cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Bookmark
|
Subscribe
|
6251
Views
5
Helpful
6
Replies

IP SLA not working

lucap
Level 1
Level 1

Hi

 

I have a problem with IP SLA.

The conf seems ok and I have no error.

But values are 0 except for RTT.

 

gw1#sh ip sla stat

Round Trip Time (RTT) for       Index 1
Type of operation: jitter
        Latest RTT: 18 ms
Latest operation start time: 22:25:29.597 MDT Fri Oct 20 2017
Latest operation return code: OK
RTT Values
        Number Of RTT: 10
        RTT Min/Avg/Max: 17/18/20 ms
Latency one-way time milliseconds
        Number of Latency one-way Samples: 0
        Source to Destination Latency one way Min/Avg/Max: 0/0/0 ms
        Destination to Source Latency one way Min/Avg/Max: 0/0/0 ms
Jitter time milliseconds
        Number of SD Jitter Samples: 0
        Number of DS Jitter Samples: 0
        Source to Destination Jitter Min/Avg/Max: 0/0/0 ms
        Destination to Source Jitter Min/Avg/Max: 0/0/0 ms
Packet Loss Values
        Loss Source to Destination: 0           Loss Destination to Source: 0
        Out Of Sequence: 0      Tail Drop: 10
        Packet Late Arrival: 0  Packet Skipped: 0
Voice Score Values
        Calculated Planning Impairment Factor (ICPIF): 0
        Mean Opinion Score (MOS): 0
Number of successes: 23
Number of failures: 0
Operation time to live: Forever

The responder has no error too:

gw2#sh ip sla resp
        General IP SLA Responder on Control port 1967
        General IP SLA Responder on Control V2 port 1167
General IP SLA Responder is: Enabled
Number of control message received: 165 Number of errors: 0
Recent sources:
        10.1.1.1 [22:27:44.588 MDT Fri Oct 20 2017]
        10.1.1.1 [22:27:29.588 MDT Fri Oct 20 2017]
        10.1.1.1 [22:27:14.592 MDT Fri Oct 20 2017]
        10.1.1.1 [22:26:59.580 MDT Fri Oct 20 2017]
        10.1.1.1 [22:26:44.584 MDT Fri Oct 20 2017]
Recent error sources:

Number of control v2 message received: 0 Number of errors: 0
Recent sources:
Recent error sources:

        Permanent Port IP SLA Responder
Permanent Port IP SLA Responder is: Enabled

udpEcho Responder:
  IP Address             Port
  10.2.2.2          65501

 

Conf is very simple:

ip sla 1
 udp-jitter 10.2.2.2 65501 source-ip 10.1.1.1
 frequency 15
ip sla schedule 1 life forever start-time now
ip sla enable reaction-alerts

 

Any help is very appreciated. Thanks

1 Accepted Solution

Accepted Solutions

My bad, that was in your first post already.

 

Either way, how are the devices connected ? I did this in GNS3 with back to back routers, the only thing I left out on the responder was the line:

 

ip sla responder udp-echo ipaddress 10.2.2.2 port 65501

 

Can you try that, take out that line ?

View solution in original post

6 Replies 6

Hello @lucap

 You need to have the same Time synchronization between both ends.

Check this out.

 

 

-If I helped you somehow, please, rate it as useful.-

Hello

 

Yes, both routers are synchronized with the same time server

 

gw1#sh ntp s
Clock is synchronized, stratum 2, reference is 193.204.114.233
nominal freq is 119.2092 Hz, actual freq is 119.2081 Hz, precision is 2**18
reference time is DD958BD6.EB827E74 (11:03:18.919 MDT Sat Oct 21 2017)
clock offset is 0.4451 msec, root delay is 5.05 msec
root dispersion is 1.48 msec, peer dispersion is 0.75 msec

 

gw2#sh ntp s
Clock is synchronized, stratum 2, reference is 193.204.114.232
nominal freq is 250.0000 Hz, actual freq is 249.9993 Hz, precision is 2**21
ntp uptime is 3456787300 (1/100 of seconds), resolution is 4016
reference time is DD958C71.F921101D (11:05:53.973 MDT Sat Oct 21 2017)
clock offset is 0.6327 msec, root delay is 15.44 msec
root dispersion is 7.04 msec, peer dispersion is 0.11 msec
loopfilter state is 'CTRL' (Normal Controlled Loop), drift is 0.000002725 s/s
system poll interval is 512, last update was 407 sec ago.

 

Thank you

Hello,

 

enable the 'ip sla responder' globally on the destination device:

 

Router(config)#ip sla responder

It's already enabled

gw2#sh run | i sla
ip sla responder
ip sla responder udp-echo ipaddress 10.2.2.2 port 65501

gw2#sh ip sla resp
        General IP SLA Responder on Control port 1967
        General IP SLA Responder on Control V2 port 1167
General IP SLA Responder is: Enabled
Number of control message received: 8882 Number of errors: 0
Recent sources:
        10.1.1.1 [10:47:00.813 MDT Sun Oct 22 2017]
        10.1.1.1 [10:46:45.813 MDT Sun Oct 22 2017]
        10.1.1.1 [10:46:30.813 MDT Sun Oct 22 2017]
        10.1.1.1 [10:46:15.817 MDT Sun Oct 22 2017]
        10.1.1.1 [10:46:00.817 MDT Sun Oct 22 2017]
Recent error sources:

Number of control v2 message received: 0 Number of errors: 0
Recent sources:
Recent error sources:

        Permanent Port IP SLA Responder
Permanent Port IP SLA Responder is: Enabled

udpEcho Responder:
  IP Address             Port
  10.2.2.2          65501

Thank you

My bad, that was in your first post already.

 

Either way, how are the devices connected ? I did this in GNS3 with back to back routers, the only thing I left out on the responder was the line:

 

ip sla responder udp-echo ipaddress 10.2.2.2 port 65501

 

Can you try that, take out that line ?

It works!

 

Just to note I put that line in the conf following the guide:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_55_se/configuration/guide/scg3750/swipsla.html

 

Thank you very much!