Alcatel Carrier Internetworking Solutions 7700 Manuel D’Utilisation

Page de 68
March 2005
CLI Basics
31
Inserting Characters
To insert a character between characters that are already typed, 
use the Left and Right Arrow keys to place the cursor into 
position, then type the new character. Once the syntax is 
correct, execute the command by pressing Enter. In the 
following example, the user enters the wrong syntax to execute 
a command. The result is an error message.
-> show micrcode
       ^
ERROR: Invalid entry: "micrcode"
To correct the syntax without retyping the entire command 
line, use the !! command to recall the previous syntax. Then, 
use the Left Arrow key to position the cursor between the “r” 
and the “c” characters. To insert the missing character for this 
example, type “o” as shown:
-> !!
-> show microcode
Previous Command Recall
To recall the last command executed by the switch, press the 
Up Arrow key at the prompt and the previous command will 
display on your screen. You can execute the command again 
by pressing Enter or you can edit it first by deleting or insert-
ing characters. 
Prefix Recognition
Prefix recognition is a CLI feature that reduces redundant 
command line entry by storing commonly-used prefix infor-
mation for certain commands. The CLI assumes this stored 
prefix information when the next command is entered. For 
example, if you enter
-> vlan 32
at the command line, the CLI will store the vlan 32 prefix 
information. 
The following command families support prefix recognition:
• AAA
• Interface
• Link Aggregation
• Quality of Service (QoS)
• Spanning Tree
• VLAN Management