rollback


The rollback command can be used to rollback the configuration.


Command Syntax

rollback <0 | 1 | 2 |3 | 4 | 5 | default>


Usage Guidelines

Each time a configuration in L2/L3 is commited, a rollback configuration file is created. For example, if configuration is committed five times, pica.conf.01 through pica.conf.05 are created.  User can rollback to any of these configurations when necessary. The maximum quantity of rollback files is limited to five. The current configuration is located in pica.conf. “rollback 0" refers to load the configurations in file pica.conf.

The rollback default command completely replaces the running configuration with the default configuration file. After this command is executed, a commit is required to make the rollback to default configuration take effect.

 Warning: This command should be used with caution. All the user configurations will be overridden by the default configurations.


Example

•  Rollback the configuration to in configuration file pica.conf.01.

admin@XorPlus# rollback 1
admin@XorPlus# Loading config file...
Config file was loaded successfully.
admin@XorPlus# commit
Commit OK.
Save done.

Copyright © 2024 Pica8 Inc. All Rights Reserved.