ā04-02-2022 11:55 PM
I restored a config to a CBS250-8T-D switch from a backup file.
The restored config works,
HOWEVER, i canot login any longer: "invalid user or password"
When i reboot the switch it goes back to the config prior to the restore.
And the login is working again with the admin user.
The switch is running the latest firmware.
The restore config file was produced with the same firmware as the new switch.
What am I missing here ?
rgds
bancha
Solved! Go to Solution.
ā04-04-2022 07:06 AM
Is it local authentication, right? You are not using tacacs? IĀ“m saying that cause if tacacs were being used, this new device had to be added to the tacacs server.
For local authentication, doesnĀ“t apply what I just said. Can you at least edit the file you imported on the new switch? If so, you can delete the authentication part and add it after.
ā04-04-2022 07:45 AM
wow yeah....you can share it, if prefer.....but, yes definitly, username xxxx pass xxxxx must be let out.
ā04-06-2022 07:51 AM
Good news, deleting the "user" related line from the config file did the trick.
Log on with the user worked agin AND the new config was in place.
THX
Bancha
ā04-03-2022 08:17 AM
Considering you can access the switch using a console cable, you will be able to restore the password..
This video explain how to do that.
ā04-04-2022 12:04 AM
Hallo,
thx, HOWever this switch type does not have a console port.
And its not that i have messed up the password.
Something chnages when restoring the config.
rgds
Bancha
ā04-04-2022 05:23 AM
It might have Mini Usb console port.
"And its not that i have messed up the password.
Something chnages when restoring the config."
I got, something changed and messed up the password, otherwise youĀ“d access it normally. IĀ“d recommend try to revery or factory reset.
ā04-04-2022 06:53 AM
no console ports at all.
I have backuped up a running config file from another switch i logged onto as admin.
Resetted this one switch i am working on.
logged on using defaults.
restored config from this file.
Same behavior, the config works but logging in is denied.
Strange, Maybe I shall contact support.
ā04-04-2022 07:06 AM
Is it local authentication, right? You are not using tacacs? IĀ“m saying that cause if tacacs were being used, this new device had to be added to the tacacs server.
For local authentication, doesnĀ“t apply what I just said. Can you at least edit the file you imported on the new switch? If so, you can delete the authentication part and add it after.
ā04-04-2022 07:38 AM
OK, i have a plain txt file.
So i will delete the line saying "username", correct ?
Yes, its all local authentication.
ā04-04-2022 07:45 AM
wow yeah....you can share it, if prefer.....but, yes definitly, username xxxx pass xxxxx must be let out.
ā04-06-2022 07:51 AM
Good news, deleting the "user" related line from the config file did the trick.
Log on with the user worked agin AND the new config was in place.
THX
Bancha
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