FortiSwitch—MCLAG

全名: multi-chassis link aggregation group(MCLAG)。
允許兩台獨立 FortiSwitch 行為上像是一台交換器,對上層或下層設備提供單一邏輯的 LAG 介面 > 鏈路與設備雙重冗餘。

基本要求

1. 每一個MCLAG peer group最多只能由兩台fortiswitch組成。
2. 兩台交換機應使用相同的硬體型號及軟體版本。
3. 至少用兩條link來實現ICL(Inter-Chassis Link)。
4. global switch > enable mclag-stp-aware(預設啟用),且需在所有ICL(Inter-Chassis Link)上enable STP(預設啟用)。

基本配置

1. 啟用fortilink split interface
2. 
config switch-controller managed-switch
    edit <Fortiswitch-1>
        config ports
            edit <ICL port>
                set lldp-profile default-auto-mclag-icl
                end

    edit <Fortiswitch-2>
        config ports
            edit <ICL port>
                set lldp-profile default-auto-mclag-icl
                end

3. 停用fortilink split interface

驗證

1. WiFi & Switch Controller > Managed FortiSwitch > Topology
    MC-LAG Peer Group

2. 
diagnose switch-controller switch-info mclag peer-consistency-check
diagnose switch-controller switch-info stp <FSW>
diagnose switch-controller switch-info trunk config <FSW>

實機

HA狀態要先上好再做MCLAG。
線都可以先接一條,接好後會有一條fortilink沒有亮,下完指令後就會全亮。
檢查trunk link會是OK。
檢查stp狀態會是forwarding。