Cisco Systems A9014CFD User Exec Log, Exit, or logout, Entered. Use a password, Use the interface

Models: A9014CFD

1 884
Download 884 pages 9.83 Kb
Page 102
Image 102

Chapter 5 Using the Command-Line Interface

Understanding Command Modes

Using the configuration modes (global, interface, and line), you can make changes to the running configuration. When you save the configuration, these commands are stored and used for router reboots. To access the various configuration modes, you must start at global configuration mode. From global configuration mode, you can enter interface configuration mode and line configuration mode.

Table 5-1describes the main command modes, how to access each one, the prompt you see in that mode, and how to exit the mode. The examples in the table use the hostname Router.

For more detailed information on the command modes, see the command reference guide for this release.

Table 5-1

Command Mode Summary

 

 

 

 

 

 

 

 

 

 

 

 

 

Router Prompt

 

 

 

Command Mode

Access Method

Displayed

Exit Method

About This Mode

 

 

 

 

 

 

User EXEC

Log in.

 

Router>

Use the logout

Use this mode to:

 

 

 

 

command.

Change terminal

 

 

 

 

 

 

 

 

 

 

 

settings.

 

 

 

 

 

Perform basic tests.

 

 

 

 

 

Display system

 

 

 

 

 

 

information.

 

 

 

 

 

Privileged EXEC

From user EXEC

Router#

To go to user EXEC

Use this mode to verify

 

mode, use the enable

 

mode, use the disable,

commands that you have

 

command.

 

 

exit, or logout

entered. Use a password

 

 

 

 

command.

to protect access to this

 

 

 

 

 

mode.

 

 

 

 

 

Global configuration

From the privileged

Router (config)#

To go to privileged

Use this mode to

 

EXEC mode, use the

 

EXEC mode, use the

configure parameters

 

configure terminal

 

exit or end command,

that apply to the entire

 

command.

 

 

or press Ctrl-Z.

router.

 

 

 

 

 

Interface configuration

From the global

Router (config-if)#

To go to global

Use this mode to

 

configuration mode,

 

configuration mode,

configure parameters for

 

use the interface

 

use the exit command.

the Ethernet ports.

 

command (with a

 

To return directly to

 

 

 

specific interface).

 

 

 

 

 

privileged EXEC mode,

 

 

 

 

 

 

 

 

 

 

 

 

press Ctrl-Z.

 

 

 

 

 

 

 

 

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

5-2

OL-23826-09

 

 

Page 102
Image 102
Cisco Systems A9014CFD manual User Exec Log, Exit, or logout, Entered. Use a password, Use the interface