4-12
Cisco 2900 and 3900 Series Hardware Installation
OL-18712-01
Chapter 4 Configuring the Router
Performing the Initial Configuration on the Router
SUMMARY STEPS
1.
enable
2.
configure
terminal
3.
line
console 0
4.
exec-timeout
minutes
[
seconds
]
5.
end
6.
show running-config
DETAILED STEPS
Examples
The following example shows how to set the console idle privileged EXEC timeout to 2 minutes 30
seconds:
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
•
Enter your password if prompted.
Step 2
configure
terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
line
console 0
Example:
Router(config)# line console 0
Configures the console line and starts the line configuration
command collection mode.
Step 4
exec-timeout
minutes
[
seconds
]
Example:
Router(config-line)# exec-timeout 0 0
Sets the idle privileged EXEC timeout, which is the interval
that the privileged EXEC command interpreter waits until
user input is detected.
•
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
Example:
Router(config)# end
Returns to privileged EXEC mode.
Step 6
show running-config
Example:
Router(config)# show running-config
Displays the running configuration file.
•
Verify that you properly configured the idle privileged
EXEC timeout.