
15
# Replace the running configuration with the configuration in the
startup.cfg
configuration file. Skip this
step if you do not want to restore the original configuration.
<Sysname> system-view
[Sysname] configuration replace file startup.cfg
Current configuration will be lost, save current configuration? [Y/N]:n
Info: Now replacing the current configuration. Please wait...
Info: Succeeded in replacing current configuration with the file startup.cfg.
# Set a new super password.
<Sysname> system-view
[Sysname] super password cipher 123456
NOTE:
A plaintext password or ciphertext password configured by using the
super password
command is
saved in cipher text in the configuration file.
# Save the configuration to the default configuration file.
[Sysname] save
Handling user password loss when password recovery is
disabled
# Enter 5 in the extended BootWare menu to restore the factory-default configuration. This step deletes
the configuration file.
The current mode is no password recovery. The configuration files will be
deleted, and the system will start up with factory defaults, Are you sure to
continue?[Y/N]Y
Setting...Done.
# Enter 0 to reboot the device when the extended BootWare menu appears again. The device reboots
with the factory default configuration.
# Configure a new console login password (see
Handling console login password loss when password
) or a new super password (see
Handling super password loss when password
).
# Save the configuration to the default configuration file.
[Sysname] save