Skip to main content
Viptela is now part of Cisco.
Support
Product Documentation
Viptela Documentation

rollback

rollback—Return to a previously committed configuration.

Command Syntax

rollback (configuration [number] | selective number)

Options

Return to the Previously Committed Configuration
rollback configuration
Return to the most recently committed configuration. You are not prompted to confirm this action, and you lose all configuration changes that have been made during this session.
Return to an Earlier Committed Configuration 
rollback configuration 
Return to the configuration changes made in all commit operations up to a particular rollback number. If you omit the number, you return to the previously committed configuration, which is rollback 0. Use the rollback configuration ? to display the configuration numbers and the dates and times that the configurations were committed. For example, the command rollback configuration 1 returns to the configuration changes made in rollback versions 0 and 1.
Return to a Particular Earlier Committed Configuration
rollback selective 
Return to the configuration changes made in a specific commit operation. Use the rollback configuration ? to display the configuration numbers and the dates and times that the configurations were committed. For example, the command rollback configuration 1 returns to the configuration changes made in rollback version 1.

Output Fields

The output fields are self-explanatory.

Example Output

Roll back to the last two sets of configuration changes:

vsmart(config)# do show running-config policy
% No entries found.
vsmart(config)# policy lists site-list s site-id 10
vsmart(config-site-list-s)# commit
Commit complete.
config# do show running-config policy
policy
lists
  site-list s
   site-id 10
  !
!
!vsmart(config-lists)# vpn-list v vpn 1
vsmart(config-vpn-list-v)# commit
Commit complete.
vsmart(config-vpn-list-v)#
vsmart(config)# do show running-config policy
policy
lists
  vpn-list v
   vpn 1
  !
  site-list s
   site-id 10
  !
 !
!
vsmart(config)# rollback configuration
Possible completions:
  0      2013-12-12 12:01:05 by admin via cli
  1      2013-12-12 12:00:50 by admin via cli
  <cr>   latest
vsmart(config)# rollback configuration 1       ========> rollback 0 and 1 are applied
vsmart(config)# show configuration
​policy
lists
  no vpn-list v
  no site-list s
 !
!

Roll back to only the second previous configuration:

vsmart(config)# clear
All configuration changes will be lost. Proceed? [yes, NO] yes
vsmart(config)# show configuration
% No configuration changes found.
vsmart(config)# rollback selective
Possible completions:
0 2013-12-12 12:01:05 by admin via cli
1 2013-12-12 12:00:50 by admin via cli
<cr> latest
vsmart(config)# rollback selective 1 ==========> Only rollback 1 applied
vsmart(config)# top show configuration
policy
lists
   no site-list s
!
!

Release Information

Command introduced in Viptela Software Release 14.1.

Additional Information

load
revert

  • Was this article helpful?