CLI Tips and Shortcuts
Entering Abbreviated Commands
You can abbreviate commands and keywords to the number of characters that allow a unique
abbreviation. For example, the configure command can be abbreviated as config because the abbreviated
form of the command is unique. The router accepts and executes the abbreviated command.
Using the Question Mark (?) to Display On-Screen Command Help
Use the question mark (?) to learn what commands are available and the correct syntax for a command.
Table 3-1
Tip
The space (or lack of a space) before the question mark (?) is significant. If you include a space before
the question mark, the system displays all available options for a command or a CLI mode. If you do not
include a space, the system displays a list of commands that begin with a particular character string.
Table 3-1
On-Screen Help Commands
Command
Description
partial-command?
Enter a question mark (?) at the end of a partial command to list the commands that begin with those
characters.
RP/0/RP0/CPU0:router# co?
configure copy
Note
?
Lists all commands available for a particular command mode.
command ?
Include a space before the question mark (?) to list the keywords and arguments that belong to a
command.
RP/0/RP0/CPU0:router# configure ?
exclusive
memory
network
overwrite-network
terminal
<cr>
Note
command keyword ? Enter a question mark (?) after the keyword to list the next available syntax option for the command.
RP/0/RP0/CPU0:router# show aaa ?
taskgroup
userdb
usergroup
Note
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
3-2
summarizes the options for on-screen help.
Do not include a space between the command and question mark.
Configure exclusively from this terminal
Configure from NV memory
Configure from TFTP network host
Overwrite NV memory from TFTP network host
Configure from the terminal
For most commands, the
<cr>
syntax already entered. For the example above, press Return to enter global configuration
mode.
Show all the local taskgroups configured in the system
Show all local users with the usergroups each belong to
Show all the local usergroups configured in the system
Include a space between the keyword and question mark.
Chapter 3
symbol indicates that you can execute the command with the
CLI Tips, Techniques, and Shortcuts
Need help?
Do you have a question about the CRS-1 - Carrier Routing System Router and is the answer not in the manual?