Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Using the CLI Command Entry Rules and Syntax
OmniSwitch 6600 Family Switch Management Guide March 2005 page 5-3
Offline Configuration Using Configuration Files
CLI configuration commands can be typed into a generic text file. When the text file is placed in the
switch /flash/working directory, its commands are applied to the switch when the configuration apply
command is issued. Files used in this manner are called configuration files.
A configuration file can be viewed or edited offline using a standard text editor. It can then be uploaded
and applied to additional switches in the network. This allows you to easily clone switch configurations.
This ability to store comprehensive network information in a single text file facilitates troubleshooting,
testing, and overall network reliability.
See Chapter 6, “Working With Configuration Files,” for detailed information about configuration files.
Command Entry Rules and Syntax
When you start a session on the switch, you can execute CLI commands as soon as you are logged in. The
following rules apply:
Enter only one command per line.
No command may be extended across multiple lines.
Passwords are case sensitive.
Commands are not case sensitive. The switch accepts commands entered in upper case, lower case or a
combination of both.
Press Enter to complete each command line entry.
To use spaces within a user-defined text string, you must enclose the entry in quotation marks (“ ”).
If you receive a syntax error (i.e., ERROR: Invalid entry:), double-check your command as written and
re-enter it exactly as described in the OmniSwitch CLI Reference Guide. Be sure to include all syntax
option parameters.
To exit the CLI, type exit and press Enter.
Text Conventions
The following table contains text conventions and usage guidelines for CLI commands as they are
documented in this manual.
bold text Indicates basic command and keyword syntax.
Example: show snmp station
“ ”
(Quotation Marks) Used to enclose text strings that contain spaces
Example: vlan 2 name “new test vlan”