beautypg.com

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

Page 701

background image

NOTE
For Network OS, the passwddefault command restores the passwords of factory default accounts to
their default values and removes nondefault user accounts that are present. The nondefault user
accounts will be restored later in this procedure.

Any additional user accounts remain intact.

13.Reset the OSLoadOptions parameters to "quiet;quiet."

sh-2.04# bootenv OSLoadOptions "quiet;quiet"

14.Reboot the switch by using the reboot -f command.

sh-2.04# reboot -f

Traffic flow resumes when the switch completes rebooting. If you do not use the -f option, you must
reboot the switch manually.

15.Log in as root to the switch by using the serial interface or Telnet. Use the default root password

(fibranne).

16.Start the Network OS command line.

switch:root> noscli

WARNING: The default password of 'admin' and 'user' accounts have not been changed.

Welcome to the Brocade Network Operating System Software

admin connected from 127.0.0.1 using console on switch

17.Enter global configuration mode.

switch# config

Entering configuration mode terminal

switch(config)#

18.Use the following syntax of the username command to reset passwords for the admin or user

accounts, or for any other nondefault users.

username account-name password new-password

The following example resets the admin password to the default value of "password."

switch(config)# username admin password password

19.To restore the nondefault user accounts, perform the following steps:

a)

Copy the running-config to a file.

switch: copy running-config flash://running-config.cfg

2012/07/09-11:51:21, [DCM-1108], 4930, INFO, VDX6740, Running

configuration file has been uploaded successfully to the remote location.

b)

Copy the default-config to the startup-config, to reset the startup-config.

switch# copy default-config startup-config

c)

Reboot the switch.

switch# reload

Warning: Unsaved configuration will be lost. Please run ’copy

running-config startup-config’ to save the

current configuration if not done already.

Are you sure you want to reload the switch? [y/n]:y

The system is going down for reload NOW !!

d)

Copy the file saved in Step 19a to the running-config.

switch# copy flash://running-config.cfg running-config

Loading.

2012/07/09-12:08:13, [DCM-1105], 5456, M2, INFO, VDX6740, Copy of the

downloaded config file to the current running-config has completed

successfully on this node.

e)

Copy the running-config to the startup-config.

switch# copy running-config startup-config

The password recovery procedure is now complete. You can now use normal password-management
procedures from the admin account.

Dual Management Modules (MM)s operating alone need a slight change in this task for both the root-
enabled or root-disabled scenarios.

Troubleshooting procedures

Network OS Administrator’s Guide

701

53-1003225-04