Alcatel Carrier Internetworking Solutions 7700 Manuel D’Utilisation

Page de 68
March 2005
CLI Basics
29
The Command Line Interface (CLI) allows you to configure 
and monitor your switch by entering single-line commands. 
The CLI can be accessed through terminal or Telnet sessions. 
Note. Configuring the switch using the CLI is also 
referred to as “online configuration.” 
The following section provides basic information on CLI 
assistance features. For detailed information on the CLI, 
including syntax conventions, usage rules, command docu-
mentation, and a quick reference card, refer to the OmniSwitch 
CLI Reference Guide
 and the Switch Management Guide.
CLI Assistance Features
The CLI provides built-in features that assist you while enter-
ing commands. These features include:
• Syntax checking
• Command line help
• Partial keyword completion
• Deleting and inserting characters
• Previous command recall
• Prefix recognition
• Prefix prompt
• Command history and command logging
Note. The software supports vt100 terminal emulation; 
CLI assistance features may be limited if your terminal 
emulation software is using a setting other than vt100.
Syntax Checking
If you make a mistake while entering command syntax, the 
CLI provides clues about how to correct the error. Whenever a 
command error is entered, two indicators are displayed:
• An Error message describing the type of error.
• A carat (^) character indicating where the error 
occurred.
For example, the syntax
-> show vlan router port mac status
results in the following error:
-> show vlan router port mac status
                   ^
ERROR: Invalid entry: "port"
Because port is not valid syntax for the command, the error 
message shows it as an invalid entry and the carat indicates 
where the problem has occurred. For this example, the valid 
command syntax is
-> show vlan router mac status
CLI Basics