What's the difference between line console 0 and line vty 0 5?
vkookie
Registered Users Posts: 4 ■□□□□□□□□□
in CCNA & CCENT
Comments
-
cdx Member Posts: 186console 0 is the physical console port on the switch/router you plug into.
line vty is when you remote into the switch/router via telnet or ssh.
the config-line is letting you know you are currently in configuration mode for that specific line.Bachelor of Science - Information Technology - Security
Associate of Science - Computer Information Systems -
p@r0tuXus Member Posts: 532 ■■■■□□□□□□Some commands are also different in relation to them. Mostly regarding Access lists and security.
But CDX nailed the biggest differences.Completed: ITIL-F, A+, S+, CCENT, CCNA R|S
In Progress: Linux+/LPIC-1, Python, Bash
Upcoming: eJPT, C|EH, CSA+, CCNA-Sec, PA-ACE -
vkookie Registered Users Posts: 4 ■□□□□□□□□□i heard that vty is the virtual port and ttf is the physical port, so is console 0 practically ttf?
-
Danielh22185 Member Posts: 1,195 ■■■■□□□□□□i heard that vty is the virtual port and ttf is the physical port, so is console 0 practically ttf?[/QUOT
I think you mean to say "TTY" port. Yes, these TTYs are physical ports. Common on a terminal server that has array ASYNC cards the consoles lines into multiple devices to their con 0 port for console management purposes.Currently Studying: IE Stuff...kinda...for now...
My ultimate career goal: To climb to the top of the computer network industry food chain.
"Winning means you're willing to go longer, work harder, and give more than anyone else." - Vince Lombardi -
Danielh22185 Member Posts: 1,195 ■■■■□□□□□□i heard that vty is the virtual port and ttf is the physical port, so is console 0 practically ttf?
I think you mean to say "TTY" port. Yes, these TTYs are physical ports. Common on a terminal server that has array ASYNC cards the consoles lines into multiple devices to their con 0 port for console management purposes.Currently Studying: IE Stuff...kinda...for now...
My ultimate career goal: To climb to the top of the computer network industry food chain.
"Winning means you're willing to go longer, work harder, and give more than anyone else." - Vince Lombardi -
vkookie Registered Users Posts: 4 ■□□□□□□□□□im still confused. so is tty and line con the same thing?
-
cdx Member Posts: 186im still confused. so is tty and line con the same thing?
answer = yes, line console 0 is one type of TTY port.
tty = physical
vty = virtual
line console 0 = physicalBachelor of Science - Information Technology - Security
Associate of Science - Computer Information Systems -
tunerX Member Posts: 447 ■■■□□□□□□□All lines are TTY (Teletype) meaning you type on a keyboard and the characters written out somewhere. Pretty much all CLI windows are a form of TTY.
Then you have different types of TTY. virtual (VTY), console (CTY or CON), auxiliary (AUX), TTY (Generic). The different types of lines may all show up as (config-line) but depending on the type of line you will have different configurations available like sending out modem strings, configuring signal levels, configuring reverse telnet, etc...