5-23
Deleting a file
To delete
startup.cfg
, use the following command:
<H3C>delete startup.cfg
Delete cfa0:/startup.cfg?[Y/N]:y
%Delete file cfa0:/startup.cfg...Done.
Dealing with Password Loss
This section describes how to deal with password loss.
User Password Loss
If you forget your user password, the system will refuse your login. In this case, you can set a new user
password by following the steps below.
1) Enter the BootWare main menu and select
6
to bypass the current configuration in system startup.
The following information appears:
Flag Set Success.
2) When the BootWare main menu appears again, select
0
to restart the system.
System starts booting ...
3) Set a new user password in system view.
[H3C]user-interface con 0
[H3C-ui-aux0]authentication-mode password
[H3C-ui-aux0]set authentication password simple 123456
This information indicates that password authentication is used for console port login, the password is
set to
123456
, and it is stored in plain text.
z
After reboot, the system runs with the initial default configuration, while the original configuration
file is still kept in 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 your new password.
[H3C] save
After modifying the user password, use the
save
command to save it.