Specifications

Table Of Contents
1-9
Cisco AS5800 Operations, Administration, Maintenance, and Provisioning Guide
DOC-7810814=
Chapter 1 Introduction
Cisco IOS Software Fundamentals
Command Modes
When using the CLI, a command interpreter, called EXEC, is employed by the operating system to
translate any command and execute its operation. This command interpreter has two access modes, user
and privileged, which provide security to the respective command levels. Each command mode restricts
you to a subset of mode-specific commands.
User mode provides restricted access and limits router configuration or troubleshooting. At this level,
miscellaneous functionality is performed, such as viewing system information, obtaining basic router
status, changing terminal settings, or establishing remote device connectivity.
Privileged mode includes user mode functionality and provides unrestricted access. It is used exclusively
for router configuration, debugging, setting operating system (OS) parameters, and retrieving detailed
router status information.
There are many modes of configuration within privileged mode that determine the type of configuration
desired, such as interface configuration (
5800-1(config-if)#), line configuration
(
5800-1(config-line)#), and controller configuration (5800-1(config-controller)#). Each
configuration command mode restricts you to a subset of mode specific commands.
In the following command sequence, command prompts are automatically modified to reflect command
mode changes. A manual carriage return is implied at the end of each line item.
5800-1> enable
5800-1# configure terminal
5800-1(config)# interface ethernet 0/0/0
5800-1(config-if)# line 0/0/0
5800-1(config-line)# controller t1 0/0/0
5800-1(config-controller)# exit
5800-1(config)# exit
5800-1#
%SYS-5-CONFIG_I: Configured from console by console
5800-1#
The last message is an example of a system response. Press Enter to get the 5800-1# prompt.
Table 1-1 lists common configuration modes. Configure global parameters in global configuration mode,
interface parameters in interface configuration mode, and line parameters in line configuration mode.
Table 1-1 Common Command Modes
Command Mode Prompt Access Method Escape Method
User EXEC
5800-1>
Log in. Use the exit or logout
command to leave the
command line interface.
Privileged EXEC
5800-1#
From user EXEC mode, enter the
enable command.
Use the disable command to
escape back to user EXEC
mode. Use the exit or logout
command to leave the
command line interface.
Global configuration
5800-1(config)#
From privileged EXEC mode,
enter the configure terminal
command.
Use the exit or end (Ctrl-Z)
command to escape to
privileged EXEC mode.