3-6
Cisco 880 Series Integrated Services Router Software Configuration Guide
OL-22206-01
Chapter 3 Basic Router Configuration
Configuring Command-Line Access
Example
The following configuration shows the command-line access commands.
You do not need to in put the co mmands marked “d efault.” Th ese commands appear automatical ly in the
configuration file generated when you use the show running-config command.
!
line con 0
exec-timeout 10 0
password 4youreyesonly
login
transport input none (default)
stopbits 1 (default)
line vty 0 4
password secret
login
!
Step 4 exec-timeout minutes [seconds]
Example:
Router(config-line)# exec-timeout 5 30
Router(config-line)#
Sets the interval that the EXEC command
interpreter waits until user input is detected. The
default is 10 minutes. Optionally, add seconds to
the interval value.
This example shows a timeout of 5 minutes and
30 seconds. Entering a timeout of 0 0 specifies
never to time out.
Step 5 line [aux | console | tty | vty] line-number
Example:
Router(config-line)# line vty 0 4
Router(config-line)#
Specifies a virtual terminal for remote console
access.
Step 6 password password
Example:
Router(config-line)# password aldf2ad1
Router(config-line)#
Specifies a unique password for the virtual
terminal line.
Step 7 login
Example:
Router(config-line)# login
Router(config-line)#
Enables password checking at the virtu al terminal
session login.
Step 8 end
Example:
Router(config-line)# end
Router#
Exits line configuration mode, and returns to
privileged EXEC mode.
Command Purpose