FortiSwitch Configuration:
FSW#config switch trunk
edit "FortiAP" set mode lacp-active set members "port7" "port8" next
edit "FAPU" set mode lacp-active set members "port21" "port22" end
Debugging commands on FortiAP:
FortiAP-231F # pbond .
Bonding Mode: IEEE 802.3ad Dynamic link aggregation Transmit Hash Policy: layer3+4 (1) MII Status: up .
802.3ad info LACP rate: slow . Aggregator selection policy (ad_select): stable . Number of ports: 2
Slave Interface: eth0 MII Status: up Speed: 1000 Mbps Duplex: full .
.
Slave Interface: eth1 MII Status: up Speed: 1000 Mbps Duplex: full
FortiAP-231F # wcfg
lan1 : carrier=1, speed=1000, duplex=full lan2 : carrier=1, speed=1000, duplex=full
FortiAP-231F # cfg -s
WANLAN_MODE:=AGGREGATE
FortiAP-231F # lldpctl
LLDP neighbors: ------------------------------------------------------------------------------- Interface: eth0, via: LLDP, RID: 1, Time: 0 day, 00:35:26 Chassis: ChassisID: mac 38:c0:ea SysName: S648FFT SysDescr: FortiSwitch-648F-FPOE v7.2.7,build6101,240304 (GA) MgmtIP: 10.255.1.2 PortID: ifname port7 Port is aggregated. PortAggregID: 2
Interface: eth1, via: LLDP, RID: 1, Time: 0 day, 00:35:35 Chassis: ChassisID: mac 38:c0:ea SysName: S648FF SysDescr: FortiSwitch-648F-FPOE v7.2.7,build6101,240304 (GA) MgmtIP: 10.255.1.2 PortID: ifname port8 Port is aggregated. PortAggregID: 2
Debugging commands on FortiAP-U model:
FortiAP-U231F# ifconfig
bond0 Link encap:Ethernet HWaddr 00:0C:E6: inet6 addr: fe80::20c:e6ff:fed5:ee62/64 Scope:Link UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1 RX packets:1742 errors:0 dropped:868 overruns:0 frame:0 TX packets:2755 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1122456 (1.0 MiB) TX bytes:2600047 (2.4 MiB)
FortiAP-U231F# cat /proc/net/bonding/bond0
Bonding Mode: IEEE 802.3ad Dynamic link aggregation Transmit Hash Policy: layer2 (0) MII Status: up
802.3ad info LACP rate: slow
Slave Interface: eth0 MII Status: up Speed: 1000 Mbps Duplex: full
Slave Interface: eth1 MII Status: up Speed: 1000 Mbps Duplex: full
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 port8 up 8100 1 full 1G ,TL, none
port21 up 8100 1 full 1G ,TL, none port22 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 Mode: lacp-active
Active Port Up Time ___________ _________________________
port7 0 days,0 hours,33 mins,38 secs port8 0 days,0 hours,33 mins,38 secs
Trunk Name: FAPU Mode: lacp-active Active Port Up Time ___________ _________________________
port21 0 days,0 hours,20 mins,40 secs port22 0 days,0 hours,3 mins,14 secs
|