Chapter 2
Using the Command-Line Interface
For more detailed information on the command modes, see the command reference guide for this release.
Understanding the Help System
You can enter a question mark (?) at the system prompt to display a list of commands available for each
command mode. You can also obtain a list of associated keywords and arguments for any command, as
shown in
Table 2-2
Help Summary
Command
help
abbreviated-command-entry?
abbreviated-command-entry<Tab>
?
command ?
command keyword ?
Understanding Abbreviated Commands
You need to enter only enough characters for the switch to recognize the command as unique.
This example shows how to enter the show configuration privileged EXEC command in an abbreviated
form:
Switch# show conf
OL-26520-01
Table
2-2.
Purpose
Obtain a brief description of the help system in any command mode.
Obtain a list of commands that begin with a particular character string.
For example:
Switch# di?
dir disable disconnect
Complete a partial command name.
For example:
Switch# sh conf<tab>
Switch# show configuration
List all commands available for a particular command mode.
For example:
Switch> ?
List the associated keywords for a command.
For example:
Switch> show ?
List the associated arguments for a keyword.
For example:
Switch(config)# cdp holdtime ?
<10-255> Length of time (in sec) that receiver must keep this packet
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Understanding the Help System
2-3