â– Example 2 (secret)
host1(config-line)#password 5 bcA";+1aeJD8)/[1ZDP6
â– Example 3 (encrypted password)
host1(config-line)#password 7 dq]XG`,%N"SS7d}o)_?Y
â– Use the no version to remove the password. By default, no password is specified.
â– See password.
show line vty
â– Use to display the configuration of a vty line.
â– Field descriptions
■access-class—Access-class associated with the vty line
■data-character-bits—Number of bits per character
■7—Setting for the standard ASCII set
■8—Setting for the international character set
■exec-timeout—Time interval that the terminal waits for expected user input
■Never—Indicates that there is no time limit
■exec-banner—Status for the exec banner: enabled or disabled. This banner
is displayed by the CLI after user authentication (if any) and before the first
prompt of a CLI session.
■motd-banner—Status for the message of the day (MOTD) banner: enabled
or disabled. This banner is displayed by the CLI when a connection is
initiated.
■login-timeout—Time interval during which the user must log in.
■Never—Indicates that there is no time limit
â– Example
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
â– See show line vty.
Vty Line Authentication and Authorization â– 429
Chapter 7: Passwords and Security