Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Using the CLI CLI Services
OmniSwitch 6600 Family Switch Management Guide March 2005 page 5-9
CLI Services
There are several services built into the CLI that help you use the interface. The Command Line Editing
service makes it easy for you to enter and edit repetitive commands. Other CLI services, such as syntax
checking, command help, prefix prompt, and history assist you in selecting and using the correct
command syntax for the task you are performing.
Command Line Editing
CLI commands are entered from your keyboard and are executed when you press Enter. The CLI also has
several editing features that make it easier for you to enter the correct commands, either by allowing you
to correct entry mistakes or by helping you enter the correct command.
Deleting Characters
You can delete CLI command characters by using the Backspace key or the Delete key. The Backspace
key deletes each character in the line, one at a time, from right to left. Note the following command entry:
-> show macrocode
The correct syntax is “show microcode”. To change the spelling in this entry, use the Backspace key to
delete all of the characters after the “m”.
-> show m
Type the correct syntax, then press Enter to execute the command.
To change incorrect syntax with the Delete key, use the Left Arrow key to move the cursor to the left of
the character to be deleted, then use the Delete key to remove characters to the right of the cursor. Note the
following command entry:
-> show macrocode
The correct syntax is “show microcode”. To change the spelling in this entry, use the Left Arrow key to
place the cursor between the “m” and the “a”.
-> show m|acrocode
Use the Delete key to remove the “a” and type “i”.
-> show microcode
Press Enter to execute the command.