You could always enter the URL as follows: http://10.0.0.1/config-gen.php%3Fhostname=switch-hostname
a URLencoded ? results in %3F. Nick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian MacKinnon Sent: Thursday, December 13, 2007 9:50 AM To: Jeffrey Ollie Cc: cisco-nsp@puck.nether.net Subject: Re: [c-nsp] Using a "?" in a URL Hi Jeffrey, I was looking at something similar the other day, I have not tried it myself. You need to escape the "?" with ctrl-v when entering it. Not sure how this translates to the actual running config :-) Jeffrey Ollie wrote: > Is there a way to use a "?" in a URL from the IOS command line? I'd > like to be able to do something like: > > copy http://10.0.0.1/config-gen.php?hostname=switch-hostname start > > But IOS is interpreting the "?" as a request to provide > context-sensitive help. Quoting the URL or trying to escape the "?" > with backslashes doesn't help. Is there any way to turn this behavior > off, at least temporarily? I can work around this using extra path > information instead of query parameters in the URL but I thought that > I'd see if there's a way to turn it off. > > Jeff > _______________________________________________ > cisco-nsp mailing list cisco-nsp@puck.nether.net > https://puck.nether.net/mailman/listinfo/cisco-nsp > archive at http://puck.nether.net/pipermail/cisco-nsp/ -- Ian MacKinnon Lumison t: 0845 1199 900 d: 0131 514 4055 PS. Do you know that we have opened a new datacentre in London? Click https://www.lumison.net/services/pdfs/colo_croydon.pdf or give me a call if you want to know more. -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Any offers or quotation of service are subject to formal specification. Errors and omissions excepted. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Lumison, nplusone or lightershade ltd. Finally, the recipient should check this email and any attachments for the presence of viruses. Lumison, nplusone and lightershade ltd accepts no liability for any damage caused by any virus transmitted by this email. _______________________________________________ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/ _______________________________________________ cisco-nsp mailing list cisco-nsp@puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/