235
Cisco Nexus 5500 Series NX-OS Security Command Reference
OL-27883-02
Chapter R Commands
rollback running-config
Note If you make a configuration change during an atomic rollback, the rollback will fail. You must manually
correct the error and then run the rollback command.
Examples This example shows how to roll back the running configuration to a checkpoint, named chkpnt-1, in
verbose mode:
switch# checkpoint chkpnt-1
<-- modify configuration in running configuration--->
switch# checkpoint chkpnt-2
<-- modify configuration in running configuration--->
switch# rollback running-config chkpnt-1 verbose
Note: Applying config parallelly may fail Rollback verification
Collecting Running-Config
Generating Rollback patch for switch profile
Rollback Patch is Empty
Collecting Running-Config
#Generating Rollback Patch
Rollback Patch is Empty
Rollback completed successfully.
switch#
This example shows how to roll back the running configuration to a checkpoint configuration file named
chkpnt_configSep9-1.txt in the bootflash storage system:
switch# checkpoint chkpnt-1
<-- modify configuration in running configuration--->
switch# checkpoint file bootflash:///chkpnt_configSep9-1.txt
<-- modify configuration in running configuration--->
switch# checkpoint file bootflash:///chkpnt_configSep9-2.txt
<-- modify configuration in running configuration--->
switch# checkpoint chkpnt-2
switch# rollback running-config file bootflash:///chkpnt_configSep9-1.txt
switch#
Related Commands Command Description
rollback Rolls back the switch to any of the saved checkpoints.
show checkpoint Displays checkpoint information.
show diff
rollback-patch
checkpoint
Displays the differences between current checkpoint and saved
configuration.
show diff
rollback-patch file
Displays the differences between the current checkpoint file and the saved
configuration.
show diff
rollback-patch
running-config
Displays the differences between the current running configuration and the
saved checkpoint configuration.