Settings of password
There are five password,we can use on cisco router and switch.
#Console
#Auxiliary
#Telnet/SSH (VTY)
#Enable password
#Secret password
Router enable
Router#configure terminal
Router(config)enable password mypassword
This command creates an enable password that is stored in your configuration file. To view this password, show the running configuration using the following command:
Router#enable
Router#configure terminal
Router(config)#enable secret mypassword
Router#show running-config | include enable password
Router#show running-config | include enable secret
enable password mypassword
You may immediately see the problem here.
The password is stored in plain text in your configuration file, thus anyone who has access to your configuration file can easily read the password.