10-05-2022 11:48 AM
Dear all
what is the wrong in this configuration I can't login into switch
10-06-2022 01:13 PM - edited 10-06-2022 01:16 PM
1. second part of login config is not shown to us; there is a section with line console 0 line vty 0 x, etc. If any of those lines have no login command set, you will not be avle to login. what do u see there?
2, you can't login into switch via terminal using console cable ? what or how are you trying to login ? Putty ? Telnet or SSH ?
Regards, ML
**Please Rate All Helpful Responses **
10-06-2022 02:09 PM
you are missing parts of the basic config. If you are going to use ssh you'll need to crypto generate.
add
service password-encryption
aaa new-model
aaa authentication login local
are you using SSH? can you login via console?
10-08-2022 01:26 PM
I agree that the very limited part of the posted config does not provide enough information for us to understand the real problem or to give good advice. With no aaa new-model configured there can be no authentication with any remote device. So attempts to login would either use a password configured on line vty/console or if vty are configured with login local then it would use the configured user ID and password. At present my guess is that login local is not configured and the switch is attempting to use a password configured on the line. And I am guessing that there may not be any password configured on the lines.
We need to see more of the configuration to resolve this.
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