Configuring Passwords


Works on both routers and switches.

Router(config)#enable password cisco

Sets enable password

  

Router(config)#enable secret class

Sets enable secret password

  

Router(config)#line con 0

Router(config-line)#password console

Router(config-line)#login

Enters console-line mode

Sets console-line mode password to console

Enables password checking at login

  

Router(config)#line vty 0 4

Router(config-line)#password telnet

Router(config-line)#login

Enters vty line mode for all five vty lines

Sets vty password to telnet

Enables password checking at login

  

Router(config)#line aux 0

Router(config-line)#password backdoor

Router(config-line)#login

Enters auxiliary line mode

Sets auxiliary line mode password to backdoor

Enables password checking at login


Caution:

enable secret password is encrypted by default. enable password is not. For this reason, recommended practice is that you never use the enable password. Use only the enable secret password in a router configuration.


Caution:

You cannot set both enable secret and enable password to the same password. Doing so defeats the use of encryption.





CCNA Self-Study(c) CCNA Portable Command Guide
CCNA Portable Command Guide
ISBN: 1587201585
EAN: 2147483647
Year: 2006
Pages: 261
Authors: Scott Empson

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net