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