Cisco Cisco ASR 5000

Page of 9109
Command Line Interface Overview   
▀  Entering and Viewing CLI Commands 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
136 
   
Entering and Viewing CLI Commands 
This section describes various methods for entering commands into the CLI. 
Typing each command keyword, argument, and variable can be time-consuming and increase your chance of making 
mistakes. The CLI therefore, supports the following features to assist you in entering commands quickly and more 
accurately. Other features allow you to view the display and review previously entered commands. 
Entering Partial CLI Commands 
In all of the modes, the CLI recognizes partially-typed commands and keywords, as long as you enter enough characters 
for the command to be unambiguously recognized by the system. If you do not enter enough characters for the system to 
recognize a unique command or keyword, it returns a message listing all possible matches for the partial entry. 
If you enter the partial command conf and press Enter, you enter the Global Configuration Mode. If you were to enter 
only , the system would respond with the message: 
Ambiguous Command 
CLI Command Auto-completion 
Use the command auto-completion feature to automatically complete unique CLI commands. Press the Tab key after 
entering enough characters to enable this feature. 
[local]host_namesho<
Tab
[local]host_nameshow 
If you do not enter enough characters to allow the CLI to determine the appropriate command to use, the CLI displays 
all commands that match the characters you entered with auto-completion: 
[local]host_namesh<
Tab
show     shutdown 
[local]host_name
Enter a question mark (?) after a partial command to display all of the possible matching commands, and their related 
help text. 
[local]host_namesh? 
shutdown - Terminates execution of all tasks within the entire chassis 
show - Displays information based on a specified argument 
[local]host_name