Brocade Silkworm series Password Reset

Following Procedure helps with resetting the admin / root password of a Brocade Fabric Switch.

1. Connect to the serial port
2. Power cycle the switch
3. During the booting the Switch displays this message

” Press escape within 4 seconds to enter boot interface.”

1) Start system.
2) Recover password.
3) Enter command shell.
Option?

Select option 3 {Iam on the assumption that the boot prom password is not set}}}

4. at the shell prompt enter printenv

Option? 3

Boot PROM password has not been set.
> printenv
AutoLoad=yes
ENET_MAC=00051E0A0BF7
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=quiet
OSLoader=ATA()0×21828;ATA()0x505a0
OSRootPartition=hda1;hda2
SkipWatchdog=yes
>

5. Locate the first Memory address in the OSLoader, in the above case it ATA()0×21828

At the prompt,

> boot ATA()0×21828 -s

6. Mount the drives in read/write mode

sh-2.04# mount -o remount,rw,noatime /

Mount the second partition

sh-2.04# mount /dev/hda2 /mnt

7. At the shell prompt

/sbin/passwddefault — This should reset all the password to defaults

8. reboot -f

9. After you login with the default username and password, the switch will take you through the process of setting up the passwords


Leave a comment