CLI Reference Guide
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 in 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 in the same manner.
Command Mode
Global Configuration Mode
Example
Enter the Console port configuration mode and configure the console port 0:
TL-SG3424(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:
TL-SG3424(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.
Syntax
password { [ 0 ] password | 7 encrypted-password }
no password
Parameter
0 —— Specify the encryption type. 0 indicates that an unencrypted password will
follow. By default, the encryption type is 0.
password —— Connection password, a string from 1 to 31 alphanumeric
characters or symbols. The password is case sensitive, allows digits, English
letters (case sensitive), underlines and sixteen special characters
( !$%'()*,-./[]{|} ). By default, it is empty.
7 —— Indicates a symmetric encrypted password with fixed length will follow.
57