FortiSwitch
FortiSwitch: secure, simple and scalable Ethernet solutions
zendodg
Staff
Staff
Article Id 362764
Description This article describes why FortiSwitches controlled by FortiLink do not use the same timezone.
Scope FortiSwitch controlled by FortiLink.
Solution

FortiSwitch controlled by FortiLink could have a small difference of time with time provided by FortiGate.

 

In this example, FortiGate is sending a gmt -7 timezone to FortiSwitch:

 

Fortilink timezone.PNG

 

But FortiSwitch controlled by FortiGate is taking a GMT -3:30 timezone:

 

Capture.PNG

 

This is due to FortiGate and FortiSwitch being different products with different timezone location name options. If FortiSwitch does not have an exact match, the first within the same zone is used.

 

This small difference does not have any impact on FortiLink control.

 

If an exact match between FortiGate and FortiSwitch is needed, the FortiSwitch timezone can be modified with a custom command.

 

This is an example 

 

config switch-controller custom-command

    edit timezone

        set command "config system global %0a set timezone [XX] %0a end %0a" 

    end

 

Note

Change [XX] with the timezone needed.

 

config switch-controller managed-switch

    edit "SWID"    <----- Switch ID.

        config custom-command

            edit 1

                set command-name "timezone"

            next

        end

    next

end

Contributors