Professional Documents
Culture Documents
Brocaderesettofactorydefaultsettings(orjustbrickit)FastStorage
FastStorage
High Octane IT
that
are
intended about
for diagnostics
and
purposes
by and analytics
We also
share
information
your use of our
sitedebugging
with our social
media,solely
advertising
the Equipment
vendor's
trained
of theGot it
partners. By
using our
services,engineers.
you agree toImproper
our use ofuse
cookies.
http://faststorage.eu/brocaderesettofactorydefaultsettingsorjustbrickit/
1/7
8/31/2016
Brocaderesettofactorydefaultsettings(orjustbrickit)FastStorage
config
failed
failed
failed
failed
failed
failed
2/7
8/31/2016
Brocaderesettofactorydefaultsettings(orjustbrickit)FastStorage
While the switch boots you can already see the switchname is not reset, IP
conguration is unchanged and even worse, your old passwords and usernames
will still work. Run a congshow and youll see the boot parameters are
unchanged
Resetting the IP address is straightforward. Apart from the very strange habit of
rst asking me to insert new IP addresses and only THEN prompting me
whether or not I want to use DHCP
switchname:root> ipaddrset
Ethernet IP Address [oldIP]:1.1.1.1
Ethernet Subnetmask [oldSUBNET]:
Gateway IP Address [oldGW]:1.1.1.1
DHCP [Off]:on
IP address is being changed...Done.
switchname:root> 2014/08/18-09:28:14, [IPAD-1000], 1364, CHASSIS,
INFO, SilkWorm4900, SW/0 Ether/0 IPv4 manual none/none DHCP On
2014/08/18-09:28:14, [IPAD-1001], 1365, CHASSIS, INFO, SilkWorm4900, CP/0
IPv4 manual none DHCP On
Got it
3/7
8/31/2016
Brocaderesettofactorydefaultsettings(orjustbrickit)FastStorage
With the console cable attached,power cycle your switch and watch the console
output. As soon as you see the System RAM test, hit escape. Choose 3 in the
menu
Runprintenv to list the environment variables. Look for the OSLoader part and
copy the rst part of it. Use this data with theboot <address> -scommand; -s
boots into single user mode.
> printenv
AutoLoad=yes
ENET_MAC=00051E055013
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=quiet;quiet
OSLoader=ATA()0x3815f;ATA()0x86018
OSRootPartition=hda1;hda2
SkipWatchdog=yes
gatewayip=
ipaddr=
submask=
> boot ATA()0x3815f -s
Booting "Manually selected OS" image.
Entry point at 0x01000000 ...
We use cookies to personalise content and ads, to provide social media features and to analyse our trac.
loading
kernel
We also
share information
about your use of our site with our social media, advertising and analytics
partners. By using our services, you agree to our use of cookies.
http://faststorage.eu/brocaderesettofactorydefaultsettingsorjustbrickit/
Got it
4/7
8/31/2016
Brocaderesettofactorydefaultsettings(orjustbrickit)FastStorage
At this point your switch will boot the Linux kernel at the memory address
specied. It will startin single user mode, hence no passwords required. In
eect your Brocade switch is now a Linux server (Linux version 2.6.14.2 to be
precise). After the switch has booted, mount the disk volumes:
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: mounted filesystem with ordered data
sh-2.04# cd /
sh-2.04# ls
bin
core_files etc
import libexec root
boot
dev
export initrd mnt
sbin
config diag
fabos lib
proc
share
mode.
standby_sbin tmp
var
support_files users
tftpboot
usr
Youll see a Linux lesystem. Now do what everyone will do at least once (and
hopefully, never again) in their life
sh-2.04# rm -rf * /
rm: cannot remove directory `initrd': Device or resource busy
rm: cannot remove directory `mnt': Device or resource busy
rm: cannot remove directory `//initrd': Device or resource busy
rm: cannot remove directory `//mnt': Device or resource busy
rm: cannot remove directory `/': Device or resource busy
sh-2.04# ls
sh: ls: command not found
sh-2.04# mount
sh: mount: command not found
sh-2.04# reboot
sh: reboot: command not found
sh-2.04#
Power cycle the switch (since the reboot command wont work anymore) . The
boot process should end with:
We use cookies to personalise content and ads, to provide social media features and to analyse our trac.
We also share information about your use of our site with our social media, advertising and analytics
partners. By using our services, you agree to our use of cookies.
http://faststorage.eu/brocaderesettofactorydefaultsettingsorjustbrickit/
Got it
5/7
8/31/2016
Brocaderesettofactorydefaultsettings(orjustbrickit)FastStorage
Linux/PPC load:
BootROM command line: quiet
Uncompressing Linux...done.
Now booting the kernel
PCI: Cannot allocate resource region 2 of PCI bridge 1
PCI: Cannot allocate resource region 0 of device 0000:00:00.0
Installing Linux 2.6 Kernel
Attempting to find a root file system on hda1...
Kernel panic - not syncing: No init found. Try passing init= option to
kernel.
Sooooo satisfying!
TL;DR: Please Brocade, give usa proper reset to factory defaults command! Add
ayes Im sure I want to nuke my switch warning if youre afraid someone
will accidentally kill a production switch. But ifCisco can safely implement wr
erase without buildings catching re
Related:
Cisco NX-OS SNMP v3 con guration
October 7, 2015
In "Everything"
Cisco Smart Zoning for NX-OS in the DCNM-SAN GUI
April 7, 2015
In "Everything"
Isilon network modi cation via CLI
December 3, 2015
In "Everything"
We use cookies to personalise content and ads, to provide social media features and to analyse our trac.
We also share information about your use of our site with our social media, advertising and analytics
partners. By using our services, you agree to our use of cookies.
http://faststorage.eu/brocaderesettofactorydefaultsettingsorjustbrickit/
Got it
6/7
8/31/2016
Brocaderesettofactorydefaultsettings(orjustbrickit)FastStorage
Jon / August 18, 2014 / Everything, Rants, Storage Networking / Brocade, configuration,
reset to factory default, workaround
We use cookies to personalise content and ads, to provide social media features and to analyse our trac.
We also share information about your use of our site with our social media, advertising and analytics
partners. By using our services, you agree to our use of cookies.
http://faststorage.eu/brocaderesettofactorydefaultsettingsorjustbrickit/
Got it
7/7