WLC配置LAG


在一般的網絡環境中,為了讓網絡更加的可靠,冗余性更好,會對WLC和對端的設備配置LAG.

如下是一個基本的示例topo(VSS的情況下建議的連接方式):

一般情況下的連接方式:

 

一般來說配置比較簡單,但是某些注意事項,需要在操作之前心里有數。這里主要記錄一下這些需要注意的地方。

1、注意事項:

-你可以將5508的八個分布式端口捆綁到一個單一Port-channel鏈路。
-LAG需要EtherChannel被配置為“mode on”(在WLC和Catalyst交換機都需要這么做)。
-交換機不能配置LACP或者PAgP協議,應該配置為mode on,因為WLC不支持LACP和PAgP
-不能將WLC的端口分別配置到不同的LAG Groups。每個WLC只支持一個LAG Group,所以,你也只能將LAG模式的WLC連接到一個鄰居設備。
-當你開啟了LAG或者對LAG做了什么配置變動的話,你必須立即重啟WLC
-當你開啟LAG時,你只可以配置一個AP-manager interface,因為只需要一個邏輯端口。
-當你開啟LAG,所有的動態接口和未打標簽(untagged)的接口會被刪除,並且所有的WLAN被disable並且映射到management接口。因此,management,static AP-manager和VLAN-tagged dynamic interfaces都移動到了LAG端口。
-多個untagged接口到同一個端口時不允許的
-當你開啟LAG,你不能創建超過29個接口。
-啟用LAG后,AP將保持與控制器的連接,並且用戶的數據服務將繼續不間斷,直到您重新啟動WLC,這是激活LAG模式更改所需的。
-啟用LAG后,無需為每個接口配置主備端口。
-當禁用LAG后,management,static AP-manager和dynamic interfaces會移動到port 1上。
-當禁用LAG后,你必須配置每個接口的主備端口。
-當你在AP直接連接協商的WLC2504上開啟LAG時,直連的AP會斷開,因為LAG仍然處於一個過渡期,所以開啟LAG后必須要重啟WLC。
-在WLC8500上,當超過1000個AP加入WLC發生flapping時,為了避免這種情況,不要單獨在一個Catalyst switch上添加CAPWAP ipv6的AP超過1000個。

 

2、配置

①WLC上(GUI / CLI)

GUI:

Step 1   Choose Controller > General to open the General page.
Step 2   Set the LAG Mode on Next Reboot parameter to Enabled.
Step 3   Save the configuration.
Step 4   Reboot Cisco WLC.
Step 5  

Assign the WLAN to the appropriate VLAN.

CLI:

Step 1   Enter the config lag enable command to enable LAG.
Note   

Enter the config lag disable command if you want to disable LAG.

Step 2   Enter the save config command to save your settings.
Step 3   Reboot Cisco WLC.

②配置交換機

Configuring Neighbor Devices to Support Link Aggregation

The controller’s neighbor devices must also be properly configured to support LAG.

  • Each neighbor port to which the controller is connected should be configured as follows:

     

    
    interface GigabitEthernet <interface id>
    	switchport
    	channel-group <id> mode on
    	no shutdown
    
  • The port channel on the neighbor switch should be configured as follows:

     

    
    interface port-channel <id>
    	switchport
    	switchport trunk encapsulation dot1q
    	switchport trunk native vlan <native vlan id>
    	switchport trunk allowed vlan <allowed vlans>
    	switchport mode trunk
    	no shutdown

參考文檔:

https://www.cisco.com/c/en/us/td/docs/wireless/controller/8-2/config-guide/b_cg82/b_cg82_chapter_010101011.html

https://community.cisco.com/t5/wireless-mobility-documents/lag-link-aggregation/ta-p/3128669/page/2


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM