3.3.3 Password
To specify a password on a line, use the password command in line configuration mode. Use the no form of this
command to remove the password.
Switch(config)# line ?
console Primary terminal line
vty Virtual terminal
Switch(config)# line console ?
<0-0> Line number
Switch(config)# line console 0
Switch(config-line)# ?
end End current mode and change to enable mode
exec-timeout Set timeout value
exit Exit current mode and down to previous mode
help Description of the interactive help system
no Negate a command or set its defaults
password Set a password
quit Exit current mode and down to previous mode
Switch(config-line)# password ?
LINE The UNENCRYPTED (cleartext) line password
0 Specifies an UNENCRYPTED line password will follow
7 Specifies a HIDDEN line password will follow
Switch(config-line)# password Asante
Switch(config-line)# end
Switch# write ?
file Write to configuration file
memory Write configuration to the file (same as write file)
terminal Write to terminal
Switch# write file
Writing current-config to startup-config, Please wait...
Configuration saved to startup-config file
Switch#
3.3.4 Service Password-Encryption
To encrypt passwords, use the service password-encryption command in global configuration mode. Use the no
form of this command to restore the default. Refer to section 4.7 “Using the No Form and Default Commands” for
more information.
Switch(config)# service password-encryption
Switch(config)# no service password-encryption
Note: You should change the default telnet password to prevent unauthorized access to the switch.
The password can be set at unencrypted (level 0) or encrypted (level 7).
Switch(config-line)# password ?
LINE The UNENCRYPTED (cleartext) line password
0 Specifies an UNENCRYPTED line password will follow
7 Specifies a HIDDEN line password will follow
21 Asante IntraCore IC36240 User’s Manual