Created on
02-12-2025
03:48 AM
Edited on
02-12-2025
03:55 AM
By
Anthony_E
Description | This article explains how to get the FortiSwitch online on FortiGate. |
Scope | FortiLink and FortiSwitch v7.0.x,v7.2.x and v7.4.x. |
Solution |
Login to the FortiSwitch that is currently offline using the serial console cable, if SSH access via the switch IP is not possible.
For the Serial console settings refer to the Quick Start guides for the respective FortiSwitches from this link: Hardware Guides
To Know the last known IP address for the FortiSwitch use the command shown below on the FortiGate:
execute dhcp lease-list <Fortilink interface name>
config switch auto-network set status enable end
Starting from the FortiSwitch v7.2.0, the auto-network will be enabled by default. To configure the FortiSwitch in standalone mode keep this option disabled.
diag switch trunk summary
FortiGate:
Config switch-controller managed-switch edit <switch serial or name> config ports edit portxx set lldp-profile default-auto-isl next end end
Fortiswitch:
config switch physical-port edit portxx set lldp-profile defualt-auto-isl next end
Make sure that the configuration between the FortiGate and FortiSwitch is consistent.
get system interface
If there is no valid IP present for the internal interface check the VLAN configurations as shown below:
config switch interface edit internal show full next edit <trunk interface> show full next end
execute interface dhcp-client-renew internal
execute time execute date
If the time and date on the Fortiswitch are different from what exists on the FortiGate, manually set the time and date as shown below:
execute time <hh:mm:ss> execute date <yyyy-mm-dd>
This step will make sure to resolve the time differences between the FortiGate and the FortiSwitch. The CAPWAP negotiation will succeed as expected. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.