当前位置:网站首页>华为设备配置大型网络WLAN基本业务
华为设备配置大型网络WLAN基本业务
2022-07-01 10:53:00 【Tony_long7483】

配置网络互通
[LSW2]vlan batch 100 to 104
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 104
[LSW2-GigabitEthernet0/0/2]port link-type trunk
[LSW2-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 to 102
[LSW2-GigabitEthernet0/0/2]port trunk pvid vlan 100
[LSW2-GigabitEthernet0/0/2]port-isolate enable
[LSW2-GigabitEthernet0/0/3]port link-type trunk
[LSW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 100 to 102
[LSW2-GigabitEthernet0/0/3]port trunk pvid vlan 100
[LSW2-GigabitEthernet0/0/3]port-isolate enable
[LSW2-GigabitEthernet0/0/4]port link-type trunk
[LSW2-GigabitEthernet0/0/4]port trunk allow-pass vlan 100 103 104
[LSW2-GigabitEthernet0/0/4]port trunk pvid vlan 100
[LSW2-GigabitEthernet0/0/4]port-isolate enable
[LSW2-GigabitEthernet0/0/5]port link-type trunk
[LSW2-GigabitEthernet0/0/5]port trunk allow-pass vlan 100 103 to 104
[LSW2-GigabitEthernet0/0/5]port trunk pvid vlan 100
[LSW2-GigabitEthernet0/0/5]port-isolate enable
[LSW1]vlan batch 100 to 104 200 201
[LSW1-GigabitEthernet0/0/1]port link-type trunk
[LSW1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 to 104
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 200
[LSW1-GigabitEthernet0/0/2]port link-type access
[LSW1-GigabitEthernet0/0/2]port default vlan 201
[LSW1-Vlanif100]ip add 10.1.1.1 24
[LSW1-Vlanif101]ip add 10.1.11.1 24
[LSW1-Vlanif102]ip add 10.1.12.1 24
[LSW1-Vlanif103]ip add 10.1.13.1 24
[LSW1-Vlanif104]ip add 10.1.14.1 24
[LSW1-Vlanif200]ip add 10.2.1.1 24
[LSW1-Vlanif201]ip add 10.3.1.1 24
[AC1]vlan batch 101 to 104 200
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 200
[AC1-Vlanif200]ip add 10.2.1.2 24
[AR1-GigabitEthernet0/0/0]ip add 10.3.1.3 24
[AR1]ip route-static 10.1.1.0 24 10.3.1.1 //配置AR1到LSW1的路由
[AR1]ip route-static 10.1.11.0 24 10.3.1.1
[AR1]ip route-static 10.1.12.0 24 10.3.1.1
[AR1]ip route-static 10.1.13.0 24 10.3.1.1
[AR1]ip route-static 10.1.14.0 24 10.3.1.1
[LSW1]ip route-static 0.0.0.0 0.0.0.0 10.3.1.3 //配置LSW1的缺省路由
[AC1]ip route-static 10.1.1.0 24 10.2.1.1 //配置AC到AP的路由配置DHCP服务,为AP和STA分配IP地址
[LSW1]dhcp enable
[LSW1-Vlanif100]dhcp select relay
[LSW1-Vlanif100]dhcp relay server-ip 10.3.1.3
[LSW1-Vlanif101]dhcp select relay
[LSW1-Vlanif101]dhcp relay server-ip 10.3.1.3
[LSW1-Vlanif102]dhcp select relay
[LSW1-Vlanif102]dhcp relay server-ip 10.3.1.3
[LSW1-Vlanif103]dhcp select relay
[LSW1-Vlanif103]dhcp relay server-ip 10.3.1.3
[LSW1-Vlanif104]dhcp select relay
[LSW1-Vlanif104]dhcp relay server-ip 10.3.1.3
[AR1]dhcp enable
[AR1]ip pool ap //配置由AR1作为DHCP服务器给AP分配IP地址
[AR1-ip-pool-ap]network 10.1.1.0 mask 24
[AR1-ip-pool-ap]gateway-list 10.1.1.1
[AR1-ip-pool-ap]option 43 sub-option 3 ascii 10.2.1.2
[AR1]ip pool sta1 //配置由AR1作为DHCP服务器给STA分配IP地址
[AR1-ip-pool-sta1]network 10.1.11.0 mask 24
[AR1-ip-pool-sta1]gateway-list 10.1.11.1
[AR1]ip pool sta2
[AR1-ip-pool-sta2]network 10.1.12.0 mask 24
[AR1-ip-pool-sta2]gateway-list 10.1.12.1
[AR1]ip pool sta3
[AR1-ip-pool-sta3]network 10.1.13.0 mask 24
[AR1-ip-pool-sta3]gateway-list 10.1.13.1
[AR1]ip pool sta4
[AR1-ip-pool-sta4]network 10.1.14.0 mask 24
[AR1-ip-pool-sta4]gateway-list 10.1.14.1
[AR1-GigabitEthernet0/0/0]dhcp select global配置VLAN pool,用于作为业务VLAN
[AC1]vlan pool sta-pool1
[AC1-vlan-pool-sta-pool1]vlan 101 102
[AC1-vlan-pool-sta-pool1]assignment hash
[AC1]vlan pool sta-pool2
[AC1-vlan-pool-sta-pool2]vlan 103 104
[AC1-vlan-pool-sta-pool2]assignment hash配置AP上线
[AC1-wlan-view]ap-group name guest //创建AP组
[AC1-wlan-view]ap-group name employee
[AC1-wlan-view]regulatory-domain-profile name domain1 //创建域管理模板
[AC1-wlan-regulate-domain-domain1]country-code cn //配置AC的国家码
[AC1-wlan-view]ap-group name guest
[AC1-wlan-ap-group-guest]regulatory-domain-profile domain1 //在AP组下引用域管理模板
[AC1-wlan-view]ap-group name employee
[AC1-wlan-ap-group-employee]regulatory-domain-profile domain1
[AC1]capwap source interface Vlanif 200 //配置AC的源接口
[AC1]wlan
[AC1-wlan-view]ap auth-mode mac-auth
[AC1-wlan-view]ap-id 0 ap-mac 00e0-fc32-56d0 //在AC上离线导入AP
[AC1-wlan-ap-0]ap-name ap1
[AC1-wlan-ap-0]ap-group guest
[AC1-wlan-view]ap-id 1 ap-mac 00e0-fc42-47d0
[AC1-wlan-ap-1]ap-name ap2
[AC1-wlan-ap-1]ap-group guest
[AC1-wlan-view]ap-id 2 ap-mac 00e0-fcc1-3660
[AC1-wlan-ap-2]ap-name ap3
[AC1-wlan-ap-2]ap-group employee
[AC1-wlan-view]ap-id 3 ap-mac 00e0-fca3-0630
[AC1-wlan-ap-3]ap-name ap4
[AC1-wlan-ap-3]ap-group employee
配置WLAN业务参数
[AC1-wlan-view]security-profile name guest //创建名为安全模板
[AC1-wlan-sec-prof-guest]security wpa2 psk pass-phrase [email protected] aes //配置安全策略
[AC1-wlan-view]security-profile name employee
[AC1-wlan-sec-prof-employee]security wpa2 psk pass-phrase a[email protected] aes
[AC1-wlan-view]ssid-profile name guest //创建SSID模板
[AC1-wlan-ssid-prof-guest]ssid guest //配置SSID名称
[AC1-wlan-view]ssid-profile name employee
[AC1-wlan-ssid-prof-employee]ssid employee
[AC1-wlan-view]vap-profile name guest //创建VAP模板
[AC1-wlan-vap-prof-guest]forward-mode direct-forward //配置业务数据转发模式
[AC1-wlan-vap-prof-guest]service-vlan vlan-pool sta-pool1 //配置业务VLAN
[AC1-wlan-vap-prof-guest]security-profile guest //引用安全模板
[AC1-wlan-vap-prof-guest]ssid-profile guest //引用SSID模板
[AC1-wlan-view]vap-profile name employee
[AC1-wlan-vap-prof-employee]forward-mode direct-forward
[AC1-wlan-vap-prof-employee]service-vlan vlan-pool sta-pool2
[AC1-wlan-vap-prof-employee]security-profile employee
[AC1-wlan-vap-prof-employee]ssid-profile employee
[AC1-wlan-view]ap-group name guest
[AC1-wlan-ap-group-guest]vap-profile guest wlan 1 radio 0 //配置AP组引用VAP模板,AP上射频0使用VAP模板的配置
[AC1-wlan-ap-group-guest]vap-profile guest wlan 1 radio 1 //配置AP组引用VAP模板,AP上射频0使用VAP模板的配置
[AC1-wlan-view]ap-group name employee
[AC1-wlan-ap-group-employee]vap-profile employee wlan 1 radio 0
[AC1-wlan-ap-group-employee]vap-profile employee wlan 1 radio 1配置AP射频的信道和功率
[AC1-wlan-view]ap-id 0
[AC1-wlan-ap-0]radio 0
[AC1-wlan-radio-0/0]channel 20mhz 6
[AC1-wlan-radio-0/0]eirp 127
[AC1-wlan-ap-0]radio 1
[AC1-wlan-radio-0/1]channel 20mhz 149
[AC1-wlan-radio-0/1]eirp 127验证配置


边栏推荐
- [.NET6]使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》
- 12款大家都在用的产品管理平台
- LeetCode. One question of the day: offer II 091 Paint the house (DP problem)
- The exclusive collection of China lunar exploration project is limited to sale!
- LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS
- LeetCode. 515. Find the maximum value in each tree row___ BFS + DFS + BFS by layer
- New situation of digital collection market
- [MPC] ② quadprog solves positive definite, semi positive definite and negative definite quadratic programming
- Guys, how to export iceberg data to MySQL? What tools are there? Neither sqoop nor dataX
- 我国蜂窝物联网用户已达 15.9 亿,年内有望超越移动电话用户
猜你喜欢

Addition, deletion, modification and query of database

Infinite innovation in cloud "vision" | the 2022 Alibaba cloud live summit was officially launched

LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS

What are the advantages and disadvantages of PHP

.NET 5.0+ 无需依赖第三方 原生实现定时任务

Value 1000 graduation project campus information publishing platform website source code

关于#SQL#的问题,如何解决?

【MPC】②quadprog求解正定、半正定、负定二次规划

Simulink simulation circuit model of open loop buck buck buck chopper circuit based on MATLAB

Rising stars in Plant Sciences (rsps2022) final Science Lecture (6.30 pm)
随机推荐
Detailed explanation of linear regression in machine learning
How does MySQL copy table data from one database to another (two databases are not linked to the same database)
大佬们,数据湖iceberg的数据,怎样导出到mysql? 有什么工具? sqoop,datax都没
基金管理人的内部控制
CodeBlocks 左侧项目栏消失,workspace 自动保存项目,Default workspace,打开上次的workspace,工作区(图文教程,已解决)
mysql如何把 一个数据库中的表数据 复制到 另一个数据库中(两个数据库不在同一个数据库链接下)
数字藏品新一轮热度开启
Venv: directory structure of venv
Lack of comparator, operational amplifier to save the field! (the op amp is recorded as a comparator circuit)
网站源码整站下载 网站模板源代码下载
数据库的增删改查问题
Matplotlib data visualization Foundation
Kotlin coprocessor scheduling switch threads it's time to unravel the truth
基于Matlab的开环Buck降压斩波电路Simulink仿真电路模型搭建
Is it safe to open a stock account online in 2022? Is there any danger?
The Lantern Festival is held on the fifteenth day of the first month, and the Lantern Festival begins to celebrate the reunion
[.net6] use ml.net+onnx pre training model to liven the classic "Huaqiang buys melons" in station B
A new round of popularity of digital collections opens
What a high commission! The new programmer's partner plan is coming. Everyone can participate!
New situation of digital collection market