华为设备!超详细的无线WIFI全覆盖技术讲解,命令行配置与思路实验拓扑图!!!

华为设备!超详细的无线WIFI全覆盖技术讲解,命令行配置与思路实验拓扑图!!!_第1张图片

*WLAN概述
1、WLAN在距离有限区域内实现无线通信,通常指采用无线传输介质的计算机局域网,使用IEEE802.11系列协议的WLAN也称之为WI-FI
2、优点:移动性、灵活性、可伸缩性、经济性
局限:可靠性、带宽与系统容量、兼容性与共存性、覆盖范围、干扰、安全性、移动性

*基础配置:

LSW1配置:
[SW1]vlan batch 10 20 --------------------------创建VLAN
[SW1-GigabitEthernet0/0/2]port link-type trunk -------------------接口设为trunk模式
[SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan all -----------------允许所有流量通过
[SW1-GigabitEthernet0/0/2]port trunk pvid vlan 10 ------------------------接口pvid为VLAN10
[SW1-GigabitEthernet0/0/3]port link-type trunk
[SW1-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[SW1-GigabitEthernet0/0/3]port trunk pvid vlan 10
[SW1-GigabitEthernet0/0/4]port link-type trunk
[SW1-GigabitEthernet0/0/4]port trunk allow-pass vlan all
[SW1-GigabitEthernet0/0/4]port trunk pvid vlan 10
[SW1-GigabitEthernet0/0/1]port link-type trunk
[SW1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[SW1-GigabitEthernet0/0/1]port trunk pvid vlan 20

AC1配置:

[AC6005]vlan batch 10 20 -------------------------------创建VLAN
[AC6005]dhcp enable ----------------------开启DHCP服务
[AC6005-ip-pool-1]network 192.168.10.0 mask 24 -------------------------创建DHCP地址池1
[AC6005-ip-pool-1]gateway-list 192.168.10.254
[AC6005-ip-pool-2]network 192.168.20.0 mask 24 -------------------------创建DHCP地址池2
[AC6005-ip-pool-2]gateway-list 192.168.20.254
[AC6005-GigabitEthernet0/0/1]port link-type trunk -------------------接口设为trunk模式
[AC6005-GigabitEthernet0/0/1]port trunk allow-pass vlan all -----------------允许所有流量通过
[AC6005-GigabitEthernet0/0/1]port trunk pvid vlan 20 ------------------------接口pvid为VLAN20
[AC6005-Vlanif10]ip address 192.168.10.254 24 ---------------------为虚拟接口配置IP地址
[AC6005-Vlanif10]dhcp select global ------------------------------启动DHCP全局模式
[AC6005-Vlanif20]ip address 192.168.20.254 24
[AC6005-Vlanif20]dhcp select globa
l
[AC6005]capwap source interface Vlanif 20 -----------------------------------指定CAPWAP协议的源IP地址
[AC6005-wlan-view]regulatory-domain-profile name ABC -----------------配置域模板,指定国家代码
[AC6005-wlan-regulate-domain-ABC]country-code CN
[AC6005-wlan-view]ap-group name APS -------------------------创建一个 ap 组,组名为 APS
[AC6005-wlan-ap-group-APS]regulatory-domain-profile ABC --------------------关联指定的域模板
[AC6005-wlan-view]AP auth-mode mac-auth -----------------------------AP上线的认证方式,基于MAC地址进行自注册
[AC6005-wlan-view]ap-id 0 ap-mac 00e0-fcc9-6460 -----------------------指定一个AP的MAC地址
[AC6005-wlan-ap-0]ap-name TEDU -------------------------为 AP 取一个名字,便于AC内部管理
[AC6005-wlan-ap-0]ap-group APS --------------------------将AP加入到特定的 ap-group
[AC6005-wlan-ap-0]ap-id 1 ap-mac 00e0-fcc2-6510
[AC6005-wlan-ap-1]ap-name ZZY
[AC6005-wlan-ap-1]ap-group APS
[AC6005-wlan-ap-1]ap-id 2 ap-mac 00e0-fcf8-2fd0
[AC6005-wlan-ap-2]ap-name NANJO
[AC6005-wlan-ap-2]ap-group APS

*业务参数配置:

[AC6005-wlan-view]security-profile name A ---------------------------配置加密配置文件,为AP配置密码
[AC6005-wlan-sec-prof-A]security wpa2 psk pass-phrase 123456789 aes -----------------密码为123456789
[AC6005-wlan-view]ssid-profile name B ------------------------配置SSID配置文件,为AP的WiFi信号取名字
[AC6005-wlan-ssid-prof-B]ssid TEDU2020 ------------------取名为TEDU2020
[AC6005-wlan-view]vap-profile name C ------------------------配置VAP模板,用于关联各种配置模板
[AC6005-wlan-vap-prof-C]forward-mode tunnel ---------------------启用隧道协议
[AC6005-wlan-vap-prof-C]service-vlan vlan-id 10 --------------------转发VLAN20的数据
[AC6005-wlan-vap-prof-C]security-profile A ---------------------关联安全文件 加密方式、密码
[AC6005-wlan-vap-prof-C]ssid-profile B ------------------------关联 ssid 文件
[AC6005-wlan-view]ap-group name APS ----------------------------ap 组关联 vap
[AC6005-wlan-ap-group-APS]vap-profile C wlan 1 radio 0 -----------------------------为指定的APS组开启无线信道

实验结果:成功!!
无线终端设备成功连接WIFI,WiFi名为:TEDU2020,密码为:123456789
华为设备!超详细的无线WIFI全覆盖技术讲解,命令行配置与思路实验拓扑图!!!_第2张图片

你可能感兴趣的:(实验,笔记,网络,运维)