cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1211
Views
10
Helpful
1
Replies

HTTP IP SLA with question mark in URL

andrew.garvin
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

To type a '?' into IOS, hit Control+V then '?'.

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

To type a '?' into IOS, hit Control+V then '?'.

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: