WLAN原理实验简述——AP上线

news2024/9/22 5:24:23

一、需求:
AP通过AC上线。
AC通过控制VLAN管理AP,创建VLAN100和放行。
AP同AC建立CAPWAP关系。

二、实验拓扑图:

在这里插入图片描述
三、实验步骤:
LSW1:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]Sysname lsw1
[lsw1]undo info enable
Info: Information center is disabled.
[lsw1]vlan 100
[lsw1-vlan100]int g0/0/2
[lsw1-GigabitEthernet0/0/2]port link-type trunk
[lsw1-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
[lsw1-GigabitEthernet0/0/2]quit
[lsw1]int g0/0/3
[lsw1-GigabitEthernet0/0/3]port link-type trunk
[lsw1-GigabitEthernet0/0/3]port trunk allow-pass vlan 100
[lsw1-GigabitEthernet0/0/3]Quit
[lsw1]interface g0/0/4
[lsw1-GigabitEthernet0/0/4]port link-type trunk
[lsw1-GigabitEthernet0/0/4]port trunk allow-pass vlan 100
[lsw1-GigabitEthernet0/0/4]quit

LSW2:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info enable
Info: Information center is disabled.
[Huawei]sysname lsw2
[lsw2]vlan 100
[lsw2-vlan100]int g0/0/1
[lsw2-GigabitEthernet0/0/1]port link-type trunk
[lsw2-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[lsw2-GigabitEthernet0/0/1]quit
[lsw2]int g0/0/2
[lsw2-GigabitEthernet0/0/2]port link-type trunk
[lsw2-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
[lsw2-GigabitEthernet0/0/2]quit

LSW3:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info enable
Info: Information center is disabled.
[Huawei]sysname lsw3
[lsw3]vlan 100
[lsw3-vlan100]int g0/0/1
[lsw3-GigabitEthernet0/0/1]port link-type trunk
[lsw3-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[lsw3-GigabitEthernet0/0/1]quit
[lsw3]int g0/0/2
[lsw3-GigabitEthernet0/0/2]port link-type access
[lsw3-GigabitEthernet0/0/2]port default vlan 100
[lsw3-GigabitEthernet0/0/2]Quit

LSW4:
sys
[Huawei]undo info-center enable
Info: Information center is disabled.
[Huawei]sysname lsw4
[lsw4]vlan 100
[lsw4-vlan100]int g0/0/1
[lsw4-GigabitEthernet0/0/1]port link-type trunk
[lsw4-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[lsw4-GigabitEthernet0/0/1]quit
[lsw4]int g0/0/2
[lsw4-GigabitEthernet0/0/2]port link-type trunk
[lsw4-GigabitEthernet0/0/2]port trunk allow-pass vlan 100
[lsw4-GigabitEthernet0/0/2]quit

LSW5:
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center enable
Info: Information center is disabled.
[Huawei]sysname lsw5
[lsw5]vlan 100
[lsw5-vlan100]int g0/0/1
[lsw5-GigabitEthernet0/0/1]port link-type trunk
[lsw5-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[lsw5-GigabitEthernet0/0/1]int g0/0/2
[lsw5-GigabitEthernet0/0/2]port link-type access
[lsw5-GigabitEthernet0/0/2]port default vlan 100
[lsw5-GigabitEthernet0/0/2]quit

AC1:
sys
Enter system view, return user view with Ctrl+Z.
[AC6605]
[AC6605]sysname AC1
[AC1]VLAN 100
Info: This operation may take a few seconds. Please wait for a moment…done.
[AC1-vlan100]
[AC1-vlan100]int g0/0/1
[AC1-GigabitEthernet0/0/1]port link-type trunk
[AC1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100
[AC1-GigabitEthernet0/0/1]Quit
[AC1]dhcp enable
Info: The operation may take a few seconds. Please wait for a moment.done.
[AC1]int vlanif 100
[AC1-Vlanif100]ip add 172.16.100.254 24
[AC1-Vlanif100]dhcp select interface
[AC1]capwap source interface vlanif 100

AP1:
dis ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0

Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 172.16.100.176/24 up up

ping 172.16.100.254
PING 172.16.100.254: 56 data bytes, press CTRL_C to break
Reply from 172.16.100.254: bytes=56 Sequence=1 ttl=255 time=200 ms
Reply from 172.16.100.254: bytes=56 Sequence=2 ttl=255 time=100 ms
Reply from 172.16.100.254: bytes=56 Sequence=3 ttl=255 time=90 ms
Reply from 172.16.100.254: bytes=56 Sequence=4 ttl=255 time=100 ms
Reply from 172.16.100.254: bytes=56 Sequence=5 ttl=255 time=80 ms

— 172.16.100.254 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 80/114/200 ms

dis interface vlanif 1
Vlanif1 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-08-29 18:06:53 UTC-05:13
Description:HUAWEI, AP Series, Vlanif1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is allocated by DHCP, 172.16.100.176/24
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc93-6250
Current system time: 2024-08-29 19:15:43-05:13
Input bandwidth utilization : –
Output bandwidth utilization : –

AP2:
dis ip int b
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0

Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 172.16.100.171/24 up up

dis int vlanif 1
Vlanif1 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-08-30 00:35:00 UTC-05:13
Description:HUAWEI, AP Series, Vlanif1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is allocated by DHCP, 172.16.100.171/24
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc32-6ac0
Current system time: 2024-08-29 19:26:10-05:13
Input bandwidth utilization : –
Output bandwidth utilization : –

ping 172.16.100.254
PING 172.16.100.254: 56 data bytes, press CTRL_C to break
Reply from 172.16.100.254: bytes=56 Sequence=1 ttl=255 time=200 ms
Reply from 172.16.100.254: bytes=56 Sequence=2 ttl=255 time=90 ms
Reply from 172.16.100.254: bytes=56 Sequence=3 ttl=255 time=70 ms
Reply from 172.16.100.254: bytes=56 Sequence=4 ttl=255 time=100 ms
Reply from 172.16.100.254: bytes=56 Sequence=5 ttl=255 time=60 ms

— 172.16.100.254 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 60/104/200 ms

AC1:G0/0/1口抓包
在这里插入图片描述

在这里插入图片描述

AC1:
[AC1]wlan
[AC1-wlan-view]regulatory-domain-profile name 1
[AC1-wlan-regulate-domain-1]country-code cn
Info: The current country code is same with the input country code.
[AC1-wlan-regulate-domain-1]quit
[AC1-wlan-view]ap-group name 1
Info: This operation may take a few seconds. Please wait for a moment.done.
[AC1-wlan-ap-group-1]regulatory-domain-profile 1
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
[AC1-wlan-view]ap-id 1 ap-mac 00e0-fc93-6250
[AC1-wlan-ap-1]ap-name ycg
[AC1-wlan-ap-1]ap-group 1

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.
[AC1-wlan-view]ap-id 2 ap-mac 00e0-fc32-6ac0
[AC1-wlan-ap-2]ap-name ycg2
[AC1-wlan-ap-2]ap-group 1

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.

[AC1-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


1 00e0-fc93-6250 ycg 1 172.16.100.176 AP6050DN nor 0 2M:23S
2 00e0-fc32-6ac0 ycg2 1 172.16.100.171 AP6050DN nor 0 2S


Total: 2

[AC1]wlan
[AC1-wlan-view]dis this

wlan
traffic-profile name default
security-profile name default
security-profile name default-wds
security-profile name default-mesh
ssid-profile name default
vap-profile name default
wds-profile name default
mesh-handover-profile name default
mesh-profile name default
regulatory-domain-profile name 1
regulatory-domain-profile name default
air-scan-profile name default
rrm-profile name default
radio-2g-profile name default
radio-5g-profile name default
wids-spoof-profile name default
wids-profile name default
wireless-access-specification
ap-system-profile name default
port-link-profile name default
wired-port-profile name default
serial-profile name preset-enjoyor-toeap
ap-group name 1
regulatory-domain-profile 1
ap-group name default
ap-id 1 type-id 56 ap-mac 00e0-fc93-6250 ap-sn 210235448310743EF65C
ap-name ycg
ap-group 1
ap-id 2 type-id 56 ap-mac 00e0-fc32-6ac0 ap-sn 21023544831065599A16
ap-name ycg2
ap-group 1

provision-ap

AP1:

dis ip int b
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
(E): E-Trunk down
The number of interface that is UP in Physical is 2
The number of interface that is DOWN in Physical is 0
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 0

Interface IP Address/Mask Physical Protocol
NULL0 unassigned up up(s)
Vlanif1 172.16.100.176/24 up up

AP2:
****dis int vlanif 1
Vlanif1 current state : UP
Line protocol current state : UP
Last line protocol up time : 2024-08-30 00:35:00 UTC-05:13
Description:HUAWEI, AP Series, Vlanif1 Interface
Route Port,The Maximum Transmit Unit is 1500
Internet Address is allocated by DHCP, 172.16.100.171/24
IP Sending Frames’ Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc32-6ac0
Current system time: 2024-08-29 19:26:10-05:13
Input bandwidth utilization : –
Output bandwidth utilization : –

AP1 和AP2名称均改变,并且在AC1 WLAN配置中可以查看到AP-ID1 和2,AC1 显示2个AP在线,实验成功。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2086338.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

vue-ueditor-wrap设置autoHeightEnabled:true无效问题

问题描述 今天小伙伴遇到一个问题,使用vue-ueditor-wrap富文本编辑器,发现设置autoHeightEnabled为true后,对于某些文章,编辑器的高度依然没有按照实际的文章内容高度进行变化: 问题排查 通过调试代码发现是文章html…

C语言实现经典排序算法

1.排序的概念及其运用 1.1排序的概念 排序:所谓排序,就是使一串记录,按照其中的某个或某些关键字的大小,递增或递减的排列起来的操作。 稳定性:假定在待排序的记录序列中,存在多个具有相同的关键字的记…

SAP BW/BPC:实现自动执行BPC跑包程序

作者 idan lian 如需转载备注出处 如果对你有帮助,请点赞收藏~~~ 用途:创建程序,跑BPC包,把数据从BW应用层跑到BPC,程序可放到处理链或自动作业中,实现定时跑包。 1.步骤 首先需要BPC顾问创建一个他们手动执行的包…

数据挖掘之分类算法

分类算法是数据挖掘中常用的一类算法,其主要任务是根据已知的训练数据(即带有标签的数据)构建模型,然后利用该模型对新的数据进行分类。分类算法广泛应用于金融、医疗、市场营销等领域,用于预测、决策支持等任务。以下…

并查集【算法 12】

并查集 (Union-Find) 的基础概念与实现 并查集(Union-Find)是一种用于处理不相交集合(disjoint sets)的数据结构,常用于解决连通性问题。典型的应用场景包括动态连通性问题(如网络节点连通性检测&#xff0…

数据库sqlite3

数据库 数组、链表、变量 ----->内存:程序运行结束,掉电数据丢失 文件 ----------------------->硬盘:程序运行结束,掉电数据不丢失 数据库:专业存储数据、大量数据 ----->硬盘 常用数据库: …

linux 如何查看cpu核心数量

在Linux系统中,有多种方法可以查看CPU的核心数量。 一、lscpu lscpu命令是最直接的方法之一,它可以显示CPU架构信息,包括CPU数量、每个CPU的核心数、每个核心的线程数等。要查看CPU核心数量,可以直接查看lscpu命令输出的Core(s) …

力扣面试150 删除排序链表中的重复元素 II 哑兵 双指针

Problem: 82. 删除排序链表中的重复元素 II 👨‍🏫 灵神题解 Code /*** Definition for singly-linked list.* public class ListNode {* int val;* ListNode next;* ListNode() {}* ListNode(int val) { this.val val; }* List…

企业车辆|基于SprinBoot+vue的企业车辆管理系统(源码+数据库+文档)

企业车辆管理系统 基于SprinBootvue的企业车辆管理系统 一、前言 二、系统设计 三、系统功能设计 系统功能实现 后台模块实现 管理员模块实现 驾驶员模块实现 四、数据库设计 五、核心代码 六、论文参考 七、最新计算机毕设选题推荐 八、源码获取: 博主…

悬浮翻译软件有哪些?试试这些利器

在观看外国电影或电视剧的奇幻旅程中,面对字幕如流星般划过屏幕,是否渴望能即时捕捉每一个细微的情感涟漪与幽默火花,让体验更加完整无憾? 此刻,无需再为语言障碍而烦恼!悬浮翻译器电脑版作为你贴心的跨文…

新买的笔记本只有一个C盘,进行磁盘分区的操作

开始是这样的: 快捷键 window x 找到磁盘管理 102,400M 100GB 然后右键重命名磁盘名字 最终得到结果如下:

SpringBoot+Vue的AI智能图书馆系统来袭!!

SpringBootVue的AI智能图书馆系统来袭!! 一、项目介绍用户(借阅人)图书管理员系统管理员 二、相关技术栈三、项目演示管理员登录用户登录 四、相关地址总结 大家好,这里是程序猿代码之路。在数字化时代的浪潮中&#x…

Python办公自动化 获取文本数据 支持多种类型文件

学好办公自动化,走遍天下都不怕!! 前面我们已经学习了,如何用python的下载安装以及入门基础知识,并且也知道如何使用python自动处理Excel文件数据、如何批量生成Word文件、如何对数据分析后生成洞察报告、如何用python实现自动发送…

【自由能系列(初级)】自由能原理——神经科学的“能量守恒”方程

【通俗理解】自由能原理——神经科学的“能量守恒”方程 关键词提炼 #自由能原理 #KL散度 #生成模型 #识别密度 #观测数据 #神经科学 第一节:自由能原理的类比与核心概念 1.1 自由能原理的类比 自由能原理在神经科学中的应用,可以类比为一个“大脑的…

Java 面试题:HTTP版本演变--xunznux

文章目录 HTTP版本演变HTTP/0.9HTTP/1.0HTTP/1.1新引入:问题:长连接是什么:管道网络传输:队头阻塞是什么?解决http队头阻塞的方法:HTTP1.1常见性能问题为解决HTTP1.1性能问题而提出的常见优化手段 HTTP/21、…

数据库(专业存储数据)

数组、链表、变量----->内存:程序运行结束,数据丢失 文件-------------->硬盘 数据库:专业存储数据,大量数据----------->硬盘 一、数据库文件与普通文件区别: 1.普通文件对数据管理(增刪改查)效率低 2.数据库对数据…

UNI-APP 打包构建 APK

UNI-APP 打包构建 APK 前言一、WINDOWS(在线 - 纯命令版)依赖其他前置准备实现原理操作步骤 二、WINDOWS(离线 - Android Studio 版)依赖(首次构建需要联网安装依赖)其他前置准备实现原理操作步骤 三、WIND…

【QT】学习笔记:处理数据库 SQLite

在 Qt 中使用 SQLite 数据库非常简单,Qt 提供了 QSqlDatabase 和 QSqlQuery 类来处理数据库的连接、查询、插入、更新和删除等操作。下面是一个示例程序,展示如何在 Qt 中使用 SQLite 数据库。 示例代码 1. 项目配置 首先,确保在项目的 .p…

李宏毅 机器学习与深度学习【2022版】 03

文章目录 一、卷积神经网络CNN二、使用验证集,模型还过拟合的原因三、深度学习的优点四、Spatial Transformer Layer 一、卷积神经网络CNN CNN在影像识别中,表现比较好。 每个感受野 receptive field 都有一个神经元去探测鸟嘴,是没有没要的…

Vue(三)内置指令v-text、html、cloak、once、pre;自定义指令的三种方式、Vue生命周期

文章目录 1. 内置指令1.1 v-text、v-html指令1.2 v-cloak指令1.3 v-once指令1.4 v-pre指令 2. 自定义指令(directives)2.1 函数式2.2 对象式2.3 注意点 3. 生命周期3.1 挂载流程3.2 更新流程3.3 销毁流程 1. 内置指令 1.1 v-text、v-html指令 v-text与v-html都是向所在的节点…