Privileged EXEC
show line
show line
Lists console, AUX and VTY lines with their state and usage counters.
You cannot open a new SSH session, or you need to see how many VTY lines the device has.
Check sessions with show users and the SSH server with show ip ssh.
Privilege Privileged EXECState impact Read-onlyProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
Tty, Typ, Tx/Rx, A, Modem, Roty, AccO, AccI, Uses, Noise, Overruns, IntImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Shows which lines exist and which are in use, plus line counters.
Does not prove that SSH is allowed or that the VTY access list permits your source.
Check sessions with show users and the SSH server with show ip ssh.
Command guidance
Execution context
Privileged EXEC
Use when
You cannot open a new SSH session, or you need to see how many VTY lines the device has.
Important fields
Tty, Typ, Tx/Rx, A, Modem, Roty, AccO, AccI, Uses, Noise, Overruns, Int
Common problems
all VTY lines busy; access-class not applied to the VTY lines
Operational impact
Read-only.
Technical context
An asterisk in the first column marks a line in use. "show line vty 0 4" shows details for a range.