beautypg.com

Dealing with password loss, User password loss – H3C Technologies H3C WX5000 Series Access Controllers User Manual

Page 65

background image

5-25

z

/unreserved

: Permanently deletes the specified file, and the deleted file can never be restored.

z

file

-url: Name of the file to be deleted.

# Delete file test.txt in the root directory.

delete test.txt

Delete cfa0:/test.txt?[Y/N]:y

%Delete file cfa0:/test.txt...Done.

At this time, file test.txt is removed to the recycle bin. If you want restore the file, you can use the

undelete

command.

# Restore file test.txt from the recycle bin.

undelete test.txt

Undelete cfa0:/test.txt? [Y/N]:y

% Undeleted file cfa0:/test.txt.

Dealing With Password Loss

This section describes how to deal with password loss.

User Password Loss

Your login will be refused if you have forgotten the user password. In this case, set a new user password
by following the steps below:

1) Enter the BootWare main menu, and enter 6 to bypass the current configuration in system startup.

The system prompts the following information, which indicates that your setting succeeds.

Flag Set Success.

2) When the BootWare main menu appears again, enter 0 to reboot the system.

System starts booting ...

3) Set a new password in system view.

[H3C]user-interface console 0

[H3C-ui-console0]authentication-mode password

[H3C-ui-console0]set authentication password simple 123456

The above output information indicates that password authentication is used for console port login, the
password is set to 123456 in plain text.

z

After reboot, the system runs with the default configuration, while the original configuration file is
still kept on the CF card. To restore the original configuration, use the display

saved-configuration

command to locate the configuration file, and then copy and run it.

z

If the password is stored in plain text, you can use the display current-configuration command to
view the password in the current configuration. If you use the set authentication password

cipher 123456

command to set your password, the password will be stored in cipher text.

4) Save the new password.