Using Context-Sensitive Help

! Show possible next input for a command that begins with ‘show a’:

my-device# show a?
aaa             Login methods
access          Access management
access-list     Access list
aggregation     Aggregation port configuration

! The same, but without descriptions:

my-device# show a<TAB>
aaa access access-list aggregation

! If the user enters another ‘g’ the word ‘aggregation’ is the only possibility:

my-device# show ag?
aggregation Aggregation port configuration
<cr>

! Pressing now expands the word fully:

my-device# show aggregation        

! Possible next input is displayed with a press of ‘?’:

my-device# show aggregation ?
| Output modifiers
mode Traffic distribution mode
<cr>

! The syntax is displayed with another press of ‘?’:

my-device# show aggregation ?
show aggregation [ mode ]

! This shows that there is an optional ‘mode’ word (square brackets indicate an option). ! Repeated presses of ‘?’ toggles display between next possible input and syntax:

my-device# show aggregation ?
| Output modifiers
mode Traffic distribution mode
<cr>
my-device# show aggregation ?
show aggregation [ mode ]

! Finally, the syntax display is also directly available with Ctrl-Q:

my-device# show aggregation ^Q
show aggregation [ mode ]

Last updated