12-14-2018 10:40 PM - edited 03-08-2019 04:49 PM
i am the beginner. i was trying to set and unset the username and password for the switch. But now i got stuck because of that. The following are the things that i have done. Is there a way to login into the switch by disabling the username and password ?
SG3(config)#aaa new-model
SG3(config)#username lab privilege 15 secret lab
SG3(config)#aaa authentication login default local
SG3(config)#end
SG3#wr
Building configuration...
[OK]
SG3#
SG3#quit
SG3 con0 is now available
Press RETURN to get started.
User Access Verification
Username: lab
Password:
SG3>
Password:
SG3#
SG3#
SG3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SG3(config)#no usern
SG3(config)#no username lab pa
SG3(config)#no username lab pass
SG3(config)#no username lab password
SG3(config)#no username lab password
This operation will remove all username related configurations with same name.Do you want to continue? [confirm]
SG3(config)#end
SG3#qu
*Dec 14 23:02:21.289 PDT: %SYS-5-CONFIG_I: Configured from console by lab on consoleit
SG3 con0 is now available
Press RETURN to get started.
User Access Verification
Username:
Username: lab
Password:
% Authentication failed
12-15-2018 01:13 AM
as per the your decription you have remoted the username and password was removed, there is no method recover..until you have still access or you have other admin user account to access to the switch with config mode access.
if not you need to follow the reset proceedure. what model of device is this ?
12-15-2018 01:33 AM
Hello,
in addition to Balaji's post, if you didn't do a 'wr' after removing the username. it might still be in the startup config. Try and reboot the switch...and check if you can login with the previously configured username/password...
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