Introduction
CLI Overview
CLI Maintenance Guide
1-5
CLI Overview
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.
Exec Mode
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
command to enter priv-exec mode.
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
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
config
command:
bstnA6k#
config
Summary of Contents for Adaptive Resource Switch
Page 12: ...2 xii CLI Maintenance Guide...
Page 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Page 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Page 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Page 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Page 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Page 318: ...Copyright 2 CLI Maintenance Guide...
Page 324: ...Index 6 CLI Maintenance Guide...