
You can use the no exec-timeout command in the LINE configuration mode, cancel the timeout
connected LINE.
Switch#
configure terminal
// Enter global configuration mode Switch#
line vty
0
// Enter the LINE configuration mode Switch(config-line)#
exec-timeout
20
// Set the timeout period for the 20min
2.7. The configuration of LINE model
2.7.1.
Summary
This chapter describes some of the operation of LINE
:
Enter the LINE configuration mode
Increase / decrease in the number of LINE VTY
2.7.2.
To enter LINE mode
Through access to the specified LINE mode, can be in LINE mode, the configuration of the specific
LINE. To enter to the specified LINE mode, execute the following command
:
Command
Function
Switch(config)#
line
[
console
|
vty
]
first-line [last-line]
Access to the specified LINE model
2.7.3.
Configure user authentication local
By default, the user can directly through the console port or telnet directly connected to the switch, can
be connected to the switch by allowing the user to enter the username and password
Command
Function
Switch(config)# user Switch password 0 Switch
Configure user name and password
:
Switch
Switch(config)#
line vty
0 12
Enter the VTY configuration mode
Switch(config)#
login local
Start the local authentication configuration
2.7.4.
Configure the WEB user login timeout
The default user five minutes without operation switch, system automatically disconnect the related
connected this time can be modified according to the needs of users
Command
Function
Switch(config)#
line vty
0 12
Enter the VTY configuration mode
Switch(config-line)#
exec-timeout
10
The configuration is not the action timeout
time is 10 minutes, 0 never timeout