CLI Basics
The Command Line Interface (CLI) allows you to configure and monitor your switch by entering
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
•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
results in the following error:
^
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
March 2005 | CLI Basics 29 |