组建华为AC+FIT/AP二层旁挂式组网
1. 配置接入交换机
[Huawei]sy SW1
[SW1]un in en
Info: Information center is disabled.
[SW1]vlan batch 100 101 102
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW1]in e0/0/1
[SW1-Ethernet0/0/1]p l t
[SW1-Ethernet0/0/1]p t a v 101 100
[SW1-Ethernet0/0/1]port-isolate en
[SW1-Ethernet0/0/1]in e0/0/2
[SW1-Ethernet0/0/2]p l t
[SW1-Ethernet0/0/2]p t p v 100
[SW1-Ethernet0/0/2]p t a v 102 100
[SW1-Ethernet0/0/2]port-isolate en
[SW1-Ethernet0/0/2]in g0/0/1
[SW1-GigabitEthernet0/0/1]p l t
[SW1-GigabitEthernet0/0/1]p t a v 100 101 102
[SW1-GigabitEthernet0/0/1]q
2. 配置汇聚交换机
<Huawei>sy
Enter system view, return user view with Ctrl+Z.
[Huawei]v b 100 102 101
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]dhcp en
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]in g0/0/1
[Huawei-GigabitEthernet0/0/1]p l t
[Huawei-GigabitEthernet0/0/1]p t a v 100 101 102
[Huawei-GigabitEthernet0/0/1]port-isolate en
[Huawei-GigabitEthernet0/0/1]in g0/0/3
[Huawei-GigabitEthernet0/0/3]p l t
[Huawei-GigabitEthernet0/0/3]p t a v 100 101 102
[Huawei-GigabitEthernet0/0/3]in v 101
[Huawei-Vlanif101]ip ad 192.168.11.1 24
[Huawei-Vlanif101]dhcp se in
[Huawei-Vlanif101]in v 102
[Huawei-Vlanif102]ip ad 192.168.12.1 24
[Huawei-Vlanif102]dhcp se in
[Huawei-Vlanif102]q
\3. 配置AC
3.1配置AC,使AP与AC之间能够传输管理与业务报文**
<AC6605>sy
Enter system view, return user view with Ctrl+Z.
[AC6605]sy AC
[AC]v b 100 102 101
Info: This operation may take a few seconds. Please wait for a moment...done.
[AC]in g0/0/1
[AC-GigabitEthernet0/0/1]p l t
[AC-GigabitEthernet0/0/1]p t a v 100 to 102
[AC-GigabitEthernet0/0/1]q
3.2配置SW2与上层网络互通
[Huawei]in g0/0/3
[Huawei-GigabitEthernet0/0/3]p l t
[Huawei-GigabitEthernet0/0/3]p t a v 101 102
3.3配置AC作为AP的DHCP服务器
[AC]dhcp en
Info: The operation may take a few seconds. Please wait for a moment.done.
[AC]in v 100
[AC-Vlanif100]ip ad 192.168.10.1 24
[AC-Vlanif100]dhcp select in
[AC-Vlanif100]q
3.4配置AC的全局参数
[AC]wlan
[AC-wlan-view]ap-group name group-gdl01
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC-wlan-ap-group-group-gdl01]q
[AC-wlan-view]ap-group name group-gdl02
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC-wlan-ap-group-group-gdl02]q
[AC-wlan-view]regulatory-domain-profile name doamin-gdl-1
[AC-wlan-regulate-domain-doamin-gdl-1]country-code CN
Info: The current country code is same with the input country code.
[AC-wlan-regulate-domain-doamin-gdl-1]q
[AC-wlan-view]regulatory-domain-profile name domain-gdl02
[AC-wlan-regulate-domain-domain-gdl02]country-code CN
Info: The current country code is same with the input country code.
[AC-wlan-regulate-domain-domain-gdl02]q
[AC-wlan-view]ap-group name group-gdl01
[AC-wlan-ap-group-group-gdl01]regulatory-domain-profile doamin-gdl-1
Warning: Modifying the country code will clear channel, power and antenna gain c
onfigurations of the radio and reset the AP. Continue?[Y/N]:y
[AC-wlan-ap-group-group-gdl01]ap-group name group-gdl02
[AC-wlan-ap-group-group-gdl02]regulatory-domain-profile domain-gdl02
Warning: Modifying the country code will clear channel, power and antenna gain c
onfigurations of the radio and reset the AP. Continue?[Y/N]:y
[AC-wlan-ap-group-group-gdl02]q
[AC-wlan-view]in l0
[AC-LoopBack0]ip ad 10.10.10.10 32
[AC-LoopBack0]q
[AC]capwap source interface LoopBack 0
3.5配置AP并上线
[AC]wlan
[AC-wlan-view]ap auth
[AC-wlan-view]ap auth-mode mac
[AC-wlan-view]ap auth-mode mac-auth
[AC-wlan-view]dis
[AC-wlan-view]display ap-ty
[AC-wlan-view]display ap-type all
\--------------------------------------------------------------------------------
ID Type
\--------------------------------------------------------------------------------
17 AP6010SN-GN
19 AP6010DN-AGN
21 AP6310SN-GN
23 AP6510DN-AGN
25 AP6610DN-AGN
27 AP7110SN-GN
28 AP7110DN-AGN
29 AP5010SN-GN
30 AP5010DN-AGN
31 AP3010DN-AGN
33 AP6510DN-AGN-US
34 AP6610DN-AGN-US
35 AP5030DN
36 AP5130DN
37 AP7030DE
38 AP2010DN
39 AP8130DN
40 AP8030DN
41 AP9130DN
42 AP9330DN
43 AP4030DN
44 AP4130DN
45 AP3030DN
46 AP2030DN
47 AP9131DN
48 AP9132DN
49 AP5030DN-S
50 AP3010DN-V2
51 AP4030DN-E
52 AD9430DN-24
53 AD9430DN-12
54 R230D
55 R240D
56 AP6050DN
57 AP6150DN
58 AP7050DE
59 AP7050DN-E
60 AP4030TN
61 AP4050DN-E
62 AP4050DN-HD
64 AP430-E
65 R250D
66 R250D-E
68 AP1010SN
69 AP2050DN
70 AP2050DN-E
71 AP8130DN-W
73 AP2050DN-S
74 AP5030DN-C
\--------------------------------------------------------------------------------
Total: 49
[AC-wlan-view]ap-id 0 ap-mac 00E0-FCE8-60B0
[AC-wlan-ap-0]ap-id 1 ap-mac 00E0-FC14-4CE0
[AC-wlan-ap-1]ap-id 0
[AC-wlan-ap-0]ap-name ap1
[AC-wlan-ap-0]ap-group group-gdl01
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC-wlan-ap-0]q
[AC-wlan-view]ap-id 1
[AC-wlan-ap-1]ap-name ap2
[AC-wlan-ap-1]ap-group group-gdl02
Warning: This operation may cause AP reset. If the country code changes, it will
clear channel, power and antenna gain configurations of the radio, Whether to c
ontinue? [Y/N]:y
Info: This operation may take a few seconds. Please wait for a moment… done.
3.6查看AP状态
3.7配置WLAN业务参数
[AC-wlan-view]serial-profile name huawei-ap1
[AC-wlan-serial-prof-huawei-ap1]q
[AC-wlan-view]security-profile name huawei-ap2
[AC-wlan-sec-prof-huawei-ap2]q
[AC-wlan-view]traffic-profile name huawei-ap1
[AC-wlan-traffic-prof-huawei-ap1]q
[AC-wlan-view]traffic-profile NAME HUAWEI-ap2
[AC-wlan-traffic-prof-HUAWEI-ap2]q
[AC-wlan-view]ssid-profile name huawei-gdl01
[AC-wlan-ssid-prof-huawei-gdl01]ssid wlan-gdl01
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-ssid-prof-huawei-gdl01]q
[AC-wlan-view]ssid-profile name huawei-gdl02
[AC-wlan-ssid-prof-huawei-gdl02]ssid wlan-gdl02
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-ssid-prof-huawei-gdl02]q
[AC-wlan-view]vap-profile name vap-gdl01
[AC-wlan-vap-prof-vap-gdl01]forward-mode direct-forward
[AC-wlan-vap-prof-vap-gdl01]service-vlan vlan-id 101
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-vap-prof-vap-gdl01]security-profile huawei-ap1
Error: The security profile does not exist.
[AC-wlan-vap-prof-vap-gdl01]q
[AC-wlan-view]security-profile name huawei-ap1\
[AC-wlan-sec-prof-huawei-ap1\]security-profile name huawei-ap1
[AC-wlan-sec-prof-huawei-ap1]q
[AC-wlan-view]vap-profile name vap-gdl01
[AC-wlan-vap-prof-vap-gdl01]security-profile huawei-ap1
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-vap-prof-vap-gdl01]traffic-profile huawei-ap1
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-vap-prof-vap-gdl01]ssid-profile huawei-gdl01
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-vap-prof-vap-gdl01]q
[AC-wlan-view]vap-profile name vap-gdl02
[AC-wlan-vap-prof-vap-gdl02]forward-mode direct-forward
[AC-wlan-vap-prof-vap-gdl02]service-vlan vlan-id 102
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-vap-prof-vap-gdl02]traffic-profile huawei-ap2
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-vap-prof-vap-gdl02]security-profile huawei-ap2
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-vap-prof-vap-gdl02]ssid-profile huawei-gdl02
Info: This operation may take a few seconds, please wait.done.
[AC-wlan-vap-prof-vap-gdl02]q
[AC-wlan-ap-group-group-gdl01]vap-profile vap-gdl01 wlan 1 radio all
Info: This operation may take a few seconds, please wait...done.
[AC-wlan-ap-group-group-gdl01]q
[AC-wlan-view]ap-group name group-gdl02
[AC-wlan-ap-group-group-gdl02]vap-profile vap-gdl02 wlan 1 radio all
Info: This operation may take a few seconds, please wait...done.
[AC-wlan-ap-group-group-gdl02]