checkpoint auto <TIME-LAPSE-INTERVAL>

Syntax

checkpoint auto <TIME-LAPSE-INTERVAL>

Description

Starts the auto checkpoint mode. In auto checkpoint mode, the system temporarily saves the runtime configuration as a checkpoint only for the specified time lapse interval.

Command context

Manager (#)

Parameters

<TIME-LAPSE-INTERVAL>

Specifies the amount of time from 1 to 60 minutes in which the runtime configuration can be saved as a checkpoint. Required.

Authority

Administrators

Usage

To save the runtime checkpoint permanently, run the checkpoint auto confirm command during the time lapse value set by the checkpoint auto <TIME-LAPSE-INTERVAL> command. The filename for the saved checkpoint has the AUTO<YYYYMMDDHHMMSS> syntax. 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 the previous 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 the previous 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.