02-17-2009 05:24 PM
I am trying to setup an HTTP IP SLA with a URL that contains a question mark (?). It will not work when I type it in as it thinks I am trying to get help. It will work if I copy/paste in the URL, but then when you show run, the question mark is removed.
For example:
ip sla monitor 9999
type http operation get url http://www.site.com/page.aspx?option=value&option2=value
When that is pasted in, it is converted into:
ip sla monitor 9999
type http operation get url http://www.site.com/page.aspxoption=value&option2=value
Notice the question mark has been removed. And that will return a 404 message because that page does not exist.
I tried using raw instead of get, but has the same issue.
Is there an escape character that needs to be added or something to make the question mark work?
This was previously discussed at http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Network%20Management&topicID=.ee71a02&fromOutline=&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1dd91f74, but no one ever answered the question.
Solved! Go to Solution.
02-17-2009 09:55 PM
To type a '?' into IOS, hit Control+V then '?'.
02-17-2009 09:55 PM
To type a '?' into IOS, hit Control+V then '?'.
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: