beautypg.com

Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 700

background image

Recover password

Used to generate a character string for your support provider to recover the Boot
PROM password.

ATTENTION
Use this feature only when directed by technical support personnel.

Enter command shell

Used to enter the command shell to reset all passwords on the system.

Checking system RAM - press any key to stop test

Checking memory address: 00100000

System RAM test terminated by keyboard

set_bootstatus: BS_LOAD_OS, platform_idx = 6

Hit ESC to stop autoboot: 0

1) Start system.

2) Recover password.

3) Enter command shell.

Option?

4. Enter 3 at the prompt to open the command shell.
5. If prompted, enter the Boot PROM password and press Enter.

NOTE
The Boot PROM has a password only if one has been defined.

6. Change the "OSLoadOptions=quiet;quiet" setting so that the switch boots into single-user mode, by

entering the following at the prompt:
setenv OSLoadOptions "single"

7. Enter the printenv command to verify the change.

=> printenv

AutoLoad=yes

BootromVerbose=no

InitTest=MEM()

LoadIdentifiers=Fabric Operating System;Fabric Operating System

OSLoadOptions=single

(output truncated)

8. Enter the savenv command to save the changes.

=> saveenv

Saving Environment to Flash.....Done

9. Enter the boot command with no parameters to bring up the device in single-user mode

=> boot

Map file at LBA sector 0x17da68

## Booting image at 00400000 ...

(output truncated)

10.Enter the mount command with the following parameters to remount the root partition as read/write

capable.

sh-2.04# mount -o remount,rw /

EXT3 FS on hda1, internal journal

11.Mount the secondary partition.

If the previous command returns hda2, then use hda1 in this command. If the previous command
returns hda1, then use hda2.

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.

12.Enter the passwddefault command to reset the root password to the factory default value.

sh-2.04# /sbin/passwddefault

Troubleshooting procedures

700

Network OS Administrator’s Guide

53-1003225-04