unixadmin.free.fr just another IBM blog and technotes backup

6sept/11

Recover switch password IBM 2109-F32 (SilkWorm 3900)

1. Connect the serial cable to the serial port on the switch and to an RS-232
Use the PBRU cable :)
- Cisco cable DB9/RJ45 (72-3383-01) + SUN connector RJ45/DB9 (530-3100-01)

2. Poweron the IBM 2109-F32 Switch

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.

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:

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

Example:

The system is coming up, please wait...
Checking system RAM - press any key to stop test

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
Password:password

> printenv
AutoLoad=yes
ENET_MAC=006069901998
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 ...

Linux/PPC load:
BootROM command line: -s
Uncompressing Linux...done.
Now booting the kernel
Linux version 2.4.19 (swrel@elixir) (gcc version 2.95.3 20010112 (prerelease)) -n #1 Tue Oct 3 20:52:01 PDT 2006
.............
INIT: version 2.78 booting

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

sh-2.04# mount /dev/hda2 /mnt
XFS mounting filesystem ide0(3,2)

sh-2.04# /sbin/passwddefault
All account passwords have been successfully set to factory default.

sh-2.04# reboot -f
flushing ide devices: hda
Restarting system.
<NULL>

Normal reboot

The system is coming up, please wait...
Checking system RAM - press any key to stop test

System RAM check terminated by keyboard
System RAM check complete
Press escape within 4 seconds to enter boot interface.
Booting "Fabric Operating System" image.
Entry point at 0x00800000 ...

Linux/PPC load:
BootROM command line: quiet
Uncompressing Linux...done.
Now booting the kernel
Attempting to find a root file system on hda1...
INIT: version 2.78 booting
INIT: Entering runlevel: 3

eth0: Link status change: Link Up. 100 Mbps Full duplex Auto (autonegotiation complete).

Fabric OS (2109-F32)
2109-F32  console login: uptime: 2468; sysc_qid: 0
2011/09/06-16:35:30, [HAM-1004], 200,, INFO, Silkworm3900, Processor rebooted - Reboot

Fabric OS (2109-F32)
Fabos Version 5.2.0a

The administrative login is admin, and the default password is password.
Now, You can change default password for all user account.

2109-F32 login: admin
Password:password
Please change passwords for switch default accounts now.
Use Control-C to exit or press 'Enter' key to proceed.

Warning:  Access to  the Root  and Factory accounts may be required  for
proper  support  of  the switch.  Please  ensure  the Root  and  Factory
passwords are  documented in a secure location.  Recovery of a lost Root
or Factory password will result in fabric downtime.

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
Please change passwords for switch default accounts now.
for user - admin
Changing password for admin
Enter new password:
Re-type new password:
passwd: all authentication tokens updated successfully
Please change passwords for switch default accounts now.
for user - user
Changing password for user
Enter new password:
Re-type new password:
passwd: all authentication tokens updated successfully
Saving passwords to stable storage.
Passwords saved to stable storage successfully

2109-F32:admin>

SOURCE :
Brocade
IBM

Remplis sous: SAN Laisser un commentaire
Commentaires () Trackbacks (0)

Aucun commentaire pour l'instant


Leave a comment

(required)

Aucun trackbacks pour l'instant