Brocade 300
Start the console session.
Plug in serial cable to device from PC COM1 port
Open PuTTY and select "Serial" connection type, leave baud rate (Speed) and other settings as default.
Plug power into device and if a power button exists, turn it on.
Access the commandline.
Press the Esc key during the countdown to stop autoboot:
System RAM test using Default POST RAM Test succeeded.
set_bootstatus: BS_LOAD_OS, platform_idx = 1
Type run flash_nfs to mount root filesystem over NFS
Hit ESC to stop autoboot: 0
Type 3 to "Enter command shell.":
1) Start system.
2) Recover password.
3) Enter command shell.
Option? 3
Boot PROM password has not been set.
Boot into single user mode.
Type the setenv command on the OSLoadOptions parameter with the value single at the => prompt:
> setenv OSLoadOptions "single"
Type the printenv command and note the OSRootPartition values for step 4:
> printenv
AutoLoad=yes
BootromVerbose=no
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=single
OSLoader=ATA()0xa00cf;ATA()0x16fe20
OSRootPartition=hda1;hda2
Type the boot command:
=> boot
Map file at LBA sector 0xa00cf
## Booting image at 00400000 ...
Image Name: Linux-2.6.14.2
Image Type: PowerPC Linux Multi-File Image (uncompressed)
Reset passwords to default and reboot.
Remount the / partition as read/write:
INIT: version 2.78 booting
sh-2.04# mount -o remount,rw /
EXT3 FS on hda1, internal journal
Mount the second partition to /mnt obtained from the value of OSRootPartition variable in the printenv output from step 3.
sh-2.04# mount /dev/hda2 /mnt
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Type the passwddefault command including the full folder path to it:
sh-2.04# /sbin/passwddefault
All account passwords have been successfully set to factory default.
Type the bootenv OSLoadOptions="quiet/quiet" command to exit single user mode:
sh-2.04# bootenv OSLoadOptions "quiet;quiet"
Type the reboot command:
sh-2.04# reboot -f
Restarting system.
Log in with default credentials
Type root for the login username and fibranne for the password:
HCP_Secondary console login: root
Password: fibranne
Please change passwords for switch default accounts now.
Use Control-C to exit or press 'Enter' key to proceed.
Press Ctrl C to skip password setting:
Password was not changed. Will prompt again at next login
until password is changed.
Type the version and licenseshow commands for your records:
HCP_Secondary:root> version
Kernel:
Fabric OS:
Made on:
Flash:
BootProm:
HCP_Secondary:root> licenseshow
No licenses.
Erase the configuration and reboot.
Type the switchdisable command then the configdefault command then the switchenable command followed by the reboot command:
HCP_Secondary:root> switchdisable
HCP_Secondary:root> configdefault
Executing configdefault...Please wait
Already in Native Mode continuing with configDefault
Committing configuration ... done.
yThe switch has to be rebooted to allow the changes to take effect.
2021/06/23-06:30:51, [CONF-1031], 1378, FID 128, INFO, HCP_Secondary, configDefault completed successfully for switch.
HCP_Secondary:root> switchenable
HCP_Secondary:root> reboot
Warning: This command would cause the switch to reboot
and result in traffic disruption.
Are you sure you want to reboot the switch [y/n]?y
Broadcast message from root (ttyS0) Wed Jun 23 06:31:22 2021...
The system is going down for reboot NOW !!
INIT: Switching to runlevel: 6
INIT: Sending processes the TERM signal
Copy all the output from the session into your records.
Right-click PuTTY's titlebar, from that dropdown menu click on "Copy All to Clipboard"
Open the file of record certifying the deconfiguration of this device and use CTRL V to paste all the output from PuTTY into that file. Formatting the text with a fixed-width font helps it look more readable.
End the session.
Close PuTTy.