3-11
Cisco ONS 15454 SONET/SDH ML-Series Multilayer Ethernet Card Software Feature and Configuration Guide, R4.0
78-15224-02
Chapter 3 Initial Configuration
Understanding Cisco IOS Command Modes
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.
Table 3-2 IOS Command Modes
Mode What You Use It For How to Access Prompt
User EXEC Connect to remote devices,
change terminal settings on a
temporary basis, perform basic
tests, and display system
information.
Log in.
Router>
Privileged EXEC
(also called Enable
mode)
Set operating parameters. The
privileged command set includes
the commands in user EXEC
mode, as well as the configure
command. Use this command
mode to access the other
command modes.
From user EXEC mode, enter the
enable command and the enable
password.
Router#
Global configuration Configure features that affect the
system as a whole.
From privileged EXEC mode,
enter the configure terminal
command.
Router(config)#
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.
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.
Router(config-if)#
Line configuration Configure the console port or
VTY line from the directly
connected console or the virtual
terminal used with Telnet.
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.
Router(config-line)#