rollback checkpoint

Creates or removes a rollback configuration checkpoint, with an optional name and description.

Syntax

rollback checkpoint [ cp-name [ description string ] ]
no rollback checkpoint { all | cp-name }

Command Default

A checkpoint is not created by default.

Parameters

cp-name
Specifies the name of a checkpoint.
description string
Specifies a description for the checkpoint. See the Usage Guidelines.
all
Specifies all checkpoints.

Modes

Privileged EXEC mode

Usage Guidelines

The user must have admin privileges to execute this command.

The checkpoint name must exist in device flash memory.

Only one user can perform a checkpoint operation at a time.

The checkpoint name and description string can be any alphanumeric string. The description string must be inside quotation marks. Checkpoint names must be 64 characters or less. Checkpoint descriptions must be 128 characters or less.

When the checkpoint name is not specified, the checkpoint is created with a timestamp in YYYMMDD_HHMISS format. For example, 20180511_23435.

The no form of this command removes all checkpoints or a specified checkpoint. The no rollback checkpoint all command deletes all checkpoints in the device flash memory.

Examples

This example creates the rollback checkpoint "test" with description "testing checkpoint".

device# rollback checkpoint test description "testing checkpoint"
Checkpoint "test" creation completed successfully.

This example deletes the rollback checkpoint "test".

device# no rollback checkpoint test
Warning: Checkpoint "test" will be deleted!!
Do you want to continue? [y/n]:

This example deletes all rollback checkpoints.

device# no rollback checkpoint all
Warning: Checkpoint "test" will be deleted!!
Do you want to continue? [y/n]: