cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
673
Views
0
Helpful
2
Replies

Access Switch with Local Credentials

fountouk89
Level 1
Level 1

So, I proceed with the following config and now I cannot access the switch:

Switch(config)#no enable secret 5 xsafssvs

Switch(config)#enable secret testpassw
Switch(config)#username new1234 privilege 15 secret 5 testpassw
ERROR: The secret you entered is not a valid encrypted secret.
To enter an UNENCRYPTED secret, do not specify type 5 encryption.
When you properly enter an UNENCRYPTED secret, it will be encrypted.

Switch(config)#no username cisco privilege 15 secret 5 xsafssvs
This operation will remove all username related configurations with same name.Do you want to continue? [confirm]
y
Switch(config)#
Switch(config)#end

Switch#wr
Building configuration...
[OK]
Switch#

 

Since I deleted the username cisco and there is no other username available since I received an error...Can I access my switch now using local credentials ?

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

yes with new1234, if you configured AAA correctly.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Unfortunately, no AAA configured