06-21-2021 04:54 AM - edited 06-21-2021 04:57 AM
I use IP SLA TCP operation as below:
ip sla 9
tcp-connect 172.30.240.38 80 source-ip 10.192.45.254
threshold 2000
timeout 3000
frequency 5
ip sla schedule 9 life forever start-time now
But it always gives the (No connection) return code result in the (show ip sla summary).
From the same router, i can telnet port 80 using same source IP and it is open normally. The destination is a web server.
Any ideas?
@IPSLA @sla
Solved! Go to Solution.
06-21-2021 08:29 AM
Glad all working, so we mark as resolved here.
06-21-2021 05:23 AM
tcp-connect 172.30.240.38 80 source-ip 10.192.45.254
i would check when the Router leanving with telnet go with same IP address ?
what is this IP address ?
06-21-2021 05:43 AM - edited 06-21-2021 05:44 AM
I source the telnet from the same IP used in SLA and port 80 as described. It works with telnet but not with SLA. It is an SVI IP on the switch.
06-21-2021 06:20 AM - edited 06-21-2021 06:21 AM
Test 2 options and let us know how it goes :
test1 without source IP :
ip sla 9
tcp-connect 172.30.240.38 80
test 2
ip sla 9
tcp-connect 172.30.240.38 80 control disable
also post show ip sla summary
06-21-2021 07:44 AM
I created SLA11 for test1 & SLA12 for test2 as per your advice. Test2 gives this socket error as below.
SWITCH#show ip sla sum IPSLAs Latest Operation Summary Codes: * active, ^ inactive, ~ pending ID Type Destination Stats Return Last (ms) Code Run ----------------------------------------------------------------------- *9 tcp-connect 172.30.240.38 - No connecti 21 seconds ag on o *11 tcp-connect 172.30.240.38 - No connecti 56 seconds ag on o *12 tcp-connect 172.30.240.38 RTT=0 Socket conn 48 seconds ag ect error o
06-21-2021 07:47 AM
It worked now using the source-ip & control disable. Thank u!
06-21-2021 08:29 AM
Glad all working, so we mark as resolved here.
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