How do you remove local login from cons 0

Unanswered Question
Oct 31st, 2003
User Badges:

Does anybody know how I can remove local login from the vty and cons 0 lines on a Cat-2950G, running IOS 12.1(13)EA1 ?


I have (accidentily) added the login local command without adding a username to the config, meaning that whenever I connect to the Switch I get prompted to enter a username that does not exist, meaning I cannot login to the device (quite a good security feature I think !)


If there is a way around this without needing to re-boot the Switch, then this would be handy.


Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
deilert Fri, 10/31/2003 - 09:08
User Badges:
  • Silver, 250 points or more

do you have an inband connection ?

s.gilbrook Mon, 11/03/2003 - 01:27
User Badges:

How would I know if there was an inband connection ?

deilert Mon, 11/03/2003 - 05:05
User Badges:
  • Silver, 250 points or more

can you telnet

s.gilbrook Mon, 11/03/2003 - 05:36
User Badges:

Yes, I can Telnet to the device, but I still get the prompt for a username, as I assigned the login local command to these as well.


Thanks.

deilert Mon, 11/03/2003 - 09:16
User Badges:
  • Silver, 250 points or more

do you have snmp read write strings ?

s.gilbrook Tue, 11/04/2003 - 00:45
User Badges:

I have read but I'm not 100% sure about write - the switch was originally set-up to sent traps to our network analyser.


When you query the switch, it doesn't give any info. other than that it is using snmpv1.


Thanks.

harishsegar Tue, 11/04/2003 - 22:36
User Badges:

I think a password recovery procedure is the only solution for this..

s.gilbrook Wed, 11/05/2003 - 00:44
User Badges:

Have you got any links/documentation on how to do this ?


Thanks.

Actions

This Discussion