By default, there is no console password. To set a console password:
If you need to reset the enable password, see Privilege Levels .
- host1(config)#line console 0
- host1(config-line)#login
- host1(config-line)#password 7 dq]XG`,%N"SS7d}o)_?Y
line
- host1(config)#line vty 1 4
login
- host1(config)#line vty 1 4
- host1(config-line)#login
password
![]() |
Note: To use an encrypted password or a secret, you must follow the procedure in Setting Basic Password Parameters to obtain the encrypted password or secret. You cannot create your own encrypted password or secret; you must use a system-generated password or secret. |
- host1(config-line)#password 0 mypassword
- host1(config-line)#password 5 bcA";+1aeJD8)/[1ZDP6
- host1(config-line)#password 7 dq]XG`,%N"SS7d}o)_?Y