Where is vty 0 4 in a switch by default?
workfrom925
Member Posts: 196
in CCNA & CCENT
On my 2950 switch, after I delete startup-config and reload, its running-config doesn't show line vty 0 4. It shows
!
line con 0
line vty 5 15
!
After I issue the command "line vty 0 15" to set up a password on vty lines, Running-config shows
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
I guess by issuing the command "line vty 0 15", the switch adds line vty 0 to 4 to itself.
So why aren't "vty 0 4" existed by default.
!
line con 0
line vty 5 15
!
After I issue the command "line vty 0 15" to set up a password on vty lines, Running-config shows
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
I guess by issuing the command "line vty 0 15", the switch adds line vty 0 to 4 to itself.
So why aren't "vty 0 4" existed by default.
Comments
-
theodoxa Member Posts: 1,340 ■■■■□□□□□□I believe that one some older systems there are only 5 vty lines (0-4), so the switch/router breaks the command up into 0-4 and 5-15.R&S: CCENT → CCNA → CCNP → CCIE [ ]
Security: CCNA [ ]
Virtualization: VCA-DCV [ ] -
JeanM Member Posts: 1,117Correct, it just splits up 0 15 to 0 4 an 5 15...2015 goals - ccna voice / vmware vcp.
-
Ivanjam Member Posts: 978 ■■■■□□□□□□@JeanM, @theodoxa - the OP is aware of that = that's not what he/she is asking.
@workfrom925 - I will delete the config from my 2950 and see if I can replicate your result - I can't answer your question - LOLFall 2014: Start MA in Mathematics [X]
Fall 2016: Start PhD in Mathematics [X] -
workfrom925 Member Posts: 196@JeanM, @theodoxa - the OP is aware of that = that's not what he/she is asking.
@workfrom925 - I will delete the config from my 2950 and see if I can replicate your result - I can't answer your question - LOL
Maybe line vty 0 to 4 are there anyway. It's just Cisco decide it's not necessary to list them in the default configuration.
Just my curiosity. It doesn't affect CCNA certification at all. -
JeanM Member Posts: 1,117OP - what does show ver show? the vty stuff changed between ios versions.2015 goals - ccna voice / vmware vcp.