cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
308
Views
0
Helpful
1
Replies

Insert ? as parameter CLI command

bej
Level 1
Level 1

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

Harold Ritter
Cisco Employee
Cisco Employee

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

Harold Ritter
Cisco Employee
Cisco Employee

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