04-24-2016 01:48 PM - edited 03-08-2019 05:28 AM
Hi all,
I'm trying to create IP SLA for DNS .. I can ping the ip from cisco and can get trace for it . but when i show the ip sla for DNS i get error return code
Latest operation start time: 20:44:34 UTC Sun Apr 24 2016
Latest operation return code: Timeout
Number of successes: 0
Number of failures: 1
Operation time to live: Forever
Any advice ... Thanks in advance
Solved! Go to Solution.
04-25-2016 02:01 AM
Can you please show us your config which is not working.
A typical DNS test I would use is:
ip sla 1
dns www.google.com name-server 8.8.8.8 source-ip a.b.c.d
04-25-2016 03:05 PM
You need name resolution to work first. So add the "name-server" lines. You can then do a test with "telnet" to make sure it connects, And then all going well, the http sla will work.
04-25-2016 02:01 AM
Can you please show us your config which is not working.
A typical DNS test I would use is:
ip sla 1
dns www.google.com name-server 8.8.8.8 source-ip a.b.c.d
04-25-2016 02:01 AM
Thank..
Now i'm trying to create the http IP sla
ip sla 1
http get http://www.msn.com/en-ae/ name-server 8.8.8.8
I get this error ..
IPSLA operation id: 1
Latest RTT: 281 milliseconds
Latest operation start time: 08:56:09 UTC Mon Apr 25 2016
Latest operation return code: Http Error
Latest DNS RTT: 94 ms
Latest TCP Connection RTT: 93 ms
Latest HTTP Transaction RTT: 94 ms
Number of successes: 0
Number of failures: 5
Operation time to live: Forever
Any advice please .. Thanks in advance
04-25-2016 02:24 AM
Try requesting a specific page. A url like that is likely to return a 302 or something other than a successful result. A good test of something specific is retrieving an image or logo off a page.
04-25-2016 03:15 AM
Thanks, Can you give small example please .. Also the https pages like facebook and so supporting here with this IP SLA ? Thanks in advance
04-25-2016 03:15 AM
What is you companies web site url?
04-25-2016 03:20 AM
this one .. http://www.btc.com.sa/
04-25-2016 03:28 AM
ip sla 1
http get http://www.btc.com.sa/flash/AC_RunActiveContent.js name-server 8.8.8.8
04-25-2016 03:33 AM
The Same
IPSLA operation id: 1
Latest RTT: 571 milliseconds
Latest operation start time: 10:28:55 UTC Mon Apr 25 2016
Latest operation return code: Http Error
Latest DNS RTT: 363 ms
Latest TCP Connection RTT: 103 ms
Latest HTTP Transaction RTT: 105 ms
Number of successes: 0
Number of failures: 1
Operation time to live: Forever
Any advice ... Thanks in advance
04-25-2016 03:41 AM
04-25-2016 04:31 AM
S.W#telnet www.btc.com.sa 80
% Bad IP address or host name
This what i get ...
04-25-2016 08:04 AM
Any update please ? Thanks in advance
04-25-2016 01:07 PM
That means you don't have name resolution configured correctly on the router. Have you either got a DNS view defined or some name-server lines?
ip name-server 8.8.8.8 8.8.4.4
04-25-2016 03:02 PM
Thanks .. If i have DNS server with ip x.x.x.x .. Then i have to create ( ip name-server x.x.x.x ) only ? Then i apply this
ip sla 1
http get http://www.btc.com.sa/flash/AC_RunActiveContent.js name-server x.x.x.x
04-25-2016 03:05 PM
You need name resolution to work first. So add the "name-server" lines. You can then do a test with "telnet" to make sure it connects, And then all going well, the http sla will work.
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