Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How do you remove local login from cons 0

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.

8 REPLIES
Silver

Re: How do you remove local login from cons 0

do you have an inband connection ?

Community Member

Re: How do you remove local login from cons 0

How would I know if there was an inband connection ?

Silver

Re: How do you remove local login from cons 0

can you telnet

Community Member

Re: How do you remove local login from cons 0

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.

Silver

Re: How do you remove local login from cons 0

do you have snmp read write strings ?

Community Member

Re: How do you remove local login from cons 0

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.

Community Member

Re: How do you remove local login from cons 0

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

Community Member

Re: How do you remove local login from cons 0

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

Thanks.

119
Views
0
Helpful
8
Replies
CreatePlease to create content