了解ACAP
AP
ap,无线接入点,网络设备。它是充当无线终端设备和有线网络之间的桥梁。无线终端设备例如:手机,笔记本电脑。
ap的功能是接收无线终端设备所发出的请求,然后将这些请求转发到有线网络或者交换机上面,同时也将从网络中返回的数据转给发给无线终端。
ap主要负责:
1、提供无线覆盖:通过无线电报(如WiFi)提供网络信号覆盖区域,是无线设备可以连接到网络。
2、无线信号转换:将无线信号转换成有线信号,同时允许无线网络和有线网络进行通信
3、用户认证:在连接过程中对用户进行认证,确保只有授权过的设备能够接入网络。
4、流量管理:支持流量管理及负载均衡。
AC
ac,接入控制器,网络设备。它用于集中管理控制多个无线接入点。它的功能是管理ap的配置,优化无线网络的性能,保障网络安全,支持无线网络负载均衡公户认证等。它常用于大型局域网环境中,例如需要大量ap的场所:企业、学校。
ac主要负责:
1、ap集中管理
2、负载均衡:可以智能地调整用户的接入点分配,以此来优化网络性能
3、无线网络优化:支持先进的无线优化技术,如信号干扰抑制、频段规划等,可以来提升无线网络的覆盖范围和性能
4、安全管理:统一管理无线网络的安全策略,如密码、加密协议等。
WLAN
无线局域网WLAN,是一种无线计算机网络,使用无线信道代替有线传输介质连接两个或多个设备形成一个局域网LAN典型部署场景如家庭、学校、校园或企业办公楼等。
工作原理:在WLAN中,信息在发射端需要先经过信源编码转换为便于电路计算和处理的数字信号,再经过信道编码和调制, 转换为无线电波发射出去。接收端接收到无线电波后,经过解调、解码,最后转成信息。信息可以是图像、文字、声音等。
拓扑图及操作命令、步骤
拓扑图
命令
sw1:
1、创建vlan200
[sw1]vlan 200
2、配置vlan和loopback0的ip
[sw1]int vlan 200
[sw1-Vlanif200]ip add 192.168.200.1 24
3、机连口trunk
[sw1]int g0/0/1
[sw1-GigabitEthernet0/0/1]port link-type trunk
[sw1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
sw2:
1、创建vlan
<Huawei>sys
[Huawei]undo in e
[Huawei]sys sw2
[sw2]vlan ba 100 101 102 200
2、配置vlan的IP
[sw2]int vlan 100
[sw2-Vlanif100]ip add 192.168.100.100 24
[sw2-Vlanif100]int vlan 101
[sw2-Vlanif101]ip add 192.168.101.100 24
[sw2-Vlanif101]int vlan 102
[sw2-Vlanif102]ip add 192.168.102.100 24
[sw2-Vlanif102]int vlan 200
[sw2-Vlanif200]ip add 192.168.200.100 24
3、机连口trunk
[sw2-Vlanif200]q
[sw2]int g0/0/1
[sw2-GigabitEthernet0/0/1]port link-type trunk
[sw2-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[sw2-GigabitEthernet0/0/1]int g0/0/2
[sw2-GigabitEthernet0/0/2]port link-type trunk
[sw2-GigabitEthernet0/0/2]port trunk allow-pass vlan all
[sw2-GigabitEthernet0/0/2]int g0/0/3
[sw2-GigabitEthernet0/0/3]port link-type trunk
[sw2-GigabitEthernet0/0/3]port trunk allow-pass vlan all
[sw2-GigabitEthernet0/0/3]int g0/0/4
[sw2-GigabitEthernet0/0/4]port link-type trunk
[sw2-GigabitEthernet0/0/4]port trunk allow
AC1:
1、创建vlan
<AC6005>sys
[undo in e]sys ac1
[ac1]undo in e
[ac1]vlan ba 100 102 101
2、配置vlan的IP地址
[ac1-GigabitEthernet0/0/1]q
[ac1]int vlan 100
[ac1-Vlanif100]ip add 192.168.100.1 24
[ac1-Vlanif100]int vlan 101
[ac1-Vlanif101]ip add 192.168.101.1 24
[ac1-Vlanif101]int vlan 102
[ac1-Vlanif102]ip add 192.168.102.1 24
3、接口trunk
[ac1]int g0/0/1
[ac1-GigabitEthernet0/0/1]port link-type trunk
[ac1-GigabitEthernet0/0/1]port trunk allow-pass vlan all
4、启用dhcp
[ac1]dhcp enable
[ac1]int vlan 100
[ac1-Vlanif100]dhcp select interface
[ac1-Vlanif100]int vlan 101
[ac1-Vlanif101]dhcp select interface
[ac1-Vlanif101]int vlan 102
[ac1-Vlanif102]dhcp select interface
配置静态路由
SW1配置静态路由
[sw1]ip route-static 0.0.0.0 0 192.168.200.100
SW2配置静态路由
[sw2]ip route-static 0.0.0.0 0 192.168.200.1
AC1配置静态路由
[ac1]ip route-static 0.0.0.0 0 192.168.100.10
WLAN的配置
进入WLAN
[ac1]wlan
配置域管理模块
模板名为nihao
[AC1-wlan-view]regulatory-domian-profile name nihao
域名为中国
[AC1-wlan-regulatory-domian-nihao]country-mode CN
配置AP组
创建组1
[AC1-wlan-view]ap-group name group1
调用模板nihao
[AC1-wlan-ap-group-group1]regulatory-domian-profile nihao
创建组2
[AC1-wlan-view]ap-group name group2
调用模板ap2
[AC1-wlan-ap-group-group2]regulatory-domian-profile nihao
配置capwap隧道----ap与ac间的管理隧道
[AC1]capwap source interface vlanif 100
配置ap的上线
设置ap认证方式为MAC方式
[ac1-wlan-view]ap auth-mode mac-auth
绑定ap1的mac地址
[ac1-wlan-view]ap-id 1 ap-mac 00e0-fc0d-4790
命名group1
[ac1-wlan-ap-1]ap-name group1
分组到group1
[ac1-wlan-ap-1]ap-group group1
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
绑定ap2的地址
[ac1-wlan-view]ap-id 2 ap-mac 00e0-fce5-7b70
命名ap2
[ac1-wlan-ap-2]ap-name group2
分组到ap2
[ac1-wlan-ap-2]ap-group group2
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
验证
<ac1>dis ap all
配置ssid模板
ssid模板1
[ac1-wlan-view]ssid-profile name nihao
[ac1-wlan-ssid-prof-hello]ssid group1
ssid模板2
[ac1-wlan-view]ssid-profile name hello
[ac1-wlan-ssid-prof-hello]ssid group2
配置安全模板
安全模板命名为test3.13
[ac1-wlan-view]security-profile name test3.13
设置认证方式为wpa2 密码12345678 密码加密方式为aes
[ac1-wlan-sec-prof-test3.13]security wpa2 psk pass-phrase 12345678 aes
配置vap模板 将上边的模板进行整合
group1
vap模板group1
[ac1-wlan-view]vap-profile name group1
转发模式为直接转发
[ac1-wlan-vap-prof-group1]forward-mode direct-forward
服务vlan号为101
[ac1-wlan-vap-prof-group1]service-vlan vlan-id 101
调用ssid模板nihao
[ac1-wlan-vap-prof-group1]ssid-profile nihao
调用安全模板test-3.13
[ac1-wlan-vap-prof-group1]security-profile test3.13
group2
vap模板group2
[ac1-wlan-view]vap-profile name group2
转发模式为直接转发
[ac1-wlan-vap-prof-group2]forward-mode direct-forward
服务vlan号为101
[ac1-wlan-vap-prof-group2]service-vlan vlan-id 101
调用ssid模板nihao
[ac1-wlan-vap-prof-group2]ssid-profile nihao
调用安全模板test-3.13
[ac1-wlan-vap-prof-group2]security-profile test3.13
ap组引用vap模板
ap组名为group1
[ac1-wlan-view]ap-group name group1
调用vap模板group1 无线1开启全部信道
[ac1-wlan-ap-group-group1]vap-profile group1 wlan 1 radio all
ap组名为group2
[ac1-wlan-view]ap-group name group2
调用vap模板group2 无线2开启全部信道
[ac1-wlan-ap-group-group2]vap-profile group2 wlan 2 radio all
以上即为Ensp中ACAP的全部内容