The Configuration Rollback procedure allows an administrator to save a checkpoint of the configuration prior to making changes, so the configuration can easily be restored to a known working state in the event the a change negatively impacts the network. You can create a checkpoint copy of the current running configuration at any time. Cisco NX-OS saves this checkpoint as an ASCII file which you can use to roll back the running configuration to the checkpoint configuration at a future time. You can create multiple checkpoints to save different versions of your running configuration.
NX-OS creates automatic checkpoints for following conditions:
When a feature is removed with the no feature command
When a layer-3 protocol feature is removed (IE: no feature ospf)
When the grace-period license expires for a feature
The Configuration Rollback procedure should be used for managing Change Controls, NOT for long term configuration management.
You cannot apply a checkpoint configuration in a nondefault VDC if there is a change in the global configuration portion of the running configuration
Only one user can perform a checkpoint, rollback, or copy the running configuration to the startup configuration at the same time in a VDC.
Checkpoints are local to a virtual device context (VDC).
Checkpoint names must be unique. You cannot overwrite previously saved checkpoints with the same name.
Checkpoints created in nondefault VDCs are present upon reload only if a copy running-config startup-config command is issued in the applicable VDC and the default VDC.
Rollback is not supported in the storage VDC.
Checkpoints are created in EXEC mode (users must have network-admin or vdc-admin privileges) - Only 1 user can perform a checkpoint action at a time in each VDC.
Up to 10 Checkpoints can be created per VDC – Additional Checkpoint files can be created in bootflash or volatile memory when using the file option.
Checkpoints are stored in an internal repository that is not accessible by the common user (Checkpoints are persistent and synced between redundant supervisors).
Checkpoint names can contain up to 80 characters (no spaces) and descriptions can contain up to 80 characters (spaces).
The checkpoint rollback procedure is only supported within the same software release – However, they may still work across releases.
Configuration differences can be compared between checkpoints, files, startup-configuration and the running-configuration using the show diff rollback-path command (files and running-confutation cannot be compared).
The clear checkpoint database or write-erase CLI command deletes all checkpoint files – Files stored in flash with the file option need to be manually deleted.
Create Configuration Checkpoint
n7000# checkpoint before-remove-vlans description remove vlan 10 and 20