Chapter 3
Initial Configuration
Table 3-2
IOS Command Modes
Mode
What You Use It For
User EXEC
Connect to remote devices,
change terminal settings on a
temporary basis, perform basic
tests, and display system
information.
Privileged EXEC
Set operating parameters. The
(also called Enable
privileged command set includes
mode)
the commands in user EXEC
mode, as well as the configure
command. Use this command
mode to access the other
command modes.
Global configuration
Configure features that affect the
system as a whole.
Interface configuration Enable features for a particular
interface. Interface commands
enable or modify the operation
of a Fast Ethernet, Gigabit
Ethernet or Packet over SONET
(POS) port.
Line configuration
Configure the console port or
VTY line from the directly
connected console or the virtual
terminal used with Telnet.
When you start a session on the ML-Series card, you begin in user EXEC mode. Only a small subset of
the commands are available in user EXEC mode. To have access to all commands, you must enter
privileged EXEC mode, also called Enable mode. From privileged EXEC mode, you can type in any
EXEC command or access global configuration mode. Most of the EXEC commands are single-use
commands, such as show commands, which show the current configuration status, and clear commands,
which clear counters or interfaces. The EXEC commands are not saved across reboots of the ML-Series
card.
The configuration modes allow you to make changes to the running configuration. If you later save the
configuration, these commands are stored across ML-Series card reboots. You must start in global
configuration mode. From global configuration mode, you can enter interface configuration mode,
subinterface configuration mode, and a variety of protocol-specific modes.
Read-only memory monitor mode (ROMMON )is a separate mode used when the ML-Series card cannot
boot properly. For example, your ML-Series card might enter ROM monitor mode if it does not find a
valid system image when it is booting, or if its configuration file is corrupted at startup.
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
78-15224-02
How to Access
Log in.
From user EXEC mode, enter the
enable command and the enable
password.
From privileged EXEC mode,
enter the configure terminal
command.
From global configuration mode,
enter the interface type number
command.
For example, enter
interface fastethernet 0 for Fast
Ethernet or
interface gigabitethernet 0 for
Gigabit Ethernet interfaces or
interface pos 0 for Packet over
SONET interfaces.
From global configuration mode,
enter the line console 0
command to configure the
console port or the line vty
line-number command to
configure a VTY line.
Understanding Cisco IOS Command Modes
Prompt
Router>
Router#
Router(config)#
Router(config-if)#
Router(config-line)#
3-11