How to encrypt Cisco Password
One of the way to secure a Cisco router / switch is to encrypt password in it.
In order to encrypt passwords that are saved in the Cisco devices configuration file, you may use the “service password-encryption” global configuration command.
This command should be used as a simple cipher to prevent unauthorized users from viewing the passwords [...]