Configuration Archive and Replace
In this section:
- Configuration Archives
- Creating a Configuration ArchiveTo copy an existing archive to another one, the destination archive name must comply with the archive naming convention. In case the source file does not exist in the archive repository, the full path must be used. As per the archive naming convention, the archive names must be prefixed with a pre-defined string ‘ICX7K_ARCHIVE_’. An archive can be created from the running configuration. Archives can be created in the following ways:
- Performing a Reload Using a Configuration ArchiveReloads the system with a specific configuration archive file.
- Managing Configuration Archive FilesAll CLI commands in this procedure are available in executive mode. After reloading the system, enter the enable command to change from user mode to executive mode.
- Configuration Archive Auto-RevertConfiguration archive auto-revert provides the capability to revert or roll back to a previous configuration if the changed running configuration is not saved to the non-volatile memory within a predefined time. This prevents the system from entering an unknown state by reminding the system administrator that the running configuration has changed and these configurations have not been saved. If the
write memorycommand is not used after the reminder is issued, the system can reload automatically using the golden archive that has been previously configured. - Verifying Configuration ArchivesYou can display the current running configuration for configuration archives, and compare a configuration archive with the startup configuration. You can also display the unsaved running configuration before the last system reload, and delete an unsaved configuration after a system reload. Using the following commands is optional and they can be entered in any order.
- Enabling Configuration Archive
Auto-RevertConfiguration archive auto-revert provides the capability to revert or roll back to a previous configuration if the changed running configuration is not saved to the flash using the
write memorycommand within a predefined time. The following task enables configuration archive auto-revert. The following commands are supported in configuration mode also. - Enabling Configuration Archive Auto-Revert
OptionsThe following task configures various options for configuration archive auto-revert. Using these commands is optional and they can be entered in any order. If any of the following commands is not entered, the default is applied after configuration archive auto-revert is enabled.
Parent topic: Configuration File Management