cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
2131
Views
0
Helpful
5
Replies

IP SLA in cisco 4331 not working

ranjit123
Level 3
Level 3

Hello All,

We are using IOS isr4300-universalk9.03.16.02.S.155-3.S2-ex and i am configuring the below IP sla on the router but its not working

===============================================

ip sla 31
http raw http://X.X.X.X
http-raw-request
GET http://X.X.X.X/test/HTTP/1.0\r\n
User-Agent: Cisco IP SLA\r\n
\r\n
exit
threshold 300

IPSLA operation id: 31
Latest RTT: 91 milliseconds
Latest operation start time: 17:16:22 UTC Thu Feb 2 2017
Latest operation return code: Http Error <-------------------********
Latest DNS RTT: 0 ms
Latest TCP Connection RTT: 13 ms
Latest HTTP Transaction RTT: 78 ms
Number of successes: 0
Number of failures: 18
Operation time to live: Forever

============================================================

same above config was working on earlier 2800 series router..

Regards,

Ranjit

5 Replies 5

Hello,

there might just be a small syntax error. Try to add 'url' as below:

ip sla 31
http raw url http://X.X.X.X
http-raw-request
GET http://X.X.X.X/test/HTTP/1.0\r\n
User-Agent: Cisco IP SLA\r\n
\r\n
exit
threshold 300

Hello Georg,

Unfortunatelty the url is not supported in this IOS XE  isr4300-universalk9.03.16.02.S.155-3.S2-ex

rtr(config-ip-sla)#http raw ?
WORD URL

rtr#http raw url http://X.X.X.X
^
% Invalid input detected at '^' marker.

Regards,

Ranjit

Hello Ranjit,

I'll check further...

Which URL are you tracking ?

Hello All,

Pardon me for a late reply, actually after troubleshooting found out the URL/sytax was incorrect.

We are tracking Zscaler URL..

Regards,

Ranjit

Jigar Dave
Level 3
Level 3

Since you have used number 31 , try using number 32 now. Just kidding :)

See below format could help you

ip sla 32
 http raw http://x.x.x.x source-ip {either loopback or WAN IP}
 http-raw-request
  GET http://example.com/test HTTP/1.0\r\n
  User-Agent: Cisco IP SLA\r\n
  end\r\n
  \r\n
  \r\n
  \r\n
  exit
ip sla schedule 32 life forever start-time now

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: