1
|
line [aux | console | tty | vty] line-number
Example:
Router(config)# line console 0
|
Enters line configuration mode and specifies the type of line.
This example specifies a console terminal for access.
|
2
|
password password
Example:
Router(config-line)# password 5dr4Hepw3
|
Specifies a unique password for the console terminal line.
|
3
|
login
Example:
Router(config-line)# login authentication default
|
Enables password checking at terminal session login.
|
4
|
exec-timeout minutes [seconds]
Example:
Router(config-line)# exec-timeout 5 30
|
Sets the time 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.
|
5
|
line [aux | console | tty | vty] line-number
Example:
Router(config-line)# line vty 0 4
|
Specifies a virtual terminal for remote console access.
|
6
|
password password
Example:
Router(config-line)# password aldf2ad1
|
Specifies a unique password for the virtual terminal line.
|
7
|
login
Example:
Router(config-line)# login authentication default
|
Enables password checking at the virtual terminal session login.
|
8
|
end
Example:
Router(config-line)# end
|
Exits line configuration mode, and returns to privileged EXEC mode.
|