29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CLI Specifications<br />

Using the CLI<br />

CLI Specifications<br />

The following table lists specifications for the Command Line Interface.<br />

Platforms Supported<br />

Omni<strong>Switch</strong> 6860, 6860E<br />

Configuration Methods • Online configuration via real-time sessions using CLI commands.<br />

• Offline configuration using text file containing CLI commands.<br />

Command Capture Feature Snapshot feature captures switch configurations in a text file.<br />

User Service Features • Command Line Editing<br />

• Command Prefix Recognition<br />

• CLI Prompt Option<br />

• Command Help<br />

• Keyword Completion<br />

• Command Abbreviation<br />

• Command History<br />

• Command Logging<br />

• Syntax Error Display<br />

• More Command<br />

CLI Overview<br />

The CLI uses single-line text commands that are similar to other industry standard switch interfaces.<br />

However, the Omni<strong>Switch</strong> CLI is different from industry standard interfaces in that it uses a single level<br />

command hierarchy.<br />

Unlike other switch interfaces, the CLI has no concept of command modes. Other CLIs require you to step<br />

your way down a tree-type hierarchy to access commands. Once you enter a command mode, you must<br />

step your way back to the top of the hierarchy before you can enter a command in a different mode. The<br />

Omni<strong>Switch</strong> will accept any CLI command at any time because there is no hierarchy.<br />

Online Configuration<br />

To configure parameters and view statistics you must connect the switch to a terminal, such as a PC or<br />

UNIX workstation, using terminal emulation software. This connection can be made directly to the<br />

switch’s serial port or over a network via Telnet.<br />

Once you are logged in to the switch, you may configure the switch directly using CLI commands.<br />

Commands executed in this manner normally take effect immediately. The majority of CLI commands are<br />

independent, single-line commands and therefore can be entered in any order. However, some functions<br />

may require you to configure specific network information before other commands can be entered. For<br />

example, before you can assign a port to a VLAN, you must first create the VLAN. For information about<br />

CLI command requirements, refer to the Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 CLI Reference <strong>Guide</strong>.<br />

Offline Configuration Using Configuration Files<br />

CLI configuration commands can be typed into a generic text file. When the text file is placed on the<br />

switch its commands are applied to the switch when the configuration apply command is issued. Files<br />

used in this manner are called configuration files.<br />

page 4-2 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!