华为AC+AP旁挂式三层无线局域网的配置案例

一、基础配置

SWA:

<Huawei>sys

Enter system view, return user view with Ctrl+Z.

Huawei\]undo in \[Huawei\]undo info-center ena Info: Information center is disabled. \[Huawei\]sysn SWA \[SWA\]vlan batch 10 11 12 99 Info: This operation may take a few seconds. Please wait for a moment...done. \[SWA\]int g0/0/1 \[SWA-GigabitEthernet0/0/1\]p l t \[SWA-GigabitEthernet0/0/1\]p t p v 10 \[SWA-GigabitEthernet0/0/1\]p t a v 10 11 \[SWA-GigabitEthernet0/0/1\]int g0/0/2 \[SWA-GigabitEthernet0/0/2\]p l t \[SWA-GigabitEthernet0/0/2\]p t p v 10 \[SWA-GigabitEthernet0/0/2\]p t a v 10 12 \[SWA-GigabitEthernet0/0/2\]int g0/0/24 \[SWA-GigabitEthernet0/0/24\]qu \[SWA\]vlan 100 \[SWA-vlan100\]int g0/0/24 \[SWA-GigabitEthernet0/0/24\]p l a \[SWA-GigabitEthernet0/0/24\]p d v 100 \[SWA-GigabitEthernet0/0/24\]int vlan 100 \[SWA-Vlanif100\]ip add 172.16.1.1 24 \[SWA-Vlanif100\]qu \[SWA\]qu \save SWB: \sys Enter system view, return user view with Ctrl+Z. \[Huawei\]undo in \[Huawei\]undo info-center ena Info: Information center is disabled. \[Huawei\]sysn SWB \[SWB\]vlan batch 10 11 12 99 101 Info: This operation may take a few seconds. Please wait for a moment...done. \[SWB\]int vlan 99 \[SWB-Vlanif99\]ip add 10.0.99.253 24 \[SWB-Vlanif99\]int vlan 101 \[SWB-Vlanif101\]ip add 172.16.1.2 24 \[SWB-Vlanif101\]int g0/0/24 \[SWB-GigabitEthernet0/0/24\]p l a \[SWB-GigabitEthernet0/0/24\]p d v 101 \[SWB-GigabitEthernet0/0/24\]int g0/0/1 \[SWB-GigabitEthernet0/0/1\]p l a \[SWB-GigabitEthernet0/0/1\]p d v 99 \[SWB-GigabitEthernet0/0/1\]qu \[SWB\]qu \save AC: \sys Enter system view, return user view with Ctrl+Z. \[AC6605\]undo in \[AC6605\]undo info-center ena Info: Information center is disabled. \[AC6605\]sysn AC \[AC\]vlan 99 Info: This operation may take a few seconds. Please wait for a moment...done. \[AC-vlan99\]int vlan 99 \[AC-Vlanif99\]ip add 10.0.99.254 24 \[AC-Vlanif99\]int g0/0/1 \[AC-GigabitEthernet0/0/1\]p l a \[AC-GigabitEthernet0/0/1\]p d v 99 \[AC-GigabitEthernet0/0/1\]qu \[AC\]qu \save 二、SWB配置DHCP服务 SWB: \[SWB\]ip pool ap Info:It's successful to create an IP address pool. \[SWB-ip-pool-ap\]network 10.0.10.0 mask 24 \[SWB-ip-pool-ap\]gateway-list 10.0.10.254 \[SWB-ip-pool-ap\]option 43 sub-option 3 ascii 10.0.99.254 \[SWB-ip-pool-ap\]ip pool vlan11 Info:It's successful to create an IP address pool. \[SWB-ip-pool-vlan10\]network 10.0.11.0 mask 24 \[SWB-ip-pool-vlan10\]gateway-list 10.0.11.254 \[SWB-ip-pool-vlan10\]dns-list 114.114.114.114 \[SWB-ip-pool-vlan10\]ip pool vlan12 Info:It's successful to create an IP address pool. \[SWB-ip-pool-vlan20\]network 10.0.12.0 mask 24 \[SWB-ip-pool-vlan20\]gateway-list 10.0.12.254 \[SWB-ip-pool-vlan20\]dns-list 114.114.114.114 \[SWB-ip-pool-vlan20\]qu 三、SWA配置vlan 10 vlan 11 vlan12 中继服务 SWA: \[SWA\]dhcp ena Info: The operation may take a few seconds. Please wait for a moment.done. \[SWA

SWA\]int vlan 10 \[SWA-Vlanif10\]ip add 10.0.10.254 24 \[SWA-Vlanif10\]dhcp select relay \[SWA-Vlanif10\]dhcp relay server-ip 172.16.1.2 \[SWA-Vlanif10\]int vlan 11 \[SWA-Vlanif11\]ip add 10.0.11.254 24 \[SWA-Vlanif11\]dhcp select relay \[SWA-Vlanif11\]dhcp relay server-ip 172.16.1.2 \[SWA-Vlanif11\]int vlan 12 \[SWA-Vlanif12\]ip add 10.0.12.254 24 \[SWA-Vlanif12\]dhcp select relay \[SWA-Vlanif12\]dhcp relay server-ip 172.16.1.2 \[SWA-Vlanif12\]qu SWB: \[SWB\]int vlan 101 \[SWB-Vlanif101\]dhcp select global 四、SWA、SWB、AC配置OSPF路由 SWA: \[SWA\]ospf 1 \[SWA-ospf-1\]ar 0 \[SWA-ospf-1-area-0.0.0.0\]netw \[SWA-ospf-1-area-0.0.0.0\]network 10.0.10.0 0.0.0.255 \[SWA-ospf-1-area-0.0.0.0\]network 10.0.11.0 0.0.0.255 \[SWA-ospf-1-area-0.0.0.0\]network 10.0.12.0 0.0.0.255 \[SWA-ospf-1-area-0.0.0.0\]network 172.16.1.0 0.0.0.255 \[SWA-ospf-1-area-0.0.0.0\]qu SWB: \[SWB\]ospf 1 \[SWB-ospf-1\]ar 0 \[SWB-ospf-1-area-0.0.0.0\]network 172.16.1.0 0.0.0.255 \[SWB-ospf-1-area-0.0.0.0\]network 10.0.99.0 0.0.0.255 \[SWB-ospf-1-area-0.0.0.0\]qu \[SWB-ospf-1

AC:

AC\]ospf 1 \[AC-ospf-1\]ar 0 \[AC-ospf-1-area-0.0.0.0\]network 10.0.99.0 0.0.0.255 \[AC-ospf-1-area-0.0.0.0\]qu 五、无线AC配置 \sys Enter system view, return user view with Ctrl+Z. \[AC\]capwap source int vlan 99 \[AC\]wlan \[AC-wlan-view\]ap-group name ap-group1 Info: This operation may take a few seconds. Please wait for a moment.done. \[AC-wlan-ap-group-ap-group1\]regulatory-domain-profile default 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-ap-group1\]qu \[AC-wlan-view\]ap auth-mode mac-auth \[AC-wlan-view\]ap-id 0 ap-mac 00e0-fcf7-0210 \[AC-wlan-ap-0\]ap-name area_1 \[AC-wlan-ap-0\]ap-group ap-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 Info: This operation may take a few seconds. Please wait for a moment.. done. \[AC-wlan-ap-0\]qu \[AC-wlan-view\]ap-id 1 ap-mac 00e0-fc5a-6ba0 \[AC-wlan-ap-1\]ap-name area_2 \[AC-wlan-ap-1\]ap-group ap-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 Info: This operation may take a few seconds. Please wait for a moment.. done. \[AC-wlan-ap-1\]qu \[AC-wlan-view\]dis ap all ![](https://i-blog.csdnimg.cn/direct/ceb21d40d3b94cabbe73330149fa2ef9.png) \[AC-wlan-view\]security-profile name wlan-net1 \[AC-wlan-sec-prof-wlan-net1\]security wpa-wpa2 psk pass-phrase abc12345 aes \[AC-wlan-sec-prof-wlan-net1\]qu \[AC-wlan-view\]ssid-profile name wlan-net1 \[AC-wlan-ssid-prof-wlan-net1\]ssid Sales Info: This operation may take a few seconds, please wait.done. \[AC-wlan-ssid-prof-wlan-net1\]qu \[AC-wlan-view\]vap-profile name wlan-net1 \[AC-wlan-vap-prof-wlan-net1\]forward-mode direct-forward \[AC-wlan-vap-prof-wlan-net1\]service-vlan vlan-id 11 \[AC-wlan-vap-prof-wlan-net1\]security-profile wlan-net1 Info: This operation may take a few seconds, please wait.done. \[AC-wlan-vap-prof-wlan-net1\]ssid-profile wlan-net1 Info: This operation may take a few seconds, please wait.done. \[AC-wlan-vap-prof-wlan-net1\]qu \[AC-wlan-view\]security-profile name wlan-net2 \[AC-wlan-sec-prof-wlan-net2\]security wpa-wpa2 psk pass-phrase abc12345 aes \[AC-wlan-sec-prof-wlan-net2\]qu \[AC-wlan-view\]ssid-profile name wlan-net2 \[AC-wlan-ssid-prof-wlan-net2\]ssid Finances Info: This operation may take a few seconds, please wait.done. \[AC-wlan-ssid-prof-wlan-net2\]qu \[AC-wlan-view\]vap-profile name wlan-net2 \[AC-wlan-vap-prof-wlan-net2\]forward-mode direct-forward \[AC-wlan-vap-prof-wlan-net2\]service-vlan vlan-id 12 Info: This operation may take a few seconds, please wait.done. \[AC-wlan-vap-prof-wlan-net2\]security-profile wlan-net2 Info: This operation may take a few seconds, please wait.done. \[AC-wlan-vap-prof-wlan-net2\]ssid-profile wlan-net2 Info: This operation may take a few seconds, please wait.done. \[AC-wlan-vap-prof-wlan-net2\]qu \[AC-wlan-view\]ap-group name ap-group1 \[AC-wlan-ap-group-ap-group1\]vap-profile wlan-net1 wlan 1 radio all Info: This operation may take a few seconds, please wait...done. \[AC-wlan-ap-group-ap-group1\]vap-profile wlan-net2 wlan 2 radio all Info: This operation may take a few seconds, please wait...done. \[AC-wlan-ap-group-ap-group1\]qu \[AC-wlan-view\]qu \[AC\]qu \save 六、无线访问 ![](https://i-blog.csdnimg.cn/direct/17fcebcef9e04fc59c033b0af8bf71e4.png)![](https://i-blog.csdnimg.cn/direct/323aa15c153f4f908f12f7dd2b63e52d.png)![](https://i-blog.csdnimg.cn/direct/4cbd0e7ede874dbebde674f1df83ec76.png)![](https://i-blog.csdnimg.cn/direct/f504050a4d51496c8150dcc72af19209.png)![](https://i-blog.csdnimg.cn/direct/3c2e303afd2f40d3b2037771a3b0fe8e.png)

相关推荐
wanhengidc6 小时前
云手机的适配性怎么样?
运维·服务器·安全·智能手机·云计算
梁辰兴6 小时前
计算机网络基础:使用集线器的星型拓扑
服务器·网络·计算机网络·集线器·计算机网络基础·梁辰兴·星型拓扑
jimy16 小时前
安卓里运行Linux
linux·运维·服务器
小草cys6 小时前
HarmonyOS NEXT平台下实现的文本转语音(TTS)
华为·harmonyos
大布布将军6 小时前
⚡️ 深入数据之海:SQL 基础与 ORM 的应用
前端·数据库·经验分享·sql·程序人生·面试·改行学it
哟哟耶耶7 小时前
js-fetch流式实现中断重连
运维·服务器
爱凤的小光7 小时前
Linux清理磁盘技巧---个人笔记
linux·运维
源代码•宸7 小时前
goframe框架签到系统项目(BITFIELD 命令详解、Redis Key 设计、goframe 框架教程、安装MySQL)
开发语言·数据库·经验分享·redis·后端·mysql·golang
TG:@yunlaoda360 云老大8 小时前
如何在华为云国际站代理商控制台进行SFS Turbo的性能与容量核查?
服务器·网络·数据库·华为云
TG:@yunlaoda360 云老大8 小时前
华为云国际站代理商的CBR主要有什么作用呢?
java·网络·华为云