checkpoint auto

Syntax

checkpoint auto <TIME-LAPSE-INTERVAL>

Description

Starts auto checkpoint mode. In auto checkpoint mode, the switch temporarily saves the runtime configuration as a checkpoint only for the specified time lapse interval. Configuration changes must be saved before the interval expires, otherwise the runtime configuration is restored from the temporary checkpoint.

Command context

Manager (#)

Parameters

<TIME-LAPSE-INTERVAL>

Specifies the time lapse interval in minutes. Range: 1 to 60.

Authority

Administrators or local user group members with execution rights for this command.

Usage

To save the runtime checkpoint permanently, run the checkpoint auto confirm command during the time lapse interval. The filename for the saved checkpoint is named AUTO<YYYYMMDDHHMMSS>. If the checkpoint auto confirm command is not entered during the specified time lapse interval, the previous runtime configuration is restored.

Examples

Confirming the auto checkpoint:

switch# checkpoint auto 20
Auto checkpoint mode expires in 20 minute(s)
switch# WARNING  Please "checkpoint auto confirm" within 2 minutes
switch# checkpoint auto confirm 
checkpoint AUTO20170801011154 created

In this example, the runtime checkpoint was saved because the checkpoint auto confirm command was entered within the value set by the time-lapse-interval parameter, which was 20 minutes.

Not confirming the auto checkpoint:

switch# checkpoint auto 20
Auto checkpoint mode expires in 20 minute(s)
switch# WARNING  Please "checkpoint auto confirm" within 2 minutes
WARNING: Restoring configuration. Do NOT add any new configuration.
Restoration successful

In this example, the runtime checkpoint was reverted because the checkpoint auto confirm command was not entered within the value set by the time-lapse-interval parameter, which was 20 minutes.