当前位置:文档之家› Cisco Wireless LAN Controller (WLC) 配置实例(LAG链路聚合)

Cisco Wireless LAN Controller (WLC) 配置实例(LAG链路聚合)

Cisco Wireless LAN Controller 4400 Series 与 Cisco Catalyst 6500 Series Switches 使用两个 Gigabit Ethernet 连接做链路聚合,瘦 APs 连在 Cisco Catalyst 3560 Series Switches 的 FastEthernet,3560 和 6500 通过 GigabitEthernet 连接。

Cisco Catalyst 3560 Series Switches 配置:AP连接端口默认Vlan1,上联端口switchport trunk。
interface FastEthernet0/1
description AP
!
interface FastEthernet0/2
description AP
!
interface FastEthernet0/3
description AP
!
interface GigabitEthernet0/1
description 6500
switchport trunk encapsulation dot1q
switchport mode trunk
!

Cisco Catalyst 6500 Series Switches 配置:建立无线用户Vlan2和DHCP server,建立2层链路聚合(因为WLC不支持LACP和PAgP,所以必须配置为 mode on),负载均衡设置为src-dst-ip,连接3560和WLC均为switchport 802.1q trunk。
ip dhcp excluded-address 192.168.10.0 192.168.10.10
!
ip dhcp pool wlan_user
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 202.119.32.6 202.119.32.12
!
vlan 2
name wlan_user
!
interface Vlan2
ip address 192.168.10.1 255.255.255.0
!
interface Port-channel1
description WLC Ports
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface GigabitEthernet1/1
description WLC Port 1
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 1 mode on
!
interface GigabitEthernet1/2
description WLC Port 2
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 1 mode on
!
interface GigabitEthernet1/3
description 3560
switchport
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
负载均衡只能是 src-ip 或者 src-dst-ip,推荐 src-dst-ip
设置:6500(config)#port-channel load-balance src-dst-ip
检查:6500#show etherchannel load-balance
EtherChannel Load-Balancing Configuration:
src-dst-ip
mpls label-ip

EtherChannel Load-Balancing Addresses Used Per-Protocol:
Non-IP: Source XOR Destination MAC address
IPv4: Source XOR Destination IP address
IPv6: Source XOR Destination IP address
MPLS: Label or IP
Cisco Wireless LAN Controller 4400 Series 配置:首先开启LAG,配置各个接口,建立无线用户的接口(wlan_user)放在Vlan2里,建立WLAN进行适当的配置
(Cisco Controller) >show
(Cisco Controller) show>interface summary

Interface Name Port Vlan Id IP Address Type Ap Mgr Guest
-------------- ---- -------- ------------- ------- ------ -----
ap-manager LAG untagged 192.168.1.10 Static Yes No
management LAG untagged 192.168.1.9 Static No No
service-port N/A N/A 10.0.0.1 Static No No
virtual N/A N/A 1.1.1.1 Static No No
wlan_user LAG 2 192.168.10.2 Dynamic No No

(Cisco Controller) show>interface detailed ap-manager

Interface Name................................... ap-manager
IP Address...................

.................... 192.168.1.10
IP Netmask....................................... 255.255.255.0
IP Gateway....................................... 192.168.1.1
VLAN............................................. untagged
Active Physical Port............................. LAG (29)
Primary Physical Port............................ LAG (29)
Backup Physical Port............................. Unconfigured
Primary DHCP Server.............................. Unconfigured
Secondary DHCP Server............................ Unconfigured
DHCP Option 82................................... Disabled
ACL.............................................. Unconfigured
AP Manager....................................... Yes
Guest Interface.................................. No

(Cisco Controller) show>interface detailed management

Interface Name................................... management
IP Address....................................... 192.168.1.9
IP Netmask....................................... 255.255.255.0
IP Gateway....................................... 192.168.1.1
VLAN............................................. untagged
Active Physical Port............................. LAG (29)
Primary Physical Port............................ LAG (29)
Backup Physical Port............................. Unconfigured
Primary DHCP Server.............................. Unconfigured
Secondary DHCP Server............................ Unconfigured
DHCP Option 82................................... Disabled
ACL.............................................. Unconfigured
AP Manager....................................... No
Guest Interface.................................. No

(Cisco Controller) show>interface detailed service-port

Interface Name................................... service-port
IP Address....................................... 10.0.0.1
IP Netmask....................................... 255.255.255.0
DHCP Option 82................................... Disabled
DHCP Protocol.................................... Disabled
AP Manager....................................... No
Guest Interface.................................. No

(Cisco Controller) show>interface detailed virtual

Interface Name................................... virtual
IP Address....................................... 1.1.1.1
DHCP Option 82................................... Disabled
Virtual DNS Host Name............................ Disabled
AP Manager....................................... No
Guest Interface.................................. No

(Cisco Controller) show>interface detailed wlan_user

Interface Name................................... wlan_user
IP Address....................................... 192.168.10.2
IP Netmask....................................... 255.255.255.0
IP Gateway....................................... 192.168.10.1
VLAN............................................. 2
Quarantine-vlan.................................. no
Active Physical P

ort............................. LAG (29)
Primary Physical Port............................ LAG (29)
Backup Physical Port............................. Unconfigured
Primary DHCP Server.............................. 192.168.10.1
Secondary DHCP Server............................ Unconfigured
DHCP Option 82................................... Disabled
ACL.............................................. Unconfigured
AP Manager....................................... No
Guest Interface.................................. No

Cisco Controller) show>port summary

STP Admin Phy. Physical Link Link Mcast
Pr Type Stat Mode Mode Status Status Trap Appli. POE
-- ----- ---- ------ ---- --------- ------ ------ ------ ----
1 Normal Forw Enable Auto 1000 Full Up Enable Enable N/A
2 Normal Forw Enable Auto 1000 Full Up Enable Enable N/A
3 Normal Disa Enable Auto Auto Down Enable Enable N/A
4 Normal Disa Enable Auto Auto Down Enable Enable N/A

(Cisco Controller) show>wlan 1

WLAN Identifier.................................. 1
Profile Name..................................... Wlan
Network Name (SSID).............................. Wlan
Status........................................... Enabled
Broadcast SSID................................... Enabled
Interface........................................ wlan_user
DHCP Server...................................... 192.168.10.1
DHCP Address Assignment Required................. Enabled

(Cisco Controller) show>lag summary

LAG Enabled

相关主题
文本预览
相关文档 最新文档