[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Simple Authentication

To configure simple authentication:

  1. Specify a vty line or a range of vty lines on which you want to enable the password.
    host1(config)#line vty 8 13
    host1(config-line)#
  2. Specify the password for the vty lines.
    host1(config-line)#password 0 mypassword
  3. Enable login authentication on the lines.
    host1(config-line)#login
  4. Display your vty line configuration.
    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

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.

show line vty


[Contents] [Prev] [Next] [Index] [Report an Error]