DXS-1210 Series Smart Managed Switch CLI Reference Guide
59
5-9 line
This command is used to identify a line type for configuration and enter line configuration mode.
line {console | telnet }
Parameters
console
Specifies the local console terminal line.
telnet
Specifies the Telnet terminal line
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The line command is used to enter the Line Configuration Mode.
Example
This example shows how to enter the Line Configuration Mode for the console terminal line and
configures its access class as”vty-filter”.
Switch# configure terminal
Switch(config)#line console
Switch(config-line)# access-class vty-filter
Switch(config-line)#
5-10
service password-encryption
This command is used to enable the encryption of the password before stored in the configuration file.
Use the no form of this command todisable the encryption.
service password-encryption {7 | 15}
no service password-encryption
Parameters
7
Specifies the password in the encrypted form based on SHA-1.
15
Specifies the password in the encrypted form based on MD5.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level:15.