Technical Tip: HA-mode FortiGate units using hardware-switch interfaces and STP
| Description | This article describes how to configure manage FortiSwitches using hardware-switch interfaces and STP. |
| Scope | FortiGate and Managed FortiSwitch 7.0.4 version and above |
| Solution | Related document: HA-mode FortiGate units using hardware-switch interfaces and STP
In the example below, FortiGate is in v7.0.5, and FortiSwitches are in v7.0.3:
FortiGate configuration:
FortiWiFi-60E # show system interface fortilink end
config system stp
To get this desired behaviour, configure the FortiGate to be the CIST. For this, FortiGate should be the lowest priority, and each switch should be in a different region. So, it is necessary to move a switch to another region by setting the revision. Then FortiGate should become the CIST root, and the link between the switch is blocked.
config switch-controller managed-switch FortiWiFi-60E (managed-switch) edit <switch serial#> config stp-settings
On both FortiSwitches, make sure STP is enabled on the trunk interfaces connected to FortiGate. For example:
FortiSwitch# config switch interface FortiSwitch# edit <FortiGate trunk name> FortiSwitch# set stp-state enable FortiSwitch# end
FortiWiFi-60E # get system stp list bridge 'fortilink' prio 4096 mac 90:6C:AC:AA:C6:64 vd 'root'
S124E # diagnose stp instance list MST Instance Information, primary-Channel: Instance ID 0 (CST) Root MAC 906cacaac664, Priority 4096, Path Cost 1, Remaining Hops 20 Regional Root MAC e81cba49213e, Priority 24576, Path Cost 0, Root Port 906CACAAC662-0 Active Times Forward Time 15, Max Age 20, Remaining Hops 20 TCN Events Triggered 24 (0d 0h 22m 32s ago), Received 51 (0d 0h 54m 52s ago) Port Speed Cost Priority Role State HelloTime Flags
S108F# diagnose stp instance list MST Instance Information, primary-Channel: Instance ID 0 (CST) Root MAC 906cacaac664, Priority 4096, Path Cost 1, Remaining Hops 20 Regional Root MAC d476a0b82944, Priority 24576, Path Cost 0, Root Port 906CACAAC662-0 Active Times Forward Time 15, Max Age 20, Remaining Hops 20 TCN Events Triggered 16 (0d 0h 55m 36s ago), Received 59 (0d 0h 23m 11s ago) Port Speed Cost Priority Role State HelloTime Flags
|

