CLI Specifications
CLI Specifications
The following table lists specifications for the Command Line Interface.
Platforms Supported
Configuration Methods
Command Capture Feature
User Service Features
CLI Overview
The CLI uses single-line text commands that are similar to other industry standard switch interfaces.
However, the OmniSwitch CLI is different from industry standard interfaces in that it uses a single level
command hierarchy.
Unlike other switch interfaces, the CLI has no concept of command modes. Other CLIs require you to step
your way down a tree-type hierarchy to access commands. Once you enter a command mode, you must
step your way back to the top of the hierarchy before you can enter a command in a different mode. The
OmniSwitch will accept any CLI command at any time because there is no hierarchy.
Online Configuration
To configure parameters and view statistics you must connect the switch to a terminal, such as a PC or
UNIX workstation, using terminal emulation software. This connection can be made directly to the
switch's serial port or over a network via Telnet.
Once you are logged in to the switch, you may configure the switch directly using CLI commands.
Commands executed in this manner normally take effect immediately. The majority of CLI commands are
independent, single-line commands and therefore can be entered in any order. However, some functions
may require you to configure specific network information before other commands can be entered. For
example, before you can assign a port to a VLAN, you must first create the VLAN. For information about
CLI command requirements, refer to the OmniSwitch CLI Reference Guide.
Offline Configuration Using Configuration Files
CLI configuration commands can be typed into a generic text file. When the text file is placed on the
switch its commands are applied to the switch when the
used in this manner are called configuration files.
page 4-2
OmniSwitch 10K
•
Online configuration via real-time sessions using CLI commands.
•
Offline configuration using text file holding CLI commands.
Snapshot feature captures switch configurations in a text file.
•
Command Line Editing
•
Command Prefix Recognition
•
CLI Prompt Option
•
Command Help
•
Keyword Completion
•
Command History
•
Command Logging
•
Syntax Error Display
•
More Command
configuration apply
OmniSwitch AOS Release 7 Switch Management Guide
Using the CLI
command is issued. Files
March 2011