Troubleshooting Tip: FortiSwitch showing offline after the upgrade
| Description | This article describes the reason the FortiSwitch shows offline due to an NTP issue noticed after the upgrade. |
| Scope | FortiGate, FortiSwitch with v7.6.0 or v7.4.0 and above. |
| Solution | Issue: It is noticed when FortiSwitch in FortiLink mode is upgraded, or possibly also noticed after reboot.
Behavior during the issue:
Reason: The FortiSwitch time is not in sync with the current time. NTP is not reachable.
Observation:
show system ntp
config system ntp
diagnose sniffer packet any "port 123"
diagnose debug flow filter addr <ntp-server-Ip-address>
If it is not possible to see the FortiSwitch on the FortiGate, try to manually add the serial numbers under WiFi & Switch Controller -> Managed Switch -> Create New -> FortiSwitch.
Solution:
config firewall policy
Note: A more granular policy can be created to allow specific traffic.
In the CLI:
config system ntp set server-mode enable
In the GUI: Navigate to System -> Settings:
The option is available under the FortiLink interface -> Advanced -> NTP server.
The screenshot below is provided from the FortiLink interface (FortiGate).
Note: It is necessary to reboot the FortiSwitch after the NTP config changes.
From CLI, this config is available under the DHCP server:
show full system dhcp server edit 15
When users upgrade the FortiGate firmware to v7.6.1 or above and observe that a FortiSwitch goes offline, it is necessary to check the settings on the FortiLink-enabled interface because the default FortiSwitch discovery method changes. To resolve the issue, enable 'lldp-reception' and 'lldp-transmission' to bring the FortiSwitches online. This is a FortiLink known issue (ID 1113304).
config system interface
To check the line rate on a FortiSwitch, in the FortiSwitch CLI, the command below can be used.
diagnose switch physical-ports linerate
This command displays the transmit (TX) and receive (RX) packet and rate information for each port, making it possible to monitor traffic flow and identify potential issues like high traffic volume or broadcast storms.
Related articles: Troubleshooting Tip: FortiSwitch Connection to FortiGate Troubleshooting Tip: Fix FortiSwitch showing with the 'Offline' status |

