Privilege Requirement 
Only Admin level users have access to these commands. 
Example 
Enter the Console port configuration mode and configure the console port 0: 
T2500G-10TS(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: 
T2500G-10TS(config)#line vty 0 5 
11.7  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 spaces but 
ignores leading spaces, and cannot contain question marks. By default, it is 
empty.   
7 —— Indicates a symmetric encrypted password with fixed length will follow. 
encrypted-password
 —— A symmetric encrypted password with fixed length, 
which you can copy from another switch’s configuration file. After the 
encrypted password is configured, you should use the corresponding 
unencrypted password if you re-enter this mode.
 
Command Mode 
Line Configuration Mode 
77