Chapter 5 Configuring the Router

Performing the Initial Configuration on the Router

SUMMARY STEPS

1.enable

2.configure terminal

3.line console 0

4.exec-timeoutminutes [seconds]

5.end

6.show running-config

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

enable

Enables privileged EXEC mode.

 

 

Enter your password if prompted.

 

Example:

 

 

Router> enable

 

Step 2

 

 

configure terminal

Enters global configuration mode.

 

Example:

 

 

Router# configure terminal

 

Step 3

 

 

line console 0

Configures the console line and starts the line configuration

 

 

command collection mode.

 

Example:

 

 

Router(config)# line console 0

 

Step 4

 

 

exec-timeoutminutes [seconds]

Sets the idle privileged EXEC timeout, which is the interval

 

 

that the privileged EXEC command interpreter waits until

 

Example:

user input is detected.

 

 

 

Router(config-line)# exec-timeout 0 0

The example shows how to specify no timeout. Setting

 

 

the exec-timeout value to 0 will cause the router to

 

 

never log out once logged in. This could have security

 

 

implications if you leave the console without manually

 

 

logging out using the disable command.

Step 5

 

 

end

Returns to privileged EXEC mode.

 

Example:

 

 

Router(config)# end

 

Step 6

 

 

show running-config

Displays the running configuration file.

 

 

Verify that you properly configured the idle privileged

 

Example:

EXEC timeout.

 

Router(config)# show running-config

 

 

 

 

Examples

The following example shows how to set the console idle privileged EXEC timeout to 2 minutes 30 seconds:

 

 

Cisco 1900 Series Hardware Installation

 

 

 

 

 

 

OL-19084-02

 

 

5-11

 

 

 

 

 

Page 85
Image 85
Cisco Systems 1900 Series Command collection mode, That the privileged Exec command interpreter waits until, Exec timeout