To get help specific to a command mode, a command, a keyword, or an argument, perform one of the following commands:
Command
Help
?
Purpose
Obtain a brief description of the help system in any command mode.
List all commands available for a particular command mode.
When using
To list keywords or arguments, enter a question mark (?) in place of a keyword or argument. Include a space before the question mark (?). This form of help is command syntax help, because it reminds you which keywords or arguments are applicable based on the command, keywords, and arguments you already have entered.
You can abbreviate commands and keywords to the number of characters that allow a unique abbreviation. For example, you can abbreviate the configure command to config. Because the shortened form of the command is unique, the switch accepts the shorted form and executes the command.
Enter the help command (which is available in any command mode) for a brief description of the help system:
Switch# help
CLI/VTY provides advanced help feature. When you need help, anytime at the command line please press '?'.
If nothing matches, the help list will be empty and you must backup until entering a '?' shows the available options.
Two styles of help are provided:
1.Full help is available when you are ready to enter a command argument (e.g. 'show ?') and describes each possible argument.
2.Partial help is provided when an abbreviated argument is entered and you want to know what arguments match the input (e.g. 'show cl?'.)
Switch# show cl?
clock Display the system clock Switch# show cl
As described in the help command output, you can enter a partial command name and a question mark (?) to obtain a list of commands beginning with a particular character set.
Example of Context Sensitive Help
The following example illustrates how the
Enter the letters “co” at the system prompt followed by a question mark (?). Do not leave a space between the last letter and the question mark (?). The system provides the commands that begin with co.
Switch# co? | Enter configuration mode |
configure | |
copy | Copy from one file to another |
Switch# co |
|
Enter the configure command followed by a space and a question mark (?) to list the command’s keyword(s) and a brief explanation:
28 | Asante IntraCore IC36240 | Setup Guide |