Troubleshooting Tip: LACP between FortiAP and FortiSwitch
| Description | This article describes how to configure LACP between FortiAP and FortiSwitch. |
| Scope | FortiSwitch, FortiAP v7.x and above |
| Solution |
FortiSwitch Configuration:
FSW#config switch trunk edit "FortiAP" set mclag enable <----- If AP is connected to dual-homed MCLAG switches, if not, ignore. edit "FAPU" set mclag enable <----- If AP is connected to dual-homed MCLAG switches, if not, ignore.
Debugging commands on FortiAP:
FortiAP-231F # pbond Bonding Mode: IEEE 802.3ad Dynamic link aggregation 802.3ad info Slave Interface: eth0 . Slave Interface: eth1
FortiAP-231F # wcfg lan1 : carrier=1, speed=1000, duplex=full
FortiAP-231F # cfg -s WANLAN_MODE:=AGGREGATE
FortiAP-231F # lldpctl LLDP neighbors:
Interface: eth1, via: LLDP, RID: 1, Time: 0 day, 00:35:35
Debugging commands on FortiAP-U model:
FortiAP-U231F# ifconfig
Debugging commands on FortiSwitch:
FortiSwitch# diagnose switch physical-ports summary
Portname Status Tpid Vlan Duplex Speed Flags Discard port7 up 8100 1 full 1G ,TL, none port21 up 8100 1 full 1G ,TL, none
FortiSwitch# diagnose switch trunk summary Trunk Name Mode PSC MAC Status Up Time FortiAP lacp-active src-dst-ip 38:C0:EA:xx:xx:xx up(2/2) 0 days,0 hours,32 mins,55 secs
FAPU lacp-active src-dst-ip 38:C0:EA:xx:xx:xx up(2/2) 0 days,0 hours,19 mins,30 secs
FortiSwitch# diagnose switch trunk list
Trunk Name: FortiAP Active Port Up Time port7 0 days,0 hours,33 mins,38 secs
Trunk Name: FAPU port21 0 days,0 hours,20 mins,40 secs |

