Using the Command Line Interface (CLI)

Using the Command Line Interface (CLI)

Overview

Overview

The CLI is a text-based command interface for configuring and monitoring the switch. The CLI gives you access to the switch’s full set of commands while providing the same password protection that is used in the web browser interface and the menu interface.

Accessing the CLI

Like the menu interface, the CLI is accessed through the switch console, and, in the switch’s factory default state, is the default interface when you start a console session. You can access the console out-of-band by directly connecting a terminal device to the switch, or in-band by using Telnet either from a terminal device or through the web browser interface.

Also, if you are using the menu interface, you can access the CLI by selecting the Command Line (CLI) option in the Main Menu.

Using the CLI

The CLI offers these privilege levels to help protect the switch from unauthorized access:

• Operator

• Manager

• Global Configuration

• Context Configuration

N o t e

CLI commands are not case-sensitive.

 

When you use the CLI to make a configuration change, the switch writes the

 

change to the Running-Config file in volatile memory. This allows you to test

 

your configuration changes before making them permanent. to make changes

 

permanent, you must use the write memory command to save them to the

 

Startup Config file in non-volatile memory. If you reboot the switch without

3-2