HPE EVA Storage
1748200 Members
3854 Online
108759 Solutions
New Discussion юеВ

Re: password reset for 8/24 SAN Switch

 
fibrehp
New Member

password reset for 8/24 SAN Switch

Could anyone help to reset password for HP StorageWorks 8/24 SAN Switch? Seems old procedure (Brocade 53-1000114-01) does not work. Thank you in advance. Your help is much appreciated.
13 REPLIES 13
TechHelp24
Frequent Advisor

Re: password reset for 8/24 SAN Switch

see here, I'm working to obtain a new procedure.
TechHelp24
Frequent Advisor

Re: password reset for 8/24 SAN Switch

(Invalid Link removed)

Niels Vejrup Pedersen
Respected Contributor

Re: password reset for 8/24 SAN Switch

Usually you need to call HP support - they can generate a temporary password for you.

Regards
TechHelp24
Frequent Advisor

Re: password reset for 8/24 SAN Switch

--->>>>....they can generate a temporary password for you.

Pedersen, any "temporary" password for Brocade switch is unknown to me.
Niels Vejrup Pedersen
Respected Contributor

Re: password reset for 8/24 SAN Switch

Hello,

Please see the Troubleshooting and Diagnostics Guide - it's documented there.

Regards
TechHelp24
Frequent Advisor

Re: password reset for 8/24 SAN Switch

Pedersen,

I know the Troubleshooting and Diagnostics Guide, but here is any Temporary Password not descripted. can you please point me to exact page ? I'm courios about this temp. password. thanks.

Re: password reset for 8/24 SAN Switch

The exact procedure is the following

Details

On 8Gb Brocade switches, if the Boot PROM password is not set(or it is set and known) and need to recover root password (in case it was set previously and forgotten), then follow the below procedure to set all the passwords to factory default (Factory defined user IDs: root, factory, admin and user, Default password: password):

1. Connect the serial console to the SAN switch (or director). (Default serial console settings: Baud rate ├в 9600, Data bits ├в 8, Parity ├в none, Stop bits -1, Flow control ├в none).

2. Reboot the switch

3. Press ESC at the message ├в Hit ESC to stop autoboot: ├в , the Boot PROM menu displays with the following options:

1) Start system.

2) Recover password.

3) Enter command shell.

Option?

4. 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.

=>

5. Run the ├в printenv├в command to check the environment variables (This step is optional).

Sample output of ├в printenv├в from a Brocade 8Gb switch:

=> printenv

AutoLoad=yes
BootromVerbose=no
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=quiet
OSLoader=ATA()0x8c047;ATA()0x14e978
OSRootPartition=hda1;hda2
SkipWatchdog=yes
baudrate=9600
bootcmd=setenv bootargs mem=${mem} ${OSLoadOptions};ataboot;bootm 0x400000
bootdelay=20
ethact=ppc_4xx_eth0
ethaddr=00:05:1E:5B:4D:C3
hostname=sequoia
initrd_high=0x20000000
mem=520192k
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
netdev=eth0
consoledev=ttyS1
ramdiskaddr=400000
ramdiskfile=your.ramdisk.u-boot
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 1.1.3 (Apr 15 2008 - 19:19:34)

Environment size: 631/4080 bytes

Sample output of ├в printenv├в from a Brocade 4Gb switch:

> printenv


AutoLoad=yes
ENET_MAC=00051E0343E3
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=quiet;quiet
OSLoader=ATA()0x3c020;ATA()0x6b348
OSRootPartition=hda1;hda2
SkipWatchdog=yes

6. Set the environment variable ├в OSLoadOptions├в to single (or ├в s)

=> setenv OSLoadOptions single

(Note: On 4Gb switches, the setenv requires ├в =├в as well:

setenv OSLoadOptions=single )

7. Run ├в printenv├в command to verifyt the new value of ├в OSLoadOptions├в :

=> printenv


AutoLoad=yes
BootromVerbose=no
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=single
OSLoader=ATA()0x8c047;ATA()0x14e978
OSRootPartition=hda1;hda2
SkipWatchdog=yes
baudrate=9600
bootcmd=setenv bootargs mem=${mem} ${OSLoadOptions};ataboot;bootm 0x400000
bootdelay=20
ethact=ppc_4xx_eth0
ethaddr=00:05:1E:5B:4D:C3
hostname=sequoia
initrd_high=0x20000000
mem=520192k
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
netdev=eth0
consoledev=ttyS1
ramdiskaddr=400000
ramdiskfile=your.ramdisk.u-boot
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 1.1.3 (Apr 15 2008 - 19:19:34)

Environment size: 652/4080 bytes

8. Run the command ├в boot├в ( on 4 Gb switches, run the command ├в auto├в )

=> boot

Note: The rest of the steps are same for all switches with Linux based FOS (ver 4.1 and above).

9. After the switch boot in single user mode, remount the / partition as read/write:

sh-2.04# mount -o remount,rw,noatime /

10. Mount the second partition to /mnt (this will get from the value of ├в OSRootPartition├в variable in ├в printenv├в output ├в usually it will be ├в hda2├в , that is, /dev/hda2)

sh-2.04# mount /dev/hda2 /mnt

11. Verify the mounted file systems by running the ├в mount├в command:

sh-2.04# mount

/dev/root on / type unknown (rw,noatime)


none on /proc type proc (rw)
none on /dev/pts type devpts (rw,mode=620)
none on /tmp type ramfs (rw)

/dev/hda2 on /mnt type ext3 (rw)

12. Run the ├в passwddefault├в command as follows:

sh-2.04# /sbin/passwddefault

13. Reboot the switch.

sh-2.04# reboot ├в f

After reboot, login to the switch using username ├в admin├в , password ├в password├в and set the new passwords for root, factory, admin and user accounts.

(Note: Invalid Links removed)

Mike O.
Regular Advisor

Re: password reset for 8/24 SAN Switch

Thanks for the info, I will try it in the next day or two. Just to make sure, that will only reset the passwords, correct? It won't affect the rest of the configuration, zoning, etc.?
Mike O.
Regular Advisor

Re: password reset for 8/24 SAN Switch

Please disregard my previous reply, I was replying to the wrong thread.