华为acap无线配置方法(华为fitap配置)
导语:「神马课堂」华为AC+Fit AP无线局域网配置实验
一、实验拓扑
二、实验目的
通过配置使AC能够通过AP给无线终端分配IP地址。本实验中的管理VLAN为101,主要用来实现AC与AP之间的通信;业务VLAN为201,主要负责传输WLAN用户(移动终端)上网时的数据,它是WLAN用户接入后用户所在的VLAN。
三、实验配置
1.实现AC与AP通信,使AC能够纳管AP
AC1:
<AC6005>system-view
[AC6005]vlan batch 101 201
[AC6005]interface g0/0/1
[AC6005]inter g0/0/1
[AC6005-GigabitEthernet0/0/1]port link-type trunk
[AC6005-GigabitEthernet0/0/1]port trunk allow-pass vlan 101 201
[AC6005-GigabitEthernet0/0/1] quit
在AC上配置DHCP服务器,使为192.168.101.0网段分配IP地址
[AC6005]dhcp enable
[AC6005]interface vlanif 101
[AC6005-Vlanif101]ip address 192.168.101.1 24
[AC6005-Vlanif101]dhcp select interface
LSW1:
<Huawei>system-view
[Huawei]sysname SW1
[SW1]vlan bach 101 201
[SW1]interface g0/0/1
[SW1-GigabitEthernet0/0/1]port link-type trunk
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 101 201
[SW1-GigabitEthernet0/0/1]interface g0/0/2
[SW1-GigabitEthernet0/0/2]port link-type trunk
[SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 101 201
LSW2:
<Huawei>system-view
[Huawei]sysname SW2
[SW2]vlan bach 101 201
[SW2]interface g0/0/2
[SW2-GigabitEthernet0/0/2]port link-type trunk
[SW2-GigabitEthernet0/0/2]port trunk allow-pass vlan 101 201
[SW2-GigabitEthernet0/0/2]interface e0/0/1
[SW2-GigabitEthernet0/0/1]port link-type trunk
[SW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 101 201
[SW2-GigabitEthernet0/0/1]port trunk pvid 101
[SW2-GigabitEthernet0/0/1]interface e0/0/2
[SW2-GigabitEthernet0/0/2]port link-type trunk
[SW2-GigabitEthernet0/0/2]port trunk allow-pass vlan 101 201
[SW2-GigabitEthernet0/0/2]port trunk pvid 101
阶段性验证:
在AP1和AP2上ping 192.168.101.1,能够通信。
2.配置AC,使其能够发射无线信号
AC1:
在AC上配置DHCP服务器,使为192.168.201.0网段分配IP地址
[AC6005]dhcp enable
[AC6005]interface vlanif 201
[AC6005-Vlanif201]ip addresss 192.168.201.1 24
[AC6005-Vlanif201]dhcp select interface
[AC6005-Vlanif201]quit
[AC6005]capwap source interface vlanif 101
查看capwap的配置情况
[AC6005]wlan
创建域管理模板,名称为“default”
[AC6005-wlan-regulate-domain-default]country-code CN
创建AP组,名称为ap-group1
[AC6005-wlan-ap-group-ap-group1]regulatory-domain-profile default
配置AC对AP的认证模式为MAC地址认证
[AC6005-wlan-view]ap-id 0 ap-mac 00E0-FC9B-31F0
配置AP1的名称为“huawei01”
[AC6005-wlan-ap-0]ap-group ap-group1
配置AP2的名称为“huawei02”
[AC6005-wlan-ap-1]ap-group ap-group1
创建名为“huawei”的SSID模板
[AC6005-wlan-ssid-prof-huawei]ssid myhome
创建名为”huawei”的安全模板
[AC6005-wlan-sec-prof-huawei] security wpa-wpa2 psk pass-phrase huawei123 aes
创建名为“huawei”的VAP模板
[AC6005-wlan-vap-prof-huawei]ssid-profile huawei
应用前面创建的安全模板
[AC6005-wlan-vap-prof-huawei]service-vlan vlan-id 201
配置用户业务转发模式为直接转发
[AC6005-wlan-vap-prof-huawei]quit
[AC6005-wlan-view]ap-group name ap-group1
在AP组中应用vap模板
四、实验结果验证
设置Cellponhe与STA连接到AP,结果如下图所示
Cellphone1:
Cellphone2:
STA1:
STA2:
本文内容由小涵整理编辑!