Synchronizing the FortiGate unit with the managed FortiSwitch units
You can synchronize the FortiGate unit with the managed FortiSwitch units to check for synchronization errors on each managed FortiSwitch unit.
Use the following command to synchronize the full configuration of a FortiGate unit with the managed FortiSwitch unit:
execute switch-controller trigger-config-sync <FortiSwitch_serial_number>
Use one of the following commands to display the synchronization state of a FortiGate unit with a specific managed FortiSwitch unit:
execute switch-controller get-sync-status switch-id <FortiSwitch_serial_number> execute switch-controller get-sync-status name <FortiSwitch_name>
Use the following command to display the synchronization state of a FortiGate unit with a group of managed FortiSwitch units:
execute switch-controller get-sync-status group <FortiSwitch_group_name>
Synchronizing the FortiGate unit with the managed FortiSwitch units
Use the following command to check the synchronization state of all managed FortiSwitch units in the current VDOM: execute switch-controller get-sync-status all
For example:
FG100D3G14813513 (root) # execute switch-controller get-sync-status all Managed-devices in current vdom root:
STACK-NAME: FortiSwitch-Stack-port5
SWITCH (NAME) STATUS CONFIG MAC-SYNC UPGRADE
FS1D243Z14000173 Up Idle Idle Idle S124DP3X16006228 (Desktop-Switch) Up Idle Idle Idle