cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
209
Views
0
Helpful
1
Replies
Highlighted
bej Beginner
Beginner

Insert ? as parameter CLI command

I cannot insert the question mark in a single line statement such as.

Ip as-path access-list 5 permit ^1 ?[0-5]$

I've been looking all over Cisco's website for the answer, but I cant find it. Thanks for resolving this problem.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Cisco Employee

Re: Insert ? as parameter CLI command

Type Ctrl-v before you type ?. This tells the IOS that you use the ? as a character and not to get help information.

You can find this information in documents discussing regular expressions, such as the following:

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1818/products_command_reference_chapter09186a008008035b.html

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

1 REPLY 1
Highlighted
Cisco Employee

Re: Insert ? as parameter CLI command

Type Ctrl-v before you type ?. This tells the IOS that you use the ? as a character and not to get help information.

You can find this information in documents discussing regular expressions, such as the following:

http://www.cisco.com/en/US/partner/products/sw/iosswrel/ps1818/products_command_reference_chapter09186a008008035b.html

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post