Fortinet Document Library

Version:

Version:

Version:

Version:


Table of Contents

Administration Guide

Download PDF
Copy Link

Revisions

You can select a configuration file revision to revert to.

Using the GUI:
  1. Go to System > Config > Revisions.
    The system displays a new page with an entry for each configuration file revision.
  2. When you select a revision, the following commands are available:
    • Deselect All—deselect all selected revisions.
    • Delete—deletes the selected revision file.
    • Revert—reverts the system configuration to the selected revision.
    • Upload—uploads the selected revision file to your local machine.
  3. If you select two revision files, you can select Diff to display the differences between the two files.
Using the CLI:

Use the following command to display the list of configuration file revisions: 

execute revision list config

 

The FortiSwitch unit assigns a numerical ID to each configuration file. To display a particular configuration file contents, use the following command and specify the ID of the configuration file:

execute revision show config id <ID number>

 

The following example displays the list of configuration file revisions:

# execute revision list config 

ID TIME ADMIN FIRMWARE VERSION COMMENT
1 2015-08-31 11:11:00 admin V3.0.0-build117-REL0 Automatic backup (session expired)
2 1969-12-31 16:06:29 admin V3.0.0-build150-REL0 baseline
3 2015-08-31 15:19:31 admin V3.0.0-build150-REL0 baseline
4 2015-08-31 15:28:00 admin V3.0.0-build150-REL0 with admin timeout 
	

The following example displays the configuration file contents for revision ID 62:

 
# execute revision show config id 62
			
#config-version=FS1D24-3.04-FW-build171-160201:opmode=0:vdom=0:user=admin
#conf_file_ver=1784779075679102577
#buildno=0171
#global_vdom=1
config system global
   set admin-concurrent enable
       ...
   (output truncated)			

Revisions

You can select a configuration file revision to revert to.

Using the GUI:
  1. Go to System > Config > Revisions.
    The system displays a new page with an entry for each configuration file revision.
  2. When you select a revision, the following commands are available:
    • Deselect All—deselect all selected revisions.
    • Delete—deletes the selected revision file.
    • Revert—reverts the system configuration to the selected revision.
    • Upload—uploads the selected revision file to your local machine.
  3. If you select two revision files, you can select Diff to display the differences between the two files.
Using the CLI:

Use the following command to display the list of configuration file revisions: 

execute revision list config

 

The FortiSwitch unit assigns a numerical ID to each configuration file. To display a particular configuration file contents, use the following command and specify the ID of the configuration file:

execute revision show config id <ID number>

 

The following example displays the list of configuration file revisions:

# execute revision list config 

ID TIME ADMIN FIRMWARE VERSION COMMENT
1 2015-08-31 11:11:00 admin V3.0.0-build117-REL0 Automatic backup (session expired)
2 1969-12-31 16:06:29 admin V3.0.0-build150-REL0 baseline
3 2015-08-31 15:19:31 admin V3.0.0-build150-REL0 baseline
4 2015-08-31 15:28:00 admin V3.0.0-build150-REL0 with admin timeout 
	

The following example displays the configuration file contents for revision ID 62:

 
# execute revision show config id 62
			
#config-version=FS1D24-3.04-FW-build171-160201:opmode=0:vdom=0:user=admin
#conf_file_ver=1784779075679102577
#buildno=0171
#global_vdom=1
config system global
   set admin-concurrent enable
       ...
   (output truncated)