Where is vty 0 4 in a switch by default?

workfrom925workfrom925 Member Posts: 196
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.

Comments

  • theodoxatheodoxa 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 [ ]
  • JeanMJeanM Member Posts: 1,117
    Correct, it just splits up 0 15 to 0 4 an 5 15...
    2015 goals - ccna voice / vmware vcp.
  • IvanjamIvanjam 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 - LOL
    Fall 2014: Start MA in Mathematics [X]
    Fall 2016: Start PhD in Mathematics [X]
  • workfrom925workfrom925 Member Posts: 196
    Ivanjam wrote: »
    @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.
  • JeanMJeanM Member Posts: 1,117
    OP - what does show ver show? the vty stuff changed between ios versions.
    2015 goals - ccna voice / vmware vcp.
Sign In or Register to comment.