124
<Sysname> system-view
[Sysname] configuration encrypt public-key
configuration replace file
Syntax
configuration replace
file
filename
View
System view
Default Level
3: Manage level
Parameters
filename
: Specifies the name of the replacement configuration file for configuration
rollback.
Description
Use the
configuration replace file
command to set configuration rollback.
After the execution of this command, the current running configuration rolls back to the
configuration state based on the specified configuration file (
filename
).
Examples
Roll back from the current running configuration to a previous configuration state
based on a saved configuration file
my_archive_1.cfg
.
<Sysname> system-view
[Sysname] configuration replace file my_archive_1.cfg
Info: Now replacing the current configuration. Please wait...
Info:
Succeeded
in
replacing
current
configuration
with
the
file
my_archive_1.cfg.
display archive configuration
Syntax
display archive configuration
View
Any view
Default Level
1: Monitor level