ā04-27-2017 07:59 PM - edited ā03-08-2019 10:22 AM
Hi,
I have a a doubt regarding to LOGIN command
The line VTY at the beginning does not have LOGIN command.
line vty 0 4
!
after when I configure login and password command i have the following
line vty 0 4
login
password cisco
If i remove LOGIN command using NO LOGIN i have the following output:
line vty 0 4
no login
password cisco
My question: Is there any option to remove completely the LOGIN from the configuration ?
Best Regards,
CD
ā04-27-2017 08:18 PM
My question: Is there any option to remove completely the LOGIN from the configuration ?
default line vty 0 15
ā04-27-2017 09:45 PM
Hi Leo,
When i execute the command "default line vty 0 4" i receive the following output
% Can't delete last 5 VTY lines
is there any other option to reset the line ?
ā10-26-2022 02:28 PM
I have the same issue, I canĀ“t delete the login.
line vty 0 4
exec-timeout 30 0
login
length 0
transport input ssh
line vty 5 15
exec-timeout 30 0
no login
transport input ssh
I tried no login, and the "login authentication" command is not supported
(config-line)#login authentication default
^
% Invalid input detected at '^' marker.
_______________________________
(config-line)#login ?
local Local password checking
<cr>
ā10-27-2022 08:58 AM
I find this recent post confusing. The (fairly old) discussion to which the recent post was added was about removing the login process from vty lines. The partial config posted shows that the login process has been removed from vty 5 15. If this poster wants to remove the login process from vty 0 4 I would think that it could be done. But the post is asking about login authentication default which is not a valid command for vty lines.
The command login authentication default would make more sense if it were being applied as part of configuring aaa authentication. But login (or no login) on the vty only makes sense in an environment where there is no aaa new-model. As soon as you configure aaa new-model then login is automatically applied to the vty lines.
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