cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
392
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
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

1 Reply 1

Harold Ritter
Spotlight
Spotlight

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,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)