Sep 16, 2013

Different type of Setting the passwords Cisco Routers

Setting the passwords:
There are five passwords used to secure your Cisco routers. The first two passwords are used to set your enable password, which is used to secure privileged mode. This will prompt a user for a password when the command enable is used. The other three are used to configure a password when user mode is accessed either through the console port, the auxiliary port, or Telnet.

Enable passwords
You set the enable passwords from global configuration mode.

Router (config) #enable password 1234
Password is used to set the enable password on older,pre-10.3 systems.
Not used if an enable secret is set.

Router (config) # enable secret 1234
If you try and set the enable secret and enable password to be same .it will give you a nice, polite warning the first time, but if you type the same password again it will accept it. However, now neither password will work. If you don’t have older legacy routers, don’t bother to use the enable password.

Auxiliary password
To configure the auxiliary password, go to global configuration mode and type line aux ?.
Notice that you only get a choice of 0-0 because there is only one port.

Router #config   t
Enter configuration commands, one per line. End with CNTL/Z.

Router (config) # line aux?
<0-0> First line number

Router (config) # line aux 0

Router (config-line) # login

Router (config-line) # password ccna1
It is important to remember the login command, or the auxiliary port won’t
Prompt for authentication.

Console Password
To configure the console password, go to global configuration mode and type line console ?.
Notice that you only get a choice of 0-0 because there is only one console port.
Router (config) # line console?
<0-0> First line number

Router (config) # line console 0

Router (config-line )# login

Router (config-line )# password ccna2

0 comments:

Post a Comment