DescriptionThis article describes how to view the previous changes made on Fortiswitch and restore to a previous working configuration setup.
Related links.
page#59: https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/a7c76c1d-754c-11ea-9384-005056...External Link: https://www.diffchecker.com/SolutionIn certain scenarios, in case of recent changes done or if a change cause network issues, use command '# execute revision list config' to compare the old and new configuration.
- FortiSwitch automatically backups configuration after each logout/ or session expiry. This setting is enabled by default and can be changed under '# config system global'.
- To view the configuration backups on the FortiSwitch, use '# execute revision list config'.
- To view a particular backup config in detail, use '# execute revision show config id <revision id>'.
This will list the entire config, use notepad differentiator or any other tool to find out the difference between previous and current config (command: '# show full-config').
- For Example: In the below scenario , NTP config was changed on the Fortiswitch.
- Comparing the previous 'config id 54' and the latest 'config id 55' , will help to identify the recent changes made on the below switch:
- Alternatively, use the GUI
Go to System -> Config -> Revisions. View and revert configuration here.