VTY Lines (Device Access Control)
Also: VTYVTY linesline vtyline vty 0 15virtual terminal lineslogin localaccess-classexec-timeoutline console 0
Virtual terminal lines handle remote CLI sessions; 'line vty 0 15' configures 16 of them. 'login local' uses local usernames, 'transport input ssh' allows only SSH, 'access-class' applies a standard ACL to limit source IPs, and 'exec-timeout' logs out idle sessions.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab5
- Day 42 SSH
VTY Lines (Device Access Control)Telnet and SSH sessions use the 16 virtual teletype lines (line vty 0 15). transport input controls which protocols are allowed, and access-class applies an ACL limiting which hosts can connect.
9:47But you can configure an ACL to limit which devices can connect to the vty lines of the device and then use the command line vty 015 Telnet and SSH access is configured on the vty lines There are 16 lines available.
Said 19× - Day 42 Lab SSH
VTY Lines (Device Access Control)On line vty 0 15, login local, transport input ssh and access-class 1 in restrict remote access to SSH sessions from PC1 only.
3:56Next, in step 2 we’ll configure a few security settings on the console line. LINE CONSOLE 0. There is only one console line, so the number is always 0.
Said 8× - Day 41 Syslog
VTY Lines (Device Access Control)Syslog messages are not displayed by default when connected over Telnet or SSH through the VTY lines. You need logging monitor plus terminal monitor, which must be re-entered in every session.
10:54…sages are displayed when configuring devices in packet tracer via the CLI tab. Okay, the next location is the VTY lines.
Said 5× - Mega Lab Complete Network Configuration
13:20The first instruction was to require login with a local user account. The command to enable that is LOGIN LOCAL. Now, when someone connects to the device console port, they will have to log in using a user account on the…
Said 10× - Day 41 Lab Syslog
1:06We’ll take a look at logging via the console line, the VTY lines, the buffer, and an external Syslog server.
Said 3×
Related terms
Flashcards that test it
Jeremy's IT LabWhere are syslog messages sent by default, with no syslog configuration?
The console line and the logging buffer (RAM). Not to VTY lines or an external server.
Jeremy's IT LabWhich command configures syslog logging to the VTY lines, and what else is needed to see messages over SSH?
logging monitor LEVEL, plus terminal monitor in privileged EXEC mode, which must be re-entered every session.
Jeremy's IT LabBesides setting a password on line console 0, which command must you enter so the password is required?
login (or login local to require a local username and password instead).
Jeremy's IT LabWhat does exec-timeout 3 30 do on a line?
Logs the user out after 3 minutes and 30 seconds of inactivity.
Jeremy's IT LabHow many VTY lines are there, and which command configures all of them at once?
16 lines; line vty 0 15.
Jeremy's IT LabWhich command allows only SSH connections to the VTY lines, and which two commands allow both Telnet and SSH?
transport input ssh. Both: transport input telnet ssh or transport input all.
Jeremy's IT LabWhich command applies an ACL to VTY lines, and which applies an ACL to an interface?
VTY lines: access-class ACL in. Interface: ip access-group ACL in|out.
Jeremy's IT LabCan you use the plain login command on VTY lines for SSH?
No. SSH requires a username, so use login local (or an authentication server).