Command Line Interface

Introduction

The CLI is used for viewing switch information and statistics. In addition, the administrator can use the CLI for performing all levels of switch configuration.

To make the CLI easy to use, the various commands have been logically grouped into a series of menus and submenus. Each menu displays a list of commands and/or submenus that are available, along with a summary of what each command will do. Below each menu is a prompt where you can enter any command appropriate to the current menu.

This chapter describes the Main Menu commands, and provides a list of commands and shortcuts that are commonly available from all the menus within the CLI.

Main Menu

The Main Menu displays after a successful connection and login. The following table shows the Main Menu for the administrator login. Some features are not available under the user login.

[Main Menu]

 

info

- Information Menu

stats

- Statistics Menu

cfg

- Configuration Menu

oper

- Operations Command Menu

boot

- Boot Options Menu

maint

- Maintenance Menu

diff

- Show pending config changes [global command]

apply

- Apply pending config changes [global command]

save

- Save updated config to FLASH [global command]

revert

- Revert pending or applied changes [global command]

exit

- Exit [global command, always available]

Menu summary

The Main Menu displays the following submenus:

Information Menu

The Information Menu provides submenus for displaying information about the current status of the switch.

Statistics Menu

This menu provides submenus for displaying switch performance statistics.

Configuration Menu

This menu is available only from an administrator login. It includes submenus for configuring every aspect of the switch. Changes to configuration are not active until explicitly applied. Changes can be saved to non- volatile memory (NVRAM).

Operations Command Menu

Operations-level commands are used for making immediate and temporary changes to switch configuration. This menu is used for bringing ports temporarily in and out of service. This menu is available only from an administrator and operator login.

Boot Options Menu

The Boot Options Menu is available only from an administrator login. This menu is used for upgrading switch software, selecting configuration blocks, and for resetting the switch when necessary. This menu is also used to set the switch back to factory settings.

Maintenance Menu

This menu is used for debugging purposes, enabling you to generate a technical support dump of the critical state information in the switch, and to clear entries in the Forwarding Database and the Address Resolution Protocol (ARP). This menu is available only from an administrator and operator login.

Command Line Interface 27