cfg-archive revert-option

Configures configuration archive auto-revert options.
Syntax
cfg-archive revert-option { archive { archive-name | auto } | archive-size { size } | auto-revert-timer [ time ] | boot-partition [ pri | sec ] | confirm-type { auto | manual } | confirm-wait-timer time | update-archive-content }
Command Default

Configuration archive auto-revert is not configured.

Parameters
archive
Specifies an archive.
archive-name
Sets the golden archive that is used when reloading the system, instead of the startup configuration.
auto
Specifies that the startup configuration is used when reloading the system. This is the default. In this instance, auto refers to startup configuration.
archive-size size
Specifies the number of archives allowed. Valid values range from 5 through 100. The default is 100.
auto-revert-timer time
Specifies or displays the automatic revert timer interval, in minutes. Valid values range from 1 through 1440 minutes. The default value is 5 minutes. If an interval value is not entered, the current configuration value is displayed. If an interval is entered, the configuration value is updated.
boot-partition
Specifies or displays the partition to be used when using configuration archive auto-revert. If a partition is not designated, the current booting partition is displayed.
pri
Specifies the primary partition. This is the default.
sec
Specifies the secondary partition.
confirm-type
Sets the confirmation type.
auto
Specifies automatic confirmation. This is the default.
manual
Specifies manual confirmation.
confirm-wait-timer time
Sets or shows the confirm wait timer. Valid values range from 1 through 1440 minutes. The default is 30 minutes. If an interval is not entered, the current configuration value is displayed.
update-archive-content
Specifies that the golden archive is updated with the latest running configuration.
Modes

Privileged EXEC mode

Examples

The following example configures a specified golden archive to be used used when reloading the system instead of the startup configuration.

device# cfg-archive revert-option archive 10

The following example designates the startup configuration as the golden archive.

device# cfg-archive revert-option archive auto

The following example sets the automatic revert timer interval to ten minutes.

device# cfg-archive revert-option auto-revert-timer 10

The following example displays the configured automatic revert timer.

device# cfg-archive revert-option auto-revert-timer

Revert option timer : 1 minute(s) 0 second(s)

The following example specifies that the secondary partition be used when auto-reverting.

device# cfg-archive revert-option boot-partition sec

The following example displays the configured partition that is used when using configuration archive auto-revert.

device# cfg-archive revert-option boot-partition
Boot Partition : Primary

The following example sets the confirm wait timer to ten minutes.

device# cfg-archive revert-option confirm-wait-timer 10

The following example displays the configured confirm wait timer.

device# cfg-archive revert-option confirm-wait-timer

Confirm wait timer : 1 minute(s) 0 second(s)

The following example specifies that a reload is automatically initiated after the configured wait time expires.

device# cfg-archive revert-option confirm-type auto

The following example specifies that the golden archive is updated with the latest running configuration.

device# cfg-archive revert-option update-archive-content

The following example specifiies the number of archives allowed in the system.

device# cfg-archive revert-option archive-size 98

maximum number of archive allowed[old=100 new=98]
History
Release version Command history
09.0.10a This command was introduced.
09.0.10d This command was modified to add cfg-archive revert-option archive-size, which replaces cfg-archive management archive-size.