To configure simple authentication:
- host1(config)#line vty 8 13
- host1(config-line)#
- host1(config-line)#password 0 mypassword
- host1(config-line)#login
- host1#show line vty 8
- no access-class in
- data-character-bits 8
- exec-timeout never
- exec-banner enabled
- motd-banner enabled
- login-timeout 30 seconds
line
- host1(config)#line vty 8 13
login
- 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
show line vty
host1#show line vty 0 no access-class in data-character-bits 8 exec-timeout 3w 3d 7h 20m 0s exec-banner enabled motd-banner enabled login-timeout 30 seconds