Sabtu, 24 Desember 2011

Reset Password Brocade dr PDF

Fabric OS
Password Recovery Notes
Supporting Fabric OS v2.6.x, v3.1.x, v4.x, v5.x

Password Recovery Using Root Account
If you have access to the root account, you can reset the password for any admin, factory, and user accounts without
knowing the account’s current password.
To reset any account password from the root account:
1.Open a CLI session (serial or telnet for an unsecured system and sectelnet for a secure system) to the switch.
2.Log in as root.
3.At the prompt, enter the passwd command, followed by the account name as shown below:
switch:root> passwd account
4.Follow the prompts to reset the password for the selected account. For example:
switch:root> passwd admin
Changing password for admin
Enter new password: xxxxxxx
Re-type new password: xxxxxxx
passwd: all authentication tokens updated successfully
Saving password to stable storage.
Password saved to stable storage successfully.


Password Recovery Using the Boot PROM
If you know the Boot PROM password or none was set on your system, use this procedure to reset the passwords to
default values on the switch or director. The current Fabric OS level of the switch or director must be v4.1 or greater.

To reset the root password to default using the Boot PROM password:
1.Connect to the serial console port of the switch (SilkWorm 200E, 3250, 3850, 3900, 4100, 4900 or 7500 switch) or
the standby CP of a director (SilkWorm 12000, 24000, or 48000). Use the hashow command to see which CP is
active and which is standby.
2.Enter the reboot command.
3.Press ESC at the message “Press escape within 4 seconds...” The Boot PROM menu is displayed with the following
options:
- 1) Start system
Used to reboot the system.
- 2) Recover password.
Used to generate a character string for your support provider to recover the Boot PROM password.
- 3) Enter command shell.
Used to enter the command shell, to reset all passwords on the system.


The system is coming up, please wait...
Checking system RAM - press any key to stop test
01a00000
System RAM check terminated by keyboard
System RAM check complete
Press escape within 4 seconds to enter boot interface.
1) Start system.
2) Recover password.
3) Enter command shell.
Option? 3



4.Type 3 at the prompt to open the command shell.
5.Type the Boot PROM password, if prompted, then press Enter. The Boot PROM has a password only if one was
defined earlier.
6.Run the printenv command, then save the output to a file. You will need to refer to this output later in the procedure.
7.Locate the first memory address; it is the string after OSLoader= in the printenv output.
8.Run the boot command with the first memory address and the –s option. For example:

1) Start system.
2) Recover password.
3) Enter command shell.
Option? 3
Boot PROM password has not been set.
> printenv
AutoLoad=yes
ENET_MAC=0060696019B4
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSBooted=MEM()0xF0000000
OSLoadOptions=quiet;quiet
OSLoader=MEM()0xF0000000;MEM()0xF0800000
OSRootPartition=hda1;hda2
SkipWatchdog=yes
>
> boot MEM()0xF0000000 -s
Booting "Manually selected OS" image.
Entry point at 0x00800000 ...


9.For a SilkWorm 200E, 3250, 3850, 3900, 4100, 4900, or 7500 switch, perform the following steps:
a.Enter the mount command with the following parameters:
> mount -o remount,rw,noatime /
This will remount the root partition as read/write.
b.Enter the mount command with the following parameters where hda is followed by the second partition value
(such as 1 or 2) from OSRootPartition in the printenv output:
> mount /dev/hda2 /mnt

c.Enter the passwddefault command, as follows:
> /sbin/passwddefault
This resets all account passwords to the default values. If there were additional user accounts created, they are
deleted and only the default accounts and passwords remain.
d.Reboot the switch using the reboot –f command.
> reboot -f
Traffic flow resumes when the switch completes rebooting. If you do not use the –f you will have to manually
reboot the switch.
e.Log in as root to the switch by serial or telnet and set new passwords for all accounts.
The process is now complete.
10.For a SilkWorm 12000, 24000, or 48000 director, perform the following steps
a.From the serial connection to the standby CP, determine the hostname of the CPs. This can be done using the
# /bin/cat /etc/hosts command:


# /bin/cat /etc/hosts
127.0.0.1 localhost
10.64.148.23 swd77 #sw0 255.255.240.0
10.64.148.24 swd76 #sw1 255.255.240.0
10.64.148.25 mycp0 #cp0 255.255.240.0 < CP0 SLOT 5
10.64.148.26 cp1 #cp1 255.255.240.0 < CP1 SLOT 6
0.0.0.0 fc0 #fc0 0.0.0.0
0.0.0.0 fc1 #fc1 0.0.0.0
10.0.0.5 cp_0_inteth #cp_0_internaleth
10.0.0.6 cp_1_inteth #cp_1_internaleth


b.From the serial connection to the standby CP, set the appropriate hostname to the CP. Use the hostname displayed
in the previous step. In the above example mycp0 is the standby CP.
hostname <mycp0>
c.Start networking on the standby CP:
> /etc/init.d/network start
d.Perform one of the following according to which slot the CP card is in:
- If the standby CP card is in slot 5 (CP0), enter:
> rsh 10.0.0.6 /sbin/passwddefault
- If the standby CP card is in slot 6 (CP1), enter:
> rsh 10.0.0.5 /sbin/passwddefault
e.Reboot the standby CP using the reboot –f command.
> reboot –f
If you do not use the –f option you will have to manually reset the CP by moving the slider switch to the off and
then on position.
f.Log in to the active CP as admin from a telnet or serial connection, and enter Ctrl + C to bypass the request to
modify passwords.
g.Log in to either logical switch by serial or telnet as admin and set new passwords for all accounts. The password
recovery procedure is now complete.

Default Password

Brocade


Product NameUser NamePasswordDescription
Brocade Fabric OS
adminpassword
- Gigabit SAN
- Admin access (Multi)
Brocade Fabric OS - All
rootfivranne
- Gigiabit SAN (by Nicolas Gregoire)
- Admin access (Multi)
Brocade Silkworm - all
adminpassword
- Also on other Fiberchannel switches
- Admin access (Multi)

Lupa Password SANSwitch BROCADE

Ehem....
pusing yach...
checked below

Pertama : http://www.foundrynet.com/ss/resource-center/lost-password.html

Recovering from a Lost Password

Please note: This procedure does not apply to the EdgeIron switches and IronPoint 200 Access Points and Sensors.
By default, the CLI does not require passwords. However, if someone has configured a password for the device but the password has been lost, you can regain super-user access to the device using the following procedure.
NOTE: Recovery from a lost password requires direct access to the serial port and a system reset.
To recover from a lost password:
1. Start a CLI session over the serial interface to the Brocade device.
2. Reboot the device.
3. While the system is booting, before the initial system prompt appears, enter b to enter the boot monitor mode.
4. Enter no password at the prompt. (You cannot abbreviate this command.)
5. Enter boot system flash primary at the prompt. This command causes the device to bypass the system password check.
6. After the console prompt reappears, assign a new password.


Kedua : https://www.ibm.com/developerworks/forums/thread.jspa?threadID=257444

1. Connect console cable to your laptop and SAN Switch
2. Open HyperTerm or Putty and connect to COM1 and restore Port Setting to default
3. Power recycle the SAN Swithch switch off and switch on
4. Press ESC when POST messages are displayed
5. The Boot PROM Menu will be shown as below:

1) Start System
2) Recover Password
3) Enter command shell

6. Choose 3 and press enter to open command shell
7. Type printenv
8. Look for the line started with OSLoader http://e.g%20*osloader=mem()0xf0000000;*mem()0xf08000000/
9. Copy the text between = and ; which is MEM()0xF0000000
10. Type boot MEM()0xF0000000
11. Type mount -o remount,rw,noatime /
12. Type mount /dev/hda2 /mnt
13. Type /sbin/passwddefault
14. You will be informed passwords are set to default
15. Type reboot -f and switch will be rebooted
16. Wait for Swith to be normally rebooted and log in as root. Default password in my case is fibranne
17. You will be prompted to change password for root, factory and admin account and do so as prompted
18. Document the password somewhere safe and disconnect console connection