Use the show line vty command to monitor vty lines.
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 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