当前位置:网站首页>华为设备配置大型网络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验证配置


边栏推荐
- Prism journal navigation button usability exploration record
- LeetCode 438. Find all letter ectopic words in the string__ sliding window
- [.NET6]使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》
- 12. Gateway new generation gateway
- 内存泄漏定位工具之 valgrind 使用
- LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS
- Simulink simulation circuit model of open loop buck buck buck chopper circuit based on MATLAB
- LeetCode.每日一题 剑指 Offer II 091. 粉刷房子 (DP问题)
- 云上“视界” 创新无限 | 2022阿里云直播峰会正式上线
- Submission lottery - light application server essay solicitation activity (may) award announcement
猜你喜欢

Lack of comparator, operational amplifier to save the field! (the op amp is recorded as a comparator circuit)
![[matytype] insert MathType inter line and intra line formulas in CSDN blog](/img/ff/871a3f06f898ed107a2a974d2c7bc4.png)
[matytype] insert MathType inter line and intra line formulas in CSDN blog

CCNP Part XII BGP (IV)

Wireshark TS | confusion between fast retransmission and out of sequence

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

bash: ln: command not found

What legal risks and qualifications should be paid attention to when building a digital collection platform?
![[paper reading] trajectory guided control prediction for end to end autonomous driving: a simple yet strong Ba](/img/fa/f2d24ee3dbbbe6332c84a82109338e.png)
[paper reading] trajectory guided control prediction for end to end autonomous driving: a simple yet strong Ba

The exclusive collection of China lunar exploration project is limited to sale!

MIT最新论文《对可解释特征的需求:动机和分类》:在机器学习模型的组成元素中建立可解释性
随机推荐
Matplotlib数据可视化基础
Guys, how to export iceberg data to MySQL? What tools are there? Neither sqoop nor dataX
[.NET6]使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》
Suggest collecting | what to do when encountering slow SQL on opengauss?
NeurIPS 2022 | 细胞图像分割竞赛正式启动!
What a high commission! The new programmer's partner plan is coming. Everyone can participate!
Valgrind usage of memory leak locating tool
442. 数组中重复的数据
Project0: Games
Wireshark TS | 快速重传和乱序之混淆
Database experiment report (I)
谷歌新论文-Minerva:用语言模型解决定量推理问题
Design and practice of new generation cloud native database
12 plateformes de gestion de produits utilisées par tout le monde
LeetCode.515. 在每个树行中找最大值___逐一BFS+DFS+按层BFS
Graduation season · advanced technology er
php 实现抽奖功能
【Matytype】在CSDN博客中插入Mathtype行间与行内公式
数字藏品新一轮热度开启
New situation of digital collection market