112
In case a future downgrade is needed, the system automatically checks for configuration incompatibility
and backs up the old next-startup configuration file the first time you use the
save
command to save the
running configuration to the file.
The backup file is named in the _
old-filename
_bak.cfg
format. For example, if the old configuration file
is named config.cfg, the backup file is named _config_bak.cfg.
In an IRF fabric, the overwrite and backup operations are performed on all member devices, regardless
of whether configuration auto-update is enabled.
The overwrite and backup operations are performed on each member device, regardless of whether
configuration auto-update is enabled.
If the backup attempt fails on an IRF member device, choose one of the following failure handling actions
at prompt:
•
Give up saving the configuration
—The system does not save the running configuration on any
member device.
•
Overwrite the configuration file
—The system uses the running configuration to overwrite the old
configuration file on the member device without backing up the file. You can copy the backup
configuration file from the master device to this member device for future rollback.
To ensure a successful backup, verify that:
•
Each device has enough space for the backup configuration file and the new next-startup
configuration file.
•
The file name length of the backup file is no more than 91 characters.
To load the backup configuration file after a software downgrade, specify the backup file as the
next-startup configuration file on each member device.
Setting configuration rollback
Configuration rollback
Configuration rollback allows you to revert to a previous configuration state based on a specified
configuration file. The specified configuration file must be a valid
.cfg
file generated by using either the
backup function (manually or automatically) or the
save
command, or, if a configuration file is generated
by another device, the configuration file must comply with the format of the configuration file on the
current device. HP recommend that you use the configuration file that is generated by using the backup
function (manually or automatically). Configuration rollback can be applied in the following situations:
•
Running configuration error. Rolling back the running configuration to a correct one is needed.
•
The application environment has changed and the device has to run in a configuration state based
on a previous configuration file without being rebooted.
Before setting configuration rollback, perform the following steps:
1.
Specify the filename prefix and path for saving the running configuration.
2.
Save the running configuration with the specified filename (filename serial number) to the
specified path. The running configuration can be saved automatically or manually.
When you enter the
configuration replace file
command, the system compares the running configuration
and the specified replacement configuration file. The
configuration replace file
command performs the
following actions: