45
2.1.1.22 service password-encryption
Command:service password-encryption
no service password-encryption
Function:
Encrypt system password. The “
no service password-encryption
” command
cancels the encryption
Command mode:
Global mode
Default:
no service password-encryption by system default
Usage guide:
The current unencrypted passwords as well as the coming passwords
configured by password, enable password and username command will be encrypted by
executed this command. no service password-encryption cancels this function however
encrypted passwords remain unchanged.
Example:
Encrypt system passwords
Switch(Config)#service password-encryption
2.1.1.23 service terminal-length
Command:service terminal-length <0-512>
no service terminal-length
Function:
Configure the columns of characters displayed in each screen on terminal
(vty). The “
no service terminal-length
” command cancels the screen shifting operation.
Parameter:
Columns of characters displayed on each screen of vty, ranging between
0-512.
Command mode:
Global mode
Usage guide:
Configure the columns of characters displayed on each screen of the
terminal. The columns of characters displayed on each screen on the telent.ssh client
and the Console will be following this configuration.
Example:
Set the number of vty threads to 20.
Switch(Config)#service terminal-length 20
2.1.1.24 set default
Command: set default
Function:
Reset the switch to factory settings.
Command mode:
Admin Mode
Usage Guide:
Reset the switch to factory settings. That is to say, all configurations made
by the user to the switch will disappear. When the switch is restarted, the prompt will be
the same as when the switch was powered on for the first time.
Note:
After the command, “
write
” command must be executed to save the operation. The