WLAN业务配置——AC旁挂式组网

2024-03-27 19:50

本文主要是介绍WLAN业务配置——AC旁挂式组网,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

WLAN业务配置——AC旁挂式组网

LSW1 核心交换机

<Huawei>system-view
[Huawei]undo info-center enable
创建3个vlan
[Huawei]vlan batch 10 20 30[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type access 
[Huawei-GigabitEthernet0/0/1]port default vlan 30
[Huawei-GigabitEthernet0/0/1]q[Huawei]interface g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan 10
[Huawei-GigabitEthernet0/0/2]q[Huawei]interface g0/0/3
[Huawei-GigabitEthernet0/0/3]port link-type trunk
允许通过 管理vlan 和 业务vlan
[Huawei-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 20
[Huawei-GigabitEthernet0/0/3]q
[Huawei]q
<Huawei>save

LSW2 汇聚交换机

创建 管理vlan 和 业务vlan
<Huawei>system-view
[Huawei]undo info-center enable
创建3个vlan
[Huawei]vlan batch 10 20[Huawei]interface g0/0/1
[Huawei-GigabitEthernet0/0/1]port link-type trunk 
[Huawei-GigabitEthernet0/0/1]port trunk pvid vlan 10
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[Huawei-GigabitEthernet0/0/1]port trunk allow-pass vlan 20
[Huawei-GigabitEthernet0/0/1]q[Huawei]interface g0/0/2
[Huawei-GigabitEthernet0/0/2]port link-type trunk 
[Huawei-GigabitEthernet0/0/2]port trunk pvid vlan 10
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan 10
[Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan 20
[Huawei-GigabitEthernet0/0/2]q[Huawei]interface g0/0/3
[Huawei-GigabitEthernet0/0/3]port link-type trunk 
[Huawei-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 20
[Huawei-GigabitEthernet0/0/3]q
[Huawei]q
<Huawei>save

AC1 控制器

<AC6005>system-view 
创建 管理vlan
[AC6005]vlan 10
[AC6005-vlan10]q[AC6005]interface g0/0/1
[AC6005-GigabitEthernet0/0/1]port link-type trunk 
[AC6005-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[AC6005-GigabitEthernet0/0/1]q
[AC6005]q
<AC6005>save

LSW1 核心交换机

<Huawei>system-view 
[Huawei]interface Vlanif 20
[Huawei-Vlanif20]ip address 10.1.30.1 24
[Huawei-Vlanif20]q[Huawei]int vlan 30
[Huawei-Vlanif30]ip address 10.1.30.2 24
[Huawei-Vlanif30]q
[Huawei]q
<Huawei>save

AC1控制器

<AC6005>system-view 
[AC6005]int vlan 10
[AC6005-Vlanif10]ip add 10.1.10.1 24
[AC6005-Vlanif10]q
[AC6005]q
<AC6005>save

AR路由器

<Huawei>system-view 
[Huawei]un in en[Huawei]int g0/0/0
[Huawei-GigabitEthernet0/0/0]ip add 10.1.30.1 24
[Huawei-GigabitEthernet0/0/0]q
为了能访问外网,在交换机上配置一条静态路由
[Huawei]ip rout 10.1.20.0 24 10.1.30.2
[Huawei]q
<Huawei>save

LSW1

这里可能是因为 机器反应慢的缘故 不通。可先配置AP上线,等会再试,
ping -a 10.1.20.1 10.1.30.1

LSW1

<Huawei>system-view 
配置dhcp服务
[Huawei]dhcp enable
在vlan 20下配置dhcp server
[Huawei]int vlan 20
[Huawei-Vlanif20]dhcp se in
[Huawei-Vlanif20]q
[Huawei]q
<Huawei>save

AC1控制器

<AC6005>system-view
配置dhcp服务
[AC6005]dhcp enable
在vlan 10下配置dhcp server 端口模式
[AC6005]int vlan 10
[AC6005-Vlanif10]dhcp se int
[AC6005-Vlanif10]q
[AC6005]q
<AC6005>save

AC1控制器

配置AC源端口的地址
<AC6005>system-view 
[AC6005]capwap source ip-address 10.1.10.1[AC6005]wlan
[AC6005-wlan-view]ap-group name group1
[AC6005-wlan-ap-group-group1]q
尝试 使用不认证方式,查看AP是否能上线
[AC6005-wlan-view]ap auth-mode no-auth 
[AC6005-wlan-view]dis ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor  : normal          [2]
--------------------------------------------------------------------------------------------------
ID   MAC            Name           Group   IP          Type            State STA  Uptime
--------------------------------------------------------------------------------------------------
0    00e0-fcc9-59a0 00e0-fcc9-59a0 default 10.1.10.202 AP2050DN        nor   0    18S
1    00e0-fca7-56c0 00e0-fca7-56c0 default 10.1.10.170 AP2050DN        nor   0    14S
--------------------------------------------------------------------------------------------------
Total: 2
[AC6005-wlan-view]
[AC6005-wlan-view]ap-id 0
[AC6005-wlan-ap-0]ap-name AP1
[AC6005-wlan-ap-0]ap-group group1
[AC6005-wlan-ap-0]q
[AC6005-wlan-view]ap-id 1
[AC6005-wlan-ap-1]ap-name AP2
[AC6005-wlan-ap-1]ap-group group1
[AC6005-wlan-ap-1]q查看AP上线情况
[AC6005-wlan-view]dis ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor  : normal          [2]
---------------------------------------------------------------------------------------
ID   MAC            Name Group  IP          Type            State STA  Uptime
---------------------------------------------------------------------------------------
0    00e0-fcc9-59a0 AP1  group1 10.1.10.202 AP2050DN        nor   0    4M:34S
1    00e0-fca7-56c0 AP2  group1 10.1.10.170 AP2050DN        nor   0    2M:53S
---------------------------------------------------------------------------------------
Total: 2修改认知方式为 mac认证方式
[AC6005-wlan-view]ap auth-mode mac-auth 
[AC6005-wlan-view]dis ap all===============================================
配置vlan业务:配置ssid模板,security模板,VAP模板;保证AP能正常释放信号。配置名为group1的ssid模板
[AC6005-wlan-view]ssid-profile name group1
使用该模板
[AC6005-wlan-ssid-prof-group1]ssid group1
[AC6005-wlan-ssid-prof-group1]q配置名为group1的security模板
[AC6005-wlan-view]security-profile name group1
配置安全密码
[AC6005-wlan-sec-prof-group1]security wpa-wpa2 psk pass-phrase a1234567 aes
[AC6005-wlan-sec-prof-group1]q配置名为group1的VAP模板
[AC6005-wlan-view]vap-profile name group1
引用ssid模板
[AC6005-wlan-vap-prof-group1]ssid-profile group1
引用security模板
[AC6005-wlan-vap-prof-group1]security-profile group1
转发模式为 直接转发
[AC6005-wlan-vap-prof-group1]forward-mode direct-forward
[AC6005-wlan-vap-prof-group1]q配置名为group1的域管理模板
[AC6005-wlan-view]regulatory-domain-profile name group1
配置国家码为CN
[AC6005-wlan-regulate-domain-group1]country-code CN
[AC6005-wlan-regulate-domain-group1]q进入AP group组,将域管理模板group1和VAP模板绑定
[AC6005-wlan-view]ap-group name group1
[AC6005-wlan-ap-group-group1]regulatory-domain-profile group1最后再将VAP模板进行绑定
[AC6005-wlan-ap-group-group1]vap-profile group1 wlan 1 radio all

查看AP上线情况

[AC6005-wlan-view]dis ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor  : normal          [2]
----------------------------------------------------------------------------------------
ID   MAC            Name Group  IP          Type            State STA  Uptime
----------------------------------------------------------------------------------------
0    00e0-fcc9-59a0 AP1  group1 10.1.10.202 AP2050DN        nor   0    24M:38S
1    00e0-fca7-56c0 AP2  group1 10.1.10.170 AP2050DN        nor   0    22M:57S
----------------------------------------------------------------------------------------
Total: 2

一、save命令保存配置

有些设备首次保存(save)需先按提示输入y,再按两次回车提示保存成功。
save                                               用户视图输入save命令
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y                            按提示输入y,回车
Info: Please input the file name ( *.cfg, *.zip ) [vrpcfg.zip]:
Jul  1 2016 10:16:47-08:00 Huawei %%01CFM/4/SAVE(l)[0]:The user chose Y when dec
iding whether to save the configuration to the device.     再次回车  
Now saving the current configuration to the slot 0.
Save the configuration successfully.                        提示保存成功

二、清除整个交换机或路由器配置命令

<Huawei>reset saved-configuration
The configuration will be erased to reconfigure. Continue? [Y/N]: y
<Huawei>reboot
Info: The system is now comparing the configuration, please wait.
Warning: All the configuration will be saved to the configuration file for the next startup:, Continue?[Y/N]:n //此时要选择n,若选择y则之前的配置会保存,重启后仍然是原来的配置。
Info: If want to reboot with saving diagnostic information, input 'N' and then execute 'reboot save diagnostic-information'.
System will reboot! Continue?[Y/N]:y

三、清除交换机或路由器某个端口地配置命令

<huawei>system-view
[huawei]interface gigabitethernet 0/0/? (?:表示第几个端口)
[huawei-GigabitEthernet0/0/?]clear configuration interface gigabitethernet 0/0/?
清除该端口的配置后,该端口处于关闭状态,可以用以下命令重新开启。
[huawei-GigabitEthernet0/0/?]undo shutdown

这篇关于WLAN业务配置——AC旁挂式组网的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/853205

相关文章

SpringBoot+MyBatis-Flex配置ProxySQL的实现步骤

《SpringBoot+MyBatis-Flex配置ProxySQL的实现步骤》本文主要介绍了SpringBoot+MyBatis-Flex配置ProxySQL的实现步骤,文中通过示例代码介绍的非常详... 目录 目标 步骤 1:确保 ProxySQL 和 mysql 主从同步已正确配置ProxySQL 的

Spring Boot整合log4j2日志配置的详细教程

《SpringBoot整合log4j2日志配置的详细教程》:本文主要介绍SpringBoot项目中整合Log4j2日志框架的步骤和配置,包括常用日志框架的比较、配置参数介绍、Log4j2配置详解... 目录前言一、常用日志框架二、配置参数介绍1. 日志级别2. 输出形式3. 日志格式3.1 PatternL

配置springboot项目动静分离打包分离lib方式

《配置springboot项目动静分离打包分离lib方式》本文介绍了如何将SpringBoot工程中的静态资源和配置文件分离出来,以减少jar包大小,方便修改配置文件,通过在jar包同级目录创建co... 目录前言1、分离配置文件原理2、pom文件配置3、使用package命令打包4、总结前言默认情况下,

VScode连接远程Linux服务器环境配置图文教程

《VScode连接远程Linux服务器环境配置图文教程》:本文主要介绍如何安装和配置VSCode,包括安装步骤、环境配置(如汉化包、远程SSH连接)、语言包安装(如C/C++插件)等,文中给出了详... 目录一、安装vscode二、环境配置1.中文汉化包2.安装remote-ssh,用于远程连接2.1安装2

Redis多种内存淘汰策略及配置技巧分享

《Redis多种内存淘汰策略及配置技巧分享》本文介绍了Redis内存满时的淘汰机制,包括内存淘汰机制的概念,Redis提供的8种淘汰策略(如noeviction、volatile-lru等)及其适用场... 目录前言一、什么是 Redis 的内存淘汰机制?二、Redis 内存淘汰策略1. pythonnoe

windos server2022的配置故障转移服务的图文教程

《windosserver2022的配置故障转移服务的图文教程》本文主要介绍了windosserver2022的配置故障转移服务的图文教程,以确保服务和应用程序的连续性和可用性,文中通过图文介绍的非... 目录准备环境:步骤故障转移群集是 Windows Server 2022 中提供的一种功能,用于在多个

windos server2022里的DFS配置的实现

《windosserver2022里的DFS配置的实现》DFS是WindowsServer操作系统提供的一种功能,用于在多台服务器上集中管理共享文件夹和文件的分布式存储解决方案,本文就来介绍一下wi... 目录什么是DFS?优势:应用场景:DFS配置步骤什么是DFS?DFS指的是分布式文件系统(Distr

关于Maven中pom.xml文件配置详解

《关于Maven中pom.xml文件配置详解》pom.xml是Maven项目的核心配置文件,它描述了项目的结构、依赖关系、构建配置等信息,通过合理配置pom.xml,可以提高项目的可维护性和构建效率... 目录1. POM文件的基本结构1.1 项目基本信息2. 项目属性2.1 引用属性3. 项目依赖4. 构

龙蜥操作系统Anolis OS-23.x安装配置图解教程(保姆级)

《龙蜥操作系统AnolisOS-23.x安装配置图解教程(保姆级)》:本文主要介绍了安装和配置AnolisOS23.2系统,包括分区、软件选择、设置root密码、网络配置、主机名设置和禁用SELinux的步骤,详细内容请阅读本文,希望能对你有所帮助... ‌AnolisOS‌是由阿里云推出的开源操作系统,旨

mysql-8.0.30压缩包版安装和配置MySQL环境过程

《mysql-8.0.30压缩包版安装和配置MySQL环境过程》该文章介绍了如何在Windows系统中下载、安装和配置MySQL数据库,包括下载地址、解压文件、创建和配置my.ini文件、设置环境变量... 目录压缩包安装配置下载配置环境变量下载和初始化总结压缩包安装配置下载下载地址:https://d