Brocade 300 firmware

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.
Hello, we are experiencing the same issue here. When trying to access the protected shell, we are prompted to contact customer support for the one-time password. Could you please help us with this?

First: hpdcZOwBA2VMF.wBzy/IjQ==

Second: ZnXDfNLgFeLY.utJ0Pg7Bg==
 
Yes,

hpdcZOwBA2VMF.wBzy/IjQ==
TdUJI5Xs51AyRmk8fwvE4w==

ZnXDfNLgFeLY.utJ0Pg7Bg==
OX6ScPMAdfSrwF.NLltOkQ==
 
Hi, I have got a 300 for homelab, and I'm trying to download firmware to latest from 7.4.2f but without luck
And the shell also blocked, here's the recovery key, could you please help me?

mVFdWRoD7UVeVi/bkLHlgg==
 
Sorry, I made a mistake.. The recovery password don't accept blank password so I've been blocked again

Code:
Recovery Password: PH0vsuW0bNW0pahWmwYrww==
Re-enter Recovery Password: PH0vsuW0bNW0pahWmwYrww==
New password:
passwd: Password unchanged.

. done

. done
done
Map file at LBA sector 0xbc4a7
do_bootm 171: load_addr 0x00100000 addr 0x00400000
do_bootm 174: ## Booting image at 00400000 load_addr 0x00100000 ...

Here's the recovery key: PH0vsuW0bNW0pahWmwYrww==
 
WkhKz6.m9BfK.xu69iuY6g==

for reset password there is command resetpw.
yes, first need to enter any new password. then reset it to empty (work with 8G switch. but in 16G with 8.2.x OTP will work always)
 
WkhKz6.m9BfK.xu69iuY6g==

for reset password there is command resetpw.
yes, first need to enter any new password. then reset it to empty (work with 8G switch. but in 16G with 8.2.x OTP will work always)

Thanks for your help, I've reset the Boot PROM password successfully
And after editing the ttl config with

Code:
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 mode.
sh-2.04# cd /var/config
sh-2.04# cp ttl ttl.orig
sh-2.04# od ttl
0000000 XXXXXX XXXXXX 000000 XXXXXX XXXXXX XXXXXX XXXXXX XXXXXX
XXXXXX 000000 000000 XXXXXX XXXXXX 000000 000000 000000 000000
XXXXXX 000000 XXXXXX 000000 000001 000000 000001 000000 000000
XXXXXX 000000 000000 XXXXXX XXXXXX XXXXXX XXXXXX
XXXXXX
sh-2.04# printf '\x00' | dd of=ttl bs=1 seek=43 count=1 conv=notrunc
1+0 records in
1+0 records out
sh-2.04# od ttl
0000000 XXXXXX XXXXXX 000000 000001 XXXXXX XXXXXX XXXXXX XXXXXX
XXXXXX 000000 000000 XXXXXX XXXXXX 000000 000000 000000 000000
XXXXXX 000000 XXXXXX 000000 000001 000000 000000 000000 000000
XXXXXX 000000 000000 XXXXXX XXXXXX XXXXXX 000000
XXXXXX
sh-2.04# cp /var/config/ttl /mnt/var/config/
sh-2.04# /sbin/passwddefault
/sbin/passwddefault: [: !=: unary operator expected
Error, do this: mount -t proc none /proc
Raslog Module Initialization failed rc=-1
fabsys device open: No such device or address
fabsys .........etc
All account passwords have been successfully set to factory default.
sh-2.04# reboot -f

There's a warning popup during boot process
Code:
Support Configuration file is missing or tampered with.
Please contact your Service Provider for further assistance.

Do firmwaredownload will encounter this warning

Code:
SW1:admin> firmwaredownload
Server Name or IP Address: 192.168.1.100
User Name: admin
File Name: /FOS/v7.4.2h
Network Protocol(1-auto-select, 2-FTP, 3-SCP, 4-SFTP) [1]: 2
Password:
Server IP: 192.168.1.100, Protocol IPv4
Checking system settings for firmwaredownload...
Failed to access /var/config/ttl file.

Support Configuration file is missing or tampered with.
Please contact your Service Provider for further assistance.


SW1:admin>

Did I miss anything?
 
Last edited:
Cause in 16G swithes ttl-files are changed every boottime, there is no reason to edit it with "printf '\x00' | dd of=ttl bs=1 seek=43 count=1 conv=notrunc".
At least for 16G switches it doesn`t work. And person that offered it probably didn`t make firmwaredownload after this. Cause the reason for ttl-edit is to make available support command errdump and other.

Try to restore original contain of ttl file or make a copy and remove original to re-create it (on both! partitions).
And just use hwclock command in password-recovery procedure to set time before EOS (to 2018 year).
 
My 300 is a 8G switch so I tried these commands that #53 mentioned
Code:
=> setenv OSLoadOptions "init=/bin/sh"
=> boot

Then change the time with /sbin/hwclock

sh-2.04# mount -o remount,rw,noatime /
sh-2.04# /sbin/hwclock --set --date="2017-01-01 12:00:00"
sh-2.04# reboot -f

Now the clock is changed to before EOS and now just delete EOS config files and hareboot

SWITCH:root> rm /var/config/ttl*
SWITCH:root> rm /var/config/eos*
SWITCH:root> hareboot

But I've make a mistake again... I did rm /var/config/ttl* and eos before reboot -f
and now the system response
Code:
INIT: version 2.78 booting
Bypassing firmware validation.
INIT: Entering runlevel: 3
Enabling FOS failure detection feature
==============================================================
Error: insmod mtracer-module causing previous reboot !!!
==============================================================
01/01/19 05:26:37,fabos_state,2
01/01/19 05:26:38,smd-module,loading
01/01/19 05:26:38,loaded
01/01/19 05:26:38,raslog-module,loading
01/01/19 05:26:39,loaded
01/01/19 05:26:39,basic-module,loading
01/01/19 05:26:39,loaded
01/01/19 05:26:39,trace-module,loading
01/01/19 05:26:39,loaded
01/01/19 05:26:39,fablog-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,xprt-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,isc-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,tp-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,hasm-module,loading
01/01/19 05:26:40,loaded
01/01/19 05:26:40,rscmon-module,loading
01/01/19 05:26:41,loaded
01/01/19 05:26:42,tomahawk-module,loading
01/01/19 05:26:43,loaded
01/01/19 05:26:43,portlog-module,loading
01/01/19 05:26:43,loaded
01/01/19 05:26:43,ki-module,loading
01/01/19 05:26:43,loaded
01/01/19 05:26:43,fss-module,loading
01/01/19 05:26:43,loaded
01/01/19 05:26:43,fabsys-module,loading
01/01/19 05:26:44,loaded
01/01/19 05:26:44,iu-module,loading
01/01/19 05:26:44,loaded
01/01/19 05:26:44,switch-module,loading
01/01/19 05:26:45,loaded
01/01/19 05:26:45,chassis-module,loading
01/01/19 05:26:45,loaded
01/01/19 05:26:45,pulsar-blade-module,loading
01/01/19 05:26:46,loaded
01/01/19 05:26:46,geye2-module,loading
01/01/19 05:26:47,loaded
01/01/19 05:26:47,fc-module,loading
01/01/19 05:26:47,loaded
01/01/19 05:26:47,routing-module,loading
01/01/19 05:26:48,loaded
01/01/19 05:26:48,mtracer-module,loading
==============================================================
FABOS stop !
==============================================================


Fabric OS (SW1)


SW1 console login: admin
Password:
sysmodAttach open failed: No such device or address
Raslog Module Initialisation failed rc=-1
fabsys device open: No such device or address
sysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormsysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormWarning: Default password not changed for 'root' and 'factory'. Please login as 'root' to change them.
sysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormsysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormsysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to SilkwormWarning: Default password not changed for 'root' and 'factory'. Please login as 'root' to change them.
sysmodAttach open failed: No such device or address
sysconModel: : Illegal seek
can't get Sw Model= 1, default to Silkworm
SW1:admin>

I've tried to restore my ttl.orig backup but still can't boot into FABOS
I really made a big mistake..
 
1. cause you made a backup in recovery-procedure, you can always restore it to original.
Plus I didn`t see that you made changes in /mnt (on second partition). If so , you can get original from it.

2. You can use tftp to boot kernel and use firmwarecleaninstall.

3. I can upload 8G image to restore (just save text of file /etc/fabos/licenses with license-key)
 
Thanks for the reply!
I've recover the backup in hba2 to /var/config but the FABOS still output ERROR
after doing some research, I tried to remove /var/log/fabos.log and successfully!

Here's the procedure to recover FABOS ERROR:
Code:
1. <Boot into commend shell>
2. setenv OSLoadOptions "init=/bin/sh"
3. boot
4. mount -o remount,rw,noatime /
5. <Restore previous ttl and eos backup>
6. rm /var/log/fabos.log
7. reboot -f

And this procedure to do firmwaredownload:
Code:
1. <Reboot into command shell>
2. setenv OSLoadOptions "init=/bin/sh"
3. boot
4. mount -o remount,rw,noatime /
5. /sbin/hwclock --set --date="2017-01-01 12:00:00"
6. reboot -f
7. <Log in with root>
8. rm /var/config/ttl*
9. rm /var/config/eos*
10. hareboot
11. <After reboot, do firmwaredownload, here I'll use 7.4.2j>
12. <After reboot, reboot into command shell again>
13. <do setenv and mount / again>
14. mount /dev/hda2 /mnt
15. cp /var/config/ttl /var/config/ttl.orig
16. od /var/config/ttl
17. printf '\x00' | dd of=/var/config/ttl bs=1 seek=43 count=1 conv=notrunc
18. cp /var/config/ttl /mnt/var/config/
19. /sbin/passwddefault
20. <After reboot, login with root and change password>
21. <Check if webtools can log in>

Logs:
Code:
Boot PROM password has not been set.
=> setenv OSLoadOptions "init=/bin/sh"
=> boot
Map file at LBA sector 0xbc4a7
....
Console monitor timer initialized..!
sh-2.04# mount -o remount,rw,noatime /
EXT3 FS on hda1, internal journal
sh-2.04# /sbin/hwclock --set --date="2017-01-01 12:00:00"
sh-2.04# reboot -f
Restarting system.
....
Support Configuration file is missing or tampered with.
Please contact your Service Provider for further assistance.

SW1 login: root
Password:
Disclaimer for Root and Factory Accounts Usage!

This Fibre Channel switch is equipped with Root and Factory accounts
....
for user - root
Changing password for root
Enter new password:

Re-type new password:
passwd: all authentication tokens updated successfully
Please change passwords for switch default accounts now.
for user - factory
Changing password for factory
Enter new password:
Re-type new password:
passwd: all authentication tokens updated successfully
Saving passwords to stable storage.
Passwords saved to stable storage successfully
SW1:root> rm /var/config/ttl*
SW1:root> rm /var/config/eos*
SW1:root> hareboot
HA Rebooting ...
SW1:root> Loopback Backup (hda1:hda1)
Start loopback
All service instances in sync
....
SW1 console login: admin
Password:
SW1:admin>
....
*******************************************
Notice: System has changed state to active.
All active commands are available now.
*******************************************