IOS & Question Marks (?)

The question mark (?) is almost always used in Cisco IOS to present the help context menu. However, it can also be used as a special character in regex strings and EEM scripts. It can also be used in meta-information fields such as a VLAN name or interface description though I would considered it best to avoid this practice (but someone always has a “good” reason for everything). Should you ever have the need to insert a question mark (?), the escape sequence Ctrl + V must first be entered then the question mark (?) can be inserted as a string character.

Here is Cisco references for IOS and NX-OS, respectively.

Advertisements

About kludgebomb

Network engineer with an obsession for the details.
This entry was posted in Cisco. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s