12-17-2014 10:48 PM - edited 03-07-2019 09:56 PM
From my understanding line vty 0 15 allows 16 concurrent users to access the device simultaneously, is that correct? When I configure vty 5 15 for telnet access and I leave 0 4 untouched, telnet was failed. I have to configure vty 0 15 input telnet then I'll able to access the switch. I guess I'm the only person accessing via telnet so I'm getting line vty 0 right? Can I access remotely with prefered vty line and how do I do that?
12-18-2014 12:08 AM
Yes 16 concurrent connections.
The 17th attempt will fail.
Bear in mind, if you do not have a timeout set on the VTY lines and you do not exit the switch properly, i.e you just close the terminal window then you may end up with sessions in use which are no longer being used.
When you connect via SSH or Telnet to a switch, it should use line 0 by default unless that line is in use. It will then use the next available line and count upwards etc.
I don't think there is a way to dictate which line to use.
Why do you ask out of interest?
12-18-2014 12:52 AM
Because I saw a post in this forum(search frm Google), some1 said they use 0 4 for junior staff and 5 15 for senior admin, So I was wondering how to do that. Thanks for the info about exec-timeout
12-18-2014 06:01 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
BTW, another method to avoid hung VTY sessions is to enable service tcp-keepalives-in.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide