EMC² Brocade DCX 8510-4

  1. Start the console session.

    Plug in serial cable to console port of 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 single user mode.

    Press ESC when prompted and before the countdown ends:
    System RAM test using Default POST RAM Test succeeded. set_bootstatus: BS_LOAD_OS, platform_idx = 2 Hit ESC to stop autoboot: 0
    Type 3 for the command shell:
    1) Start system. 2) Recover password. 3) Enter command shell. Option? 3
    Type the setenv OSLoadOptions single command:
    Boot PROM password has not been set. => setenv OSLoadOptions single
    Type the printenv command noting the value of "OSRootPartition" for the next step:
    => printenv AutoLoad=yes AutoLoadTimeout=4 InitTest=MEM() LoadIdentifiers=Fabric Operating System;Fabric Operating System OSLoadOptions=single OSLoader=ATA()0x15945f;ATA()0x3a25e0 OSRootPartition=hda1;hda2 SkipWatchdog=yes baudrate=9600 bootcmd=setenv bootargs mem=${mem} ${OSLoadOptions};ataboot;bootm 0x400000 bootdelay=20 bootfile=net_install.img eth1addr=00:27:F8:20:F4:A2 eth2addr=00:27:F8:20:F4:A3 eth3addr=00:27:F8:20:F4:A4 ethact=ENET0 ethaddr=00:27:F8:20:F4:A1 gatewayip=192.168.17.65 initrd_high=0x20000000 ipaddr=192.168.17.93 mem=2093056k netmask=255.255.255.224 serverip=10.210.1.80 stderr=serial stdin=serial stdout=serial Environment size: 625/4080 bytes
    Type the boot command:
    => boot Map file at LBA sector 0x15945f ## Booting image at 00400000 ... Image Name: Linux-2.6.14.2 Image Type: PowerPC Linux Multi-File Image (gzip compressed) Data Size: 2672703 Bytes = 2.5 MB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 1594026 Bytes = 1.5 MB Image 1: 1078663 Bytes = 1 MB Uncompressing Multi-File Image ... ## Current stack ends at 0x7FB65A40 => set upper limit to 0x00800000 ## initrd at 0x005852F8 ... 0x0068C87E (len=1078663=0x107587) Loading Ramdisk to 1fef8000, end 1ffff587 ... OK initrd_start = 1fef8000, initrd_end = 1ffff587 ## Transferring control to Linux (at address 00000000) ... Memory CAM mapping: CAMS=2000Mb residual: 44Mb tlbcam_index=11 Linux version 2.6.14.2 (swrel@hq1-ub-ecbld-392) (gcc version 3.4.6) #1 Thu Jan 9 07:31:14 PST 2014
    Further output will bring you to the sh-2.04#  prompt.
  3. Reset passwords.

    Type the mount -o remount,rw,noatime / command then the mount /dev/hda2 /mnt command to enable changing settings:
    sh-2.04# mount -o remount,rw,noatime / EXT3 FS on hda1, internal journal 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 /sbin/passwddefault command:
    sh-2.04# /sbin/passwddefault All account passwords have been successfully set to factory default.
    Return from single user mode next boot-up with the bootenv OSLoadOptions "quiet/quiet" command:
    sh-2.04# bootenv OSLoadOptions "quiet/quiet"
    Type the reboot -f command:
    sh-2.04# reboot -f Restarting system. . The system is coming up, please wait...
    Further output will bring you to the console login:  prompt.
  4. Log in with default credentials and erase configuration.

    Type root for the login and fibranne for the password:
    Fabric OS (SAN_DCX8510_20_IDC) SAN_DCX8510_20_IDC console login: root Password: fibranne Disclaimer for Root and Factory Accounts Usage! … Proceeding with the usage of this switch as the Root or Factory user explicitly indicates your agreement to the terms of this disclaimer.
    Check the version number with the version command and find any licenses with the licenseshow command:
    SAN_DCX8510_20_IDC:root> version Kernel: 2.6.14.2 Fabric OS: v7.1.1c Made on: Thu Jan 16 19:57:49 2014 Flash: Tue Feb 10 11:44:20 2015 BootProm: 1.0.15 SAN_DCX8510_20_IDC:root> licenseshow 3Q44ZK3a7mQmEYCX3TWD3NSFQgKKtAGfBS4SA: Extended Fabric license Fabric Watch license Performance Monitor license Trunking license Adaptive Networking license Server Application Optimization license
    Type the switchdisable command putting it in a mode that allows resetting the configuration:
    SAN_DCX8510_20_IDC:root> switchdisable
    Type the configdefault command followed by the switchenable command to return to the previous mode:
    SAN_DCX8510_20_IDC:root> configdefault Executing configdefault...Please wait Already in Native Mode continuing with configDefault 2022/07/26-08:57:39, [FCR-1069], 7121, SLOT 4 | FID 128, INFO, SAN_DCX8510_20_IDC, The FC Routing service is enabled. 2022/07/26-08:57:39, [FCR-1068], 7122, SLOT 4 | FID 128, INFO, SAN_DCX8510_20_IDC, The FC Routing service is disabled. 2022/07/26-08:57:39, [FCR-1070], 7123, SLOT 4 | FID 128, INFO, SAN_DCX8510_20_IDC, The FC Routing configuration is set to default. Committing configuration ... done. Both CPs have to be rebooted to allow the changes to take effect. 2022/07/26-08:57:39, [CONF-1031], 7124, SLOT 4 | FID 128, INFO, SAN_DCX8510_20_IDC, configDefault completed successfully for switch. SAN_DCX8510_20_IDC:root> switchenable 2022/07/26-08:57:46, [SWCH-1001], 7125, SLOT 4 | FID 128, ERROR, SAN_DCX8510_20_IDC, Switch is not in ready state - Switch enable failed, switch status= 0x4, c_flags = 0x10400.
    Type the reboot command:
    SAN_DCX8510_20_IDC:root> reboot Warning: This command is being run on a control processor (CP) based system and will cause the active CP to reboot. This will cause disruption to all traffic in this chassis. Are you sure you want to reboot the active CP [y/n]?y 2022/07/26-08:57:53, [RAS-1007], 7126, SLOT 4 | CHASSIS, INFO, DCX8510_20_IDC, System is about to reboot. Broadcast message from root (ttyS0) Tue Jul 26 08:57:57 2022... The system is going down for reboot NOW !! INIT: Switching to runlevel: 6 INIT: Sending processes the TERM signal SAN_DCX8510_20_IDC:root> HAM: Ask go to reboot, SCN_GO_REBOOT XPRT Link Down fcsw:0-auth: Image-incomplete event chassis:0-bm: Image-incomplete event bonding: bond0: released all slaves eth1: Link is down eth2: Link is down ##RSCMON exiting due to signal: 19, pending signals: 0x0, 0x0 ##exiting due to signal: 19, pending signals: 0x0, 0x0 Stopping diagnostics Stopping diagnostics nfsd: last server has exited nfsd: unexporting all filesystems Unmounting all fStopping diagnostics ilesystems. Stopping diagnostics Stopping diagnostics Stopping diagnostics Please stand by while rebooting the system... Restarting system. . The system is coming up, please wait...
  5. 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.
  6. End the session.

    Close PuTTy.