Cisco « DHCP server | HOME | 1CD Linux - Knoppix »
This is how to setup and change password.
Enable password
This is not encrypted. You can see it with show running-config.
Router(config)# enable password your-password
Encrypted enable password
Router(config)# enable secret your-password
You can setup both or either one. Of course you should use enable secret password.
Console password
This is password to login from console port.
Router(config)# line console 0
Router(config)# config-line)# password your-password
Router(config)# login (to enable console password)
Router(config)# exit
You need to input login before exit. Otherwise console password is not enabled. If you skip this, you can login to console without password even though you set it up here.
Telnet password
Router(config)# line vty 0 4
Router(config)# config-line)# password your-password
Router(config)# login (to enable telnet password)
Router(config)# exit
Encrypt all password
Password for Cisco router is basically written by a plan text except enable secret password. You can check with show ruuning-config. This is how to encrypt all passwords at once.
Router(config)# service password-encryption

