Let’s say you purchase a couple of 300s on the Ebay and someone forgot to reset config but you can’t get in as all default passwords got changed. Here’s what we need to do:
1. Connect to the serial console port of the switch (make sure to use correct Brocade cable as typical Cisco console cable will not work).
2. Power on switch
3. When promted to stop test or stop AutoBoot, press ESC.
The Boot PROM menu is displayed with the following options:
• Start system
Used to reboot the system.
• Recover password.
Used to generate a character string for your support provider to recover the Boot PROM
password. Use this feature only when directed by technical support personnel.
• Enter command shell.
Used to enter the command shell, to reset all passwords on the system.
Checking system RAM - press any key to stop test
Checking memory address: 00100000
System RAM test terminated by keyboard
set_bootstatus: BS_LOAD_OS, platform_idx = 6
Hit ESC to stop autoboot: 0
1) Start system.
2) Recover password.
3) Enter command shell.
4. Type 3 at the prompt to open the command shell:
5. Type the Boot PROM password, if prompted, and press Enter.
The Boot PROM has a password only if one was defined.
If you are prompted to enter a new Boot PROM password, make sure it is at least 8 characters
in length. Do not select this option unless specifically instructed by support personnel.
6. To change the “OSLoadOptions=quiet;quiet” setting so that the switch boots into single user
mode, enter the following command:
Fabric OS Password Recovery Notes 9
Password recovery using the Boot PROM interface 1
=> setenv OSLoadOptions “single”
7. Enter the printEnv command to verify the change:
LoadIdentifiers=Fabric Operating System;Fabric Operating System
8. Save the changes:
Saving Environment to Flash…..Done
9. Enter the boot command with no parameters to bring up the device in the single user mode:
Map file at LBA sector 0x17da68
## Booting image at 00400000 ...
10. Enter the mount command with the following parameters to remount the root partition as
sh-2.04# mount -o remount,rw /
EXT3 FS on hda1, internal journal
11. Mount the secondary partition.
If the previous command returns hda2, then use hda1 in this command. If the previous
command returns hda 1, use hda2.
sh-2.04# mount /dev/hda2 /mnt
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
12. Enter the passwddefault command to reset all passwords to default values as follows:
All account passwords have been successfully set to factory default.
If additional user accounts existed, they are deleted. Only the default accounts and passwords
13. Reset the OSLoadOptions to “queit;quiet”:
sh-2.04# bootenv OSLoadOptions ”quiet;quiet”
14. Reboot the switch using the reboot –f command.
sh-2.04# reboot -f
Traffic flow resumes when the switch completes rebooting. If you do not use the –f option you
will have to manually reboot the switch.
15. Log in with admin account using default password.
The password recovery procedure is now complete.
Next, we need to reset configuration to factory default:
1. Disable switch
2. Disable config
>cfgdisable (hit “y” at prompt)
3. Clear config
cfgclear (hit “y” at prompt)
4. Save clean configuration
>cfgsave (hit “y” at prompt)
5. Reset configuration to default
>configdefault (hit “Y” at prompt)
6. Re-enable switch
7. Reboot to activate changes
And finally we need to change management IP address with the following command
This procedure was tested with Fabric OS 7.4.1c
Default passwords for Fabric OS: