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 **
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.