Understanding Command Modes - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 1
Command-Line Interface

Understanding Command Modes

The Cisco IOS user interface on the Catalyst 4500 series switch has many different modes. The
commands that are available to you depend on which mode you are currently in. You can obtain a list of
commands available for each command mode by entering a question mark (?) at the system prompt.
When you start a session on the Catalyst 4500 series switch, you begin in user mode, often called EXEC
mode. Only a limited subset of the commands are available in EXEC mode. In order to have access to
all commands, you must enter privileged EXEC mode. Normally, you must enter a password to enter
privileged EXEC mode. From privileged EXEC mode, you can enter any EXEC command or enter
global configuration mode. Most EXEC commands are one-time commands, such as show commands,
which show the current status of a given item, and clear commands, which clear counters or interfaces.
The EXEC commands are not saved across reboots of the Catalyst 4500 series switch.
The configuration modes provide a way for you to make changes to the running configuration. When
you save changes to the configuration, the changes remain intact when the Catalyst 4500 series switch
reboots. From global configuration mode, you can enter interface configuration mode, subinterface
configuration mode, and other protocol-specific modes.
ROM-monitor mode is a separate mode used when the Catalyst 4500 series switch cannot boot properly.
If your Catalyst 4500 series switch or access server does not find a valid system image when it is
booting, or if its configuration file is corrupted at startup, the system might enter ROM-monitor mode.
Table 1-3
Table 1-3
Summary of Main Command Modes
Command
Mode
Access Method
User EXEC
Log in.
mode
Privileged
From user EXEC mode,
EXEC mode
enter the enable EXEC
command.
Global
From privileged EXEC
configuration
mode, enter the
mode
configure terminal
privileged EXEC
command.
Interface
From global
configuration
configuration mode,
mode
enter by specifying an
interface with an
interface command.
OL-25342 -01
provides a summary of the main command modes.
Prompt
Switch>
Switch#
Switch(config)#
Switch(config-if)#
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0SG and IOS 15.1(1)SG)
Understanding Command Modes
Exit Method
Use the logout command.
To exit to user EXEC mode, enter the disable
command.
To enter global configuration mode, enter the
configure terminal privileged EXEC command.
To exit to privileged EXEC mode, enter the exit or
end command or press Ctrl-Z.
To enter interface configuration mode, enter an
interface configuration command.
To exit to global configuration mode, enter the exit
command.
To exit to privileged EXEC mode, enter the exit
command or press Ctrl-Z.
To enter subinterface configuration mode, specify a
subinterface with the interface command.
1-5

Advertisement

Table of Contents
loading

Table of Contents