Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-28-2019 03:38 PM
Hi there,
I've inherited some network gear.
Dumb question I fear - may I have some help with password recovery?
2x VDX6740s in VCS Logical Chassis running OS 6.0.2b
Root account is disabled and the admin password has been lost.
I've been reading some of the manuals and Googling around and it looks somewhat more involved than I was expecting.
Failing that, what are the steps to flattening the pair? (While keeping whatever license keys are on device)
I have an old backup of the config and I'm alright(ish) with the Brocade stuff so I could rebuild them.
I'm happy to do whichever is quickest and causes the least amount of sadness.
I really appreciate any help you can provide 
I've inherited some network gear.
Dumb question I fear - may I have some help with password recovery?
2x VDX6740s in VCS Logical Chassis running OS 6.0.2b
Root account is disabled and the admin password has been lost.
I've been reading some of the manuals and Googling around and it looks somewhat more involved than I was expecting.
Failing that, what are the steps to flattening the pair? (While keeping whatever license keys are on device)
I have an old backup of the config and I'm alright(ish) with the Brocade stuff so I could rebuild them.
I'm happy to do whichever is quickest and causes the least amount of sadness.
I really appreciate any help you can provide 
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-27-2019 02:56 PM
Hi there.
I know this has been a while! Took a while to finally get the downtime I needed.
I now have management access and the config was retained.
Everything worked great except for Step 12.
"Enter cfgcleanup to default the configuration on bootup"
"cfgcleanup" did not work from the root.
"/fabos/sbin/cfgcleanup" worked.
Thankfully I had a colleague with me who's considerably better with Linux than me.
Thank you very much for your help. 
I know this has been a while! Took a while to finally get the downtime I needed.
I now have management access and the config was retained.
Everything worked great except for Step 12.
"Enter cfgcleanup to default the configuration on bootup"
"cfgcleanup" did not work from the root.
"/fabos/sbin/cfgcleanup" worked.
Thankfully I had a colleague with me who's considerably better with Linux than me.
Thank you very much for your help. 
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-29-2019 09:02 AM
Wow, thank you so much!
That's brilliant, I'll arrange a spot of downtime and give the above a go.
I'll let you know how I get on. ?
That's brilliant, I'll arrange a spot of downtime and give the above a go.
I'll let you know how I get on. ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-28-2019 07:37 PM
*Re-posting since the format got mangled*
Hello,
You can do below to recover the password.
Hello,
You can do below to recover the password.
- If you want to keep the config, then go thru all the steps on one switch
- If you are ok to default the config on both switches (licenses will be retained), complete only steps 1-14 on both switches.
- Disconnect all ISL from the selected switch
- Power cycle the switch and get into Boot PROM (Hit ESC during AutoBoot)
- Type '3' at the prompt to open the command shell
- Entersetenv bootargs 'root=/dev/sda$prt rootfstype=ext4 quiet S'
- Enter saveenv
- Enter reset
- Enter mount -vo remount,rw,noatime /
- Enter mount /dev/sda2 /mnt
- Enter cp /etc/fabos/user.db /etc/fabos/user.db.bkup
- Enter cp /etc/fabos/user.db.default /etc/fabos/user.db
- Enter /sbin/passwddefault -f
- Enter cfgcleanup to default the configuration on bootup
- Enter bootenv bootargs 'root=/dev/sda$prt rootfstype=ext4 quiet'
- Enter "partman -r" to reboot
- Keep ISL disconnected until the switch fully boots up
- Once the switch boots up, login as admin/password
- With admin still logged in, physically connect the ISL to the fabric to let the switch rejoin. The switch rejoin while the admin is still logged in to the switch
- Once the switch rejoins, go to config t -> RB , enter 'logical-chassis principal-priority 1'to make it the new principal switch
- Then, run 'logical-chassis principal switchover' to make the new switch the principal switch to reconfigure the admin account.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-28-2019 07:35 PM
Hello,
You can do below to recover the password.
You can do below to recover the password.
- If you want to keep the config, then go thru all the steps on one switch
- If you are ok to default the config on both switches (licenses will be retained), complete only steps 1-14 on both switches.
- Disconnect all ISL from the selected switch
- Power cycle the switch and get into Boot PROM (Hit ESC during AutoBoot)
- Type '
3'
at the prompt to open the command shell - Enter
setenv bootargs 'root=/dev/sda$prt rootfstype=ext4 quiet S'
- Enter
saveenv
- Enter
reset
- Enter
mount -vo remount,rw,noatime /
- Enter
mount /dev/sda2 /mnt
- Enter
cp /etc/fabos/user.db /etc/fabos/user.db.bkup
- Enter
cp /etc/fabos/user.db.default /etc/fabos/user.db
- Enter
/sbin/passwddefault -f
- Enter
cfgcleanup
to default the configuration on bootup - Enter
bootenv bootargs 'root=/dev/sda$prt rootfstype=ext4 quiet'
- Enter
"partman -r" to reboot
- Keep ISL disconnected until the switch fully boots up
- Once the switch boots up, login as admin/password
- With admin still logged in, physically connect the ISL to the fabric to let the switch rejoin. The switch rejoin while the admin is still logged in to the switch
- Once the switch rejoins, go to config t -> RB , enter
'logical-chassis principal-priority 1'
to make it the new principal switch - Then, run
'logical-chassis principal switchover'
to make the new switch the principal switch to reconfigure the admin account.
