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 ? | ||
Line number | console 0 | |||
Switch(config)# | line | |||
? | ||||
end |
|
| End current mode and change to enable mode | |
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 |
password ? | ||||
LINE | The UNENCRYPTED (cleartext) line password | |||
0 | Specifies an | UNENCRYPTED line password will follow | ||
7 | Specifies a HIDDEN line password will follow | |||
password Asante | ||||
end | ||||
Switch# write ? |
| configuration file | ||
file |
| Write to | ||
memory |
| Write configuration to the file (same as write file) | ||
terminal | Write to | terminal |
Switch# write file
Writing
Configuration saved to
Switch#
3.3.4 Service Password-Encryption
To encrypt passwords, use the service
Switch(config)# service
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).
LINE The UNENCRYPTED (cleartext) line password
0Specifies an UNENCRYPTED line password will follow
7Specifies a HIDDEN line password will follow
21 | Asante IntraCore IC36240 | User’s Manual |