Inserting Characters; Previous Command Recall; Prefix Recognition - Alcatel OS6850-48L Getting Started Manual

Omniswitch 6800 series
Table of Contents

Advertisement

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.
34
CLI Basics

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. If you want to create a router port on VLAN 32,
you can simply enter
-> router ip 1.1.1.1
instead of the full command:
-> vlan 32 router ip 1.1.1.1
The following command families support prefix recognition:
AAA
Interface
Link Aggregation
Quality of Service (QoS)
Spanning Tree
VLAN Management
October 2006

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents