您好,请知:
以下是配置案例,请参考:
如图1所示,AP通过Switch与AC 1和AC 2连接,具体要求如下:
· 使用双链路备份对AC进行备份,AC 1工作在主用状态,AC 2工作在备用状态,当AC 1发生故障或主备AC切换时,AP可以通过AC 2进行通信,当AC 1恢复工作后,AP重新关联到AC 1;
· 配置AP license共享功能,使两台设备可以互相共享AP License,在其中一台AC出现故障后另一台AC可以继续使用共享的AP License;
本需求以集中转发模式为例,双链路组网同样适用于本地转发模式。
图1 双链路备份和AP license共享组网图
· 双链路备份组网下,AC的设备型号和软件版本需要保持一致。
· 配置AP的序列号时请确保该序列号与AP唯一对应。
· 若选择手工AP方式建立CAPWAP隧道连接,则要求两台AC上配置的AP名称相同且都配置序列号或都配置MAC地址。
· 在配置业务之前请先在AC上安装License,在双链路组网下,基于配置方便的考虑,建议仅在主AC上安装License,备AC不安装License,备AC进行AP License共享保证主AC故障时License仍然可用。
· 为保证AP license共享功能开启成功,必须先配置本AC的IP地址和成员AC的IP之后再开启AP license共享功能。
· 在双链路组网中,两台AC在AP license共享组的角色均需要配置为主AC。
· 在双链路备份和AP license共享组网中,当一台AC断开的时间超过30天,其共享的AP License在另一台AC上将失效,新接入的AP无法使用共享的AP license,已接入的AP不会被踢下线。
(1) 安装License
# 配置AC 1安装License,配置步骤略。
(2) 配置AC1的接口
# 创建VLAN 100及其对应的VLAN接口,并配置Vlan-interface100接口的IP地址为10.1.1.1/16,AP将通过该IP地址与AC 1建立CAPWAP隧道。
<AC1> system-view
[AC1] vlan 100
[AC1-vlan100] quit
[AC1] interface vlan-interface 100
[AC1-Vlan-interface100] ip address 10.1.1.1 16
[AC1-Vlan-interface100] quit
# 将与Switch相连的接口GigabitEthernet1/0/1的链路类型配置为Trunk,放通所有VLAN通过。
[AC1] interface gigabitethernet 1/0/1
[AC1-GigabitEthernet1/0/1] port link-type trunk
[AC1-GigabitEthernet1/0/1] port trunk permit vlan all
[AC1-GigabitEthernet1/0/1] quit
(3) 配置双链路备份功能
# 创建AP组group1并配置AP连接的优先级为7。
[AC1] wlan ap-group group1
[AC1-wlan-ap-group-group1] priority 7
# 配置备AC IP地址为10.1.1.2。
[AC1-wlan-ap-group-group1] backup-ac ip 10.1.1.2
# 配置CAPWAP隧道抢占功能,当AC故障恢复后AP可以重新关联到主AC。
[AC1-wlan-ap-group-group1] wlan tunnel-preempt enable
# 配置AP名称入组规则。
[AC1-wlan-ap-group-group1] ap ap1
[AC1-wlan-ap-group-group1] quit
(4) 配置AP license共享功能
# 配置AP license共享功能。
[AC1] wlan ap-license-group
[AC1-wlan-als-group] local ip 10.1.1.1
[AC1-wlan-als-group] member ip 10.1.1.2
[AC1-wlan-als-group] ap-license-synchronization enable
[AC1-wlan-als-group] quit
(5) 配置手工AP
# 创建AP,配置AP名称为ap1,型号名称选择WA6320,并配置序列号为219801A28N819CE0002T。
[AC1] wlan ap ap1 model WA6320
[AC1-wlan-ap-ap1] serial-id 219801A28N819CE0002T
(1) 安装License
(可选)# 配置AC 2安装License,配置步骤略。
(2) 配置AC2的接口
# 创建VLAN 100及其对应的VLAN接口,并配置Vlan-interface100接口的IP地址为10.1.1.2/16,AP将通过该IP地址与AC 2建立CAPWAP隧道。
<AC2> system-view
[AC2] vlan 100
[AC2-vlan100] quit
[AC2] interface Vlan-interface 100
[AC2-Vlan-interface100] ip address 10.1.1.2 16
[AC2-Vlan-interface100] quit
# 将与Switch相连的接口GigabitEthernet1/0/1的链路类型配置为Trunk,放通所有VLAN通过。
[AC2] interface gigabitethernet 1/0/1
[AC2-GigabitEthernet1/0/1] port link-type trunk
[AC2-GigabitEthernet1/0/1] port trunk permit vlan all
[AC2-GigabitEthernet1/0/1] quit
(3) 配置双链路备份功能
# 创建AP组group1并配置备AC IP地址为10.1.1.1,AP连接的优先级无需配置,保持缺省配置即可。
[AC2] wlan ap-group group1
[AC2-wlan-ap-group-group1] backup-ac ip 10.1.1.1
# 配置AP名称入组规则。
[AC2-wlan-ap-group-group1] ap ap1
[AC2-wlan-ap-group-group1] quit
(4) 配置AP license共享功能
# 配置AP license共享功能。
[AC2] wlan ap-license-group
[AC2-wlan-als-group] local ip 10.1.1.2
[AC2-wlan-als-group] member ip 10.1.1.1
[AC2-wlan-als-group] ap-license-synchronization enable
[AC2-wlan-als-group] quit
(5) 配置手工AP
# 创建AP,配置AP名称为ap1,型号名称选择WA6320,并配置序列号为219801A28N819CE0002T。
[AC2] wlan ap ap1 model WA6320
[AC2-wlan-ap-ap1] serial-id 219801A28N819CE0002T
(1) 配置Switch接口
# 创建VLAN 100,用于转发AC和AP间CAPWAP隧道内的流量。
<Switch> system-view
[Switch] vlan 100
[Switch-vlan100] quit
# 配置VLAN 100接口的IP地址为10.1.1.3/16。
[Switch] interface vlan-interface 100
[Switch-Vlan-interface100] ip address 10.1.1.3 16
[Switch-Vlan-interface100] quit
# 配置Switch与AC 1相连的GigabitEthernet1/0/1接口的属性为Trunk,允许所有VLAN通过。
[Switch] interface gigabitethernet 1/0/1
[Switch-GigabitEthernet1/0/1] port link-type trunk
[Switch-GigabitEthernet1/0/1] port trunk permit vlan all
[Switch-GigabitEthernet1/0/1] quit
# 配置Switch与AC 2相连的GigabitEthernet1/0/2接口属性为Trunk,允许所有VLAN通过。
[Switch] interface gigabitethernet 1/0/2
[Switch-GigabitEthernet1/0/2] port link-type trunk
[Switch-GigabitEthernet1/0/2] port trunk permit vlan all
[Switch-GigabitEthernet1/0/2] quit
# 配置Switch与AP相连的GigabitEthernet1/0/3接口属性为Access,并允许VLAN 100通过。
[Switch] interface gigabitethernet 1/0/3
[Switch-GigabitEthernet1/0/3] port link-type access
[Switch-GigabitEthernet1/0/3] port access vlan 100
# 开启PoE接口远程供电功能。
[Switch-GigabitEthernet1/0/3] poe enable
[Switch-GigabitEthernet1/0/3] quit
(2) 配置DHCP功能
# 配置DHCP地址池100,用于为AP分配IP地址。
[Switch] dhcp server ip-pool 100
[Switch-dhcp-pool-100] network 10.1.0.0 mask 255.255.0.0
[Switch-dhcp-pool-100] quit
# 开启DHCP server服务。
[Switch] dhcp enable
(1) 在AC 1上通过display wlan ap-license-group命令查看AP license共享组已经建立,AP license共享组内的License总数为AC 1和AC 2安装的License总和。
<AC1> display wlan ap-license-group
Group total licenses: 256
Group used licenses: 1
AP license synchronization: Enabled
Local IP: 10.1.1.1
Local role: Master
Member information: 1
IP address Total Used Member role State Online duration
10.1.1.2 0 0 Master UP 00hr 1min 51sec
(2) 通过display wlan ap all命令在AC 1查看AP的状态为R/M。
<AC1> display wlan ap all
Total number of APs: 1
Total number of connected APs: 1
Total number of connected manual APs: 1
Total number of connected auto APs: 0
Total number of connected common APs: 1
Total number of connected WTUs: 0
Total number of inside APs: 0
Maximum supported APs: 384
Remaining APs: 383
Total AP licenses: 256
Local AP licenses: 256
Server AP licenses: 0
Remaining local AP licenses: 255
Sync AP licenses: 0
AP information
State : I = Idle, J = Join, JA = JoinAck, IL = ImageLoad
C = Config, DC = DataCheck, R = Run, M = Master, B = Backup
AP name APID State Model Serial ID
ap1 1 R/M WA6320 219801A28N819CE0002T
(3) 通过display wlan ap all命令在AC 2查看AP的状态为R/B,共享AP License数量为256。.
<AC2> display wlan ap all
Total number of APs: 1
Total number of connected APs: 1
Total number of connected manual APs: 1
Total number of connected auto APs: 0
Total number of connected common APs: 1
Total number of connected WTUs: 0
Total number of inside APs: 0
Maximum supported APs: 384
Remaining APs: 383
Total AP licenses: 256
Local AP licenses: 256
Server AP licenses: 0
Remaining local AP licenses: 256
Sync AP licenses: 256
AP information
State : I = Idle, J = Join, JA = JoinAck, IL = ImageLoad
C = Config, DC = DataCheck, R = Run, M = Master, B = Backup
AP name APID State Model Serial ID
ap1 1 R/B WA6320 219801A28N819CE0002T
(4) 模拟AC 1故障,将AC 1的Vlan-interface100接口关闭,等待一段时间(根据CAPWAP隧道保活时间而定,默认为30秒,集中转发模式时,期间流量会中断),AP会切换至AC 2上线,在AC 2上通过display wlan ap all命令查看AP的状态为R/M。
<AC2> display wlan ap all
Total number of APs: 1
Total number of connected APs: 1
Total number of connected manual APs: 1
Total number of connected auto APs: 0
Total number of connected common APs: 1
Total number of connected WTUs: 0
Total number of inside APs: 0
Maximum supported APs: 384
Remaining APs: 383
Total AP licenses: 256
Local AP licenses: 256
Server AP licenses: 0
Remaining local AP licenses: 255
Sync AP licenses: 256
AP information
State : I = Idle, J = Join, JA = JoinAck, IL = ImageLoad
C = Config, DC = DataCheck, R = Run, M = Master, B = Backup
AP name APID State Model Serial ID
ap1 1 R/M WA6320 219801A28N819CE0002T
(5) 模拟AC 1故障恢复,开启AC 1的Vlan-interface100接口,由于配置了CAPWAP隧道抢占功能,等待一段时间后,AP会重新在AC 1上线,通过display wlan ap all命令在AC 1上查看AP的状态恢复为R/M,在AC 2 上查看AP的状态恢复为R/B。
· AC1
#
vlan 100
#
interface Vlan-interface100
ip address 10.1.1.1 255.255.0.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
#
wlan ap-group group1
priority 7
wlan tunnel-preempt enable
backup-ac ip 10.1.1.2
ap ap1
#
wlan ap ap1 model WA6320
serial-id 219801A28N819CE0002T
#
wlan ap-license-group
local ip 10.1.1.1
member ip 10.1.1.2
ap-license-synchronization enable
#
· AC2
#
vlan 100
#
interface Vlan-interface100
ip address 10.1.1.2 255.255.0.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
#
wlan ap-group group1
backup-ac ip 10.1.1.1
ap ap1
#
wlan ap ap1 model WA6320
serial-id 219801A28N819CE0002T
#
wlan ap-license-group
local ip 10.1.1.2
member ip 10.1.1.1
ap-license-synchronization enable
#
· Switch
#
dhcp enable
#
vlan 100
#
dhcp server ip-pool 100
network 10.1.0.0 mask 255.255.0.0
#
interface Vlan-interface100
ip address 10.1.1.3 255.255.0.0
#
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk permit vlan all
#
interface GigabitEthernet1/0/3
port link-type access
port access vlan 100
poe enable
#
· 《H3C无线控制器产品 配置指导》中的“AP管理配置指导”。
· 《H3C无线控制器产品 命令参考》中的“AP管理命令参考”。
· 《H3C 无线控制器产品 配置指导》中的“WLAN高可靠性配置指导”。
· 《H3C 无线控制器产品 命令参考》中的“WLAN高可靠性命令参考”。
· 《H3C 无线控制器产品 配置指导》中的“AP license共享配置指导”。
· 《H3C 无线控制器产品 命令参考》中的“AP license共享命令参考”。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论