Alcatel OS6602-24 Getting Started Guide - Page 47
CLI Basics, CLI Assistance Features, Syntax Checking
View all Alcatel OS6602-24 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 47 highlights
CLI Basics 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 documentation, and a quick reference card, refer to the OmniSwitch CLI Reference Guide and the "Using the CLI" chapter in the OmniSwitch 6600 Family Switch Management Guide. CLI Assistance Features The CLI provides built-in features that assist you while entering 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 March 2005 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 41