Cisco Tutorial

Setting Cisco Router Passwords

Setting Cisco Router Passwords
Once you have setup the hostname , next step is to setup the  passwords. There are 4 types of passwords you setup on a Cisco router. These passwords are used to challenge people trying to get in through 4 different ways.

Enable Secret Password
First to challenge anyone trying to access the enable mode (privileged mode)
setting up the enable secret password...
Dumbledore(config)#enable secret mypassword
Dumbledore(config)#

Telnet Password
Next setup the password to challenge anyone coming in through Telnet 
Dumbledore(config)#line vty 0 4
Dumbledore(config)#password Cisco
Dumbledore(config)#login
in the first command (line vty 0 4), 0 4, means that 5 people (from 0,1,...,4) can login at the same time, and you use the password to challenge them all !

Console Password
Next to setup the Console password to challenge anyone coming in through the Console
Dumbledore(config)#line con 0
Dumbledore(config)#password Cisco
Dumbledore(config)#login

Auxiliary Password
Next, setup the Auxiliary password to challenge anyone coming in through the modem (connected to the router)
Dumbledore(config)#line aux 0
Dumbledore(config)#password Cisco
Dumbledore(config)#login

At this point, you have configured all the basic passwords on the router. Please make sure that you use secure passwords (don't use silly passwords like “cisco”)we can use the “show run” command to verify the results of the earlier commands you used in config mode.

Disclaimer
This document is to help you configure Cisco routers. We do not guarantee the accuracy of information in this document. Use at your own risk. The author will not be liable for any damages that occur as a result of using this document.