12-10-2013 05:52 AM
Community,
Can someone take a look at the following vty line configuration and let me know why I can't open more than one session
line vty 0
exec-timeout 60 0
login authentication vty_access
transport input all
line vty 1
exec-timeout 60 0
login authentication vty_access
no exec
transport preferred none
transport input all
line vty 2 4
exec-timeout 60 0
login authentication vty_access
transport input all
line vty 5 15
exec-timeout 60 0
login authentication vty_access
no exec
transport preferred none
transport input all
!
Solved! Go to Solution.
12-10-2013 06:03 AM
I see issues that prevent some of the vty lines from accepting sessions but not enough problems to account for being limited to a single session. on vty 1 and on 5 to 15 you have configured no exec. This prevents any session from being established.
I assume that the session you establish is probably on vty 0. I do not see what would prevent additional sessions on vty 2 through 4. Perhaps there is something in vty_access which is having this impact? We need to have more information to be able to come up with a good explanation. At a minimum we will need to see the aaa parts of the config. Perhaps the output of show line might also be helpful.
HTH
Rick
12-10-2013 06:03 AM
I see issues that prevent some of the vty lines from accepting sessions but not enough problems to account for being limited to a single session. on vty 1 and on 5 to 15 you have configured no exec. This prevents any session from being established.
I assume that the session you establish is probably on vty 0. I do not see what would prevent additional sessions on vty 2 through 4. Perhaps there is something in vty_access which is having this impact? We need to have more information to be able to come up with a good explanation. At a minimum we will need to see the aaa parts of the config. Perhaps the output of show line might also be helpful.
HTH
Rick
12-10-2013 08:12 AM
Hi Richard,
Thanks for getting back to me.
The problem was 'no exec'
Cheers
Carlton
12-10-2013 08:25 AM
Carlton
I am glad that you have resolved the issue and that my suggestion was helpful. Thank you for using the rating system to mark the question as answered.
HTH
Rick
12-10-2013 08:46 AM
I was going to say the same earlier. By default vty login will use the next avaialble vty line. Since you always had line 1 avaialble but essentially unusable, you could not establish a second vty.
I believe you could have hacked around that by specifying the line number when inititaing a login. e.g. telnet
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