Brocade 6520

  1. 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.
  2. 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 = 10 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.
  3. 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()0x5ce77;ATA()0x3943e0 OSRootPartition=hda1;hda2
    Type the boot command:
    => boot Map file at LBA sector 0x5ce77 ## Booting image at 00400000 ... Image Name: Linux-2.6.14.2 Image Type: PowerPC Linux Multi-File Image (gzip compressed)
  4. Reset passwords to default and reboot.

    Remount the / partition as read/write:
    INIT: version 2.78 booting sh-2.04# mount -o remount,rw,noatime / 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.
  5. Log in with default credentials

    Type root for the login username and fibranne for the password:
    FCSW2 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.
    Wait for the system to become "active" then type the version and licenseshow commands for your records:
    ******************************************* Notice: System has changed state to active. All active commands are available now. ******************************************* FCSW2:root> version Kernel: 2.6.14.2 Fabric OS: v7.1.0a Made on: Tue Jan 22 19:33:14 2013 Flash: Wed Jun 19 15:53:27 2013 BootProm: 1.0.15 FCSW2:root> licenseshow SeyyccbdQShfzzdJ: Extended Fabric license Fabric Watch license Performance Monitor license Trunking license
  6. Erase the configuration and reboot.

    Type the switchdisable command then the configdefault command then the switchenable command followed by the reboot command:
    FCSW2:root> switchdisable FCSW2:root> configdefault Executing configdefault...Please wait Already in Native Mode continuing with configDefault Committing configuration ... done. The system has to be rebooted to allow the changes to take effect 2021/12/22-01:08:36, [CONF-1031], 4588, FID 128, INFO, FCSW2, configDefault completed successfully for switch. FCSW2:root> switchenable FCSW2: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 Dec 22 01:09:13 2021... The system is going down for reboot NOW !! INIT: Switching to runlevel: 6 INIT: Sending processes the TERM signal
  7. 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.
  8. End the session.

    Close PuTTy.