CLI Overview
Exec Mode
Priv-exec Mode
CLI Maintenance Guide
The Command-Line Interface (CLI) has its commands grouped into modes. Modes
are structured as a tree with a single root, exec mode. This section summarizes the
mode structure and explains some CLI conventions.
When you log into the CLI, you begin in exec mode. If the hostname is "bstnA6k,"
the prompt appears as shown below:
bstnA6k>
You can access all global commands (such as show commands) from exec mode, and
you can use the
enable
bstnA6k> enable
Global Commands
You can access global commands from any mode, not just exec. Global commands
include all show commands, terminal commands, commands for working with local
maintenance files (such as log files), and commands for running CLI scripts.
Priv-exec mode has the following prompt:
bstnA6k#
Priv-exec mode contains chassis-management commands, clock commands, and
other commands that require privileges but do not change the network or storage
configuration.
Priv-exec has two sub modes, cfg and gbl.
Cfg Mode
To enter cfg mode, use the
bstnA6k# config
command to enter priv-exec mode.
command:
config
Introduction
CLI Overview
1-5