T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
82
line
Description
The
line
command is used to enter the Line Configuration Mode and make
related configurations for the desired user(s), including the login mode and
password configurations.
Syntax
line
[
console
linenum
|
vty
startlinenum endlinenum
]
Parameter
linenum
—— The number of users allowed to login through console port. Its
value is 0 in general as there is only one console port on a switch.
startlinenum
——The start serial number of the login user selected to configure
the login mode and password, ranging from 0 to 15. 0 means the first login user
number, 1 means the second, and the rest can be done on the same manner.
endlinenum
—— The end serial number of the login user selected to configure
the login mode and password, ranging from 0 to 15. 0 means the first login user
number, 1 means the second, and the rest can be done on the same manner.
Command Mode
Global Configuration Mode
Example
Enter the Console port configuration mode and configure the console port 0:
T2700G-28TQ(config)#line console
0
Enter the Virtual Terminal configuration mode so as to prepare further
configurations such as password and login mode for virtual terminal 0 to 5:
T2700G-28TQ(config)#line vty
0 5
password
Description
The
password
command is used to configure the connection password. To
clear the password, please use
no password
command.