Set a password for Console login
RTR-01#config t
RTR-01(config)#line console 0
RTR-01(config-line)#login (turns on login enable ability. Otherwise will not prompt)
RTR-01(config-line)#password cisco123
RTR-01(config-line)#end
Set an enable secret password
RTR-01#config t
RTR-01(config)#enable secret cisco123
RTR-01(config)#exit
RTR-01#disable (takes you back to user mode)
RTR-01>enable
Enter password: YOUR_PASSWORD_NOW
Set VTY password
RTR-01#config t
RTR-01(config)#line vty 0 15
RTR-01(config-line)#login (enables the login feature to the VTY line)
RTR-01(config-line)#password cisco123 (sets the password for the line login)
RTR-01(config-line)#end
Enable Global Password Encryption
RTR-01#config t
RTR-01(config)#service password-encryption
No comments:
Post a Comment