拓扑图

Sw3

接口配置

Vlan batch 10 101 102

[sw3-zk-GigabitEthernet0/0/1]port link-type trunk

[sw3-zk-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 101 102

[sw3-zk-GigabitEthernet0/0/1]undo port trunk allow-pass vlan 1

[sw3-zk-GigabitEthernet0/0/1]

[sw3-zk-GigabitEthernet0/0/2]port link-type trunk

[sw3-zk-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 101 102

[sw3-zk-GigabitEthernet0/0/2]undo port trunk allow-pass vlan 1

[sw3-zk-GigabitEthernet0/0/2]

[sw3-zk-GigabitEthernet0/0/3]port link-type trunk

[sw3-zk-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 101 102

[sw3-zk-GigabitEthernet0/0/3]undo port trunk allow-pass vlan 1

[sw3-zk-GigabitEthernet0/0/3]

打标配置

[sw3-zk-GigabitEthernet0/0/1]port trunk pvid vlan 10

[sw3-zk-GigabitEthernet0/0/2]port trunk pvid vlan 10

Sw2

接口配置

[sw2-zk]vlan batch 10 101 102 100

[sw2-zk-GigabitEthernet0/0/1]di th

#

interface GigabitEthernet0/0/1

port link-type trunk

undo port trunk allow-pass vlan 1

port trunk allow-pass vlan 10 100 to 101

interface GigabitEthernet0/0/2

port link-type trunk

port trunk allow-pass vlan 100

配置IP地址

Interface                         IP Address/Mask      Physical   Protocol

MEth0/0/1                         unassigned           down       down

NULL0                             unassigned           up         up(s)

Vlanif1                           unassigned           up         down

Vlanif10                          10.1.10.1/24         up         up

Vlanif100                         10.1.100.2/24        up         up

Vlanif101                         10.1.101.1/24        up         up

Vlanif102                         10.1.102.1/24        down       down

配置中继

[sw2-zk]dhcp enable

[sw2-zk-Vlanif10]dhcp select relay

[sw2-zk-Vlanif10]dhcp relay server-ip 10.1.100.1

分配地址

[sw2-zk-Vlanif101]dhcp select interface

[sw2-zk-Vlanif102]dhcp select interface

Ac1

配置接口

#

interface GigabitEthernet0/0/1

port link-type trunk

port trunk allow-pass vlan 100

配置IP地址

[ac-zk-Vlanif100]ip ad

[ac-zk-Vlanif100]ip address 10.1.100.1 24

配置路由

[ac-zk]ip route-static 0.0.0.0 0 10.1.100.2

配置DHCP地址池

[ac-zk]dhcp enable

[ac-zk]ip pool zk

[ac-zk-ip-pool-zk]net

[ac-zk-ip-pool-zk]network 10.1.10.0 ma 

[ac-zk-ip-pool-zk]network 10.1.10.0 mask 255.255.255.0

[ac-zk-ip-pool-zk]gateway-list 10.1.10.1

[ac-zk-ip-pool-zk]option 43 sub-option 3 ascii 10.1.100.1 //宣告AC地址给AP

[ac-zk-Vlanif100]dhcp select global  //引用全局地址池

 创建vlan池,并加入101 102

[ac-zk]vlan pool sta-pool

[ac-zk-vlan-pool-sta-pool]vlan 101 102

[ac-zk-vlan-pool-sta-pool]assignment hash  //哈希随机分配

  

WLAN

创建AP组

[ac-zk-wlan-view]ap-group name ap-group1  //创建ap组1

[ac-zk-wlan-view]regulatory-domain-profile name default//设置域管理模块 叫default

[ac-zk-wlan-regulate-domain-default]country-code CN //设置国家代码

[ac-zk-wlan-view]ap-group  name ap-group1

[ac-zk-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

//将域管理模块添加到AP组中

建立capwap隧道

[ac-zk]capwap source interface Vlanif 100  //在AC上通过vlanif100的地址和AP建立capwa隧道

AP认证

[ac-zk-wlan-view]ap auth-mode mac-auth  //基于mac地址的认证模式

[ac-zk-wlan-view]ap-id 1 ap-mac 00e0-fc61-26d0  //选择AP1的mac地址

[ac-zk-wlan-view]ap-id 2 ap-mac 00e0-fc46-55e0   //选择AP2的mac地址

取名加入同一组中

[ac-zk-wlan-ap-1]ap-name ap1

[ac-zk-wlan-ap-2]ap-name ap2

 

[ac-zk-wlan-ap-1]ap-group ap-group1   //将AP加入组中

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-zk-wlan-ap-1]ap-id 2

[ac-zk-wlan-ap-2]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-zk-wlan-view]security-profile name wlan-net  //取名wlan-net

[ac-zk-wlan-sec-prof-wlan-nat]security wpa-wpa2 psk pass-phrase zk123456 aes   //设置安全机制wpa-wpa2 和 认证方式psk  设置登录连接密码  ase代表加密

配置ssid  (指连接账号的名称)

[ac-zk-wlan-view]ssid-profile name wlan-net  //取名

[ac-zk-wlan-ssid-prof-wlan-nat]ssid wlan-net   //取名

Info: This operation may take a few seconds, please wait.done.

设置vap模板

[ac-zk-wlan-view]vap-profile name wlan-net  //取名

[ac-zk-wlan-vap-prof-wlan-net]forward-mode direct-forward //转发方式为直接转发

[ac-zk-wlan-vap-prof-wlan-net]service-vlan vlan-pool sta-pool

Info: This operation may take a few seconds, please wait.done.

[ac-zk-wlan-vap-prof-wlan-net]security-profile wlan-net

Info: This operation may take a few seconds, please wait.done. //关联安全模板

[ac-zk-wlan-vap-prof-wlan-net]ssid-profile wlan-net   //关联ssid

Info: This operation may take a few seconds, please wait.done.

[ac-zk-wlan-ap-group-ap-group1]vap-profile wlan-net wlan 1 radio 0

Info: This operation may take a few seconds, please wait...done.

[ac-zk-wlan-ap-group-ap-group1]vap-profile wlan-net wlan 1 radio 1

Info: This operation may take a few seconds, please wait...done.

[ac-zk-wlan-ap-group-ap-group1]

//应用安全模板

--------------------------------------------配置完成

查看是否上线

抓包发现还是生成树

为加快收敛速度,在S3上设置边缘端口

[sw3-zk]int GigabitEthernet 0/0/1

[sw3-zk-GigabitEthernet0/0/1]stp edged-port enable

[sw3-zk-GigabitEthernet0/0/2]stp edged-port enable

并在AP1上 重启vlanif1和g0/0/0端口

[Huawei-Vlanif1]shutdown

[Huawei-Vlanif1]undo shutdown

[Huawei-Vlanif1]q

[Huawei]int g     

[Huawei]int GigabitEthernet 0/0/0

[Huawei-GigabitEthernet0/0/0]shut     

[Huawei-GigabitEthernet0/0/0]shutdown

===== CAPWAP LINK IS UP!!! =====

AP2上不做操作,对比收敛速度

可以发现AP1的端口还没重启完就已经收敛成功,而AP2还未成功

重新操作AP2

收敛成功

连接验证

华为ENSP Wlan实验题相关推荐

  1. 华为ensp小实验(路由下发+Easy IP+单臂路由+OSPF+Rip)

    小实验(路由下发+Easy IP+单臂路由+OSPF+Rip) 前言 一.实验及需求 1.实验题 2.需求 二.思维想法 三.实验步骤 1.配置 R1 R2 R3 R4 R5 LSW1 LSW2 LS ...

  2. 实验题·华为eNSP综合实验操作

    华为综合实验 文章目录 华为综合实验 实验环境 需求描述 实验步骤 1.配置二层交换机SW1 2.配置二层交换机SW2 3.配置三层交换机SW3 4.配置二层交换机SW4 5.配置路由器R1 6.PC ...

  3. 华为eNSP综合实验

    华为综合实验 实验目标 实验步骤 SW2二层配置信息 SW3二层配置信息 SW1三层配置信息 R3路由器配置信息 AR1路由器配置信息 R2路由器配置信息 SW4二层交换机配置信息 总结 实验目标 企 ...

  4. 华为eNSP——综合实验(公司内部网络访问外网的模拟)

    文章目录 一.实验环境 二.实验目的 1. 实验目的1 2. 实验目的2 三.实验过程 R1 R2 R3 R4 R5 RSW1 RSW2 SW7 一.实验环境 5台路由器,7台路交换机,1台服务器,7 ...

  5. 华为eNSP—三层交换实验

    文章目录 前言: 实验1: 实验环境 实验需求 实验步骤 1.配置交换机1 2.配置交换机2 3.同vlan主机ping通 4.不同vlan主机无法ping通 实验2 实验环境 实验需求 实验步骤 1 ...

  6. 华为ensp模拟器实验:端口安全绑定MAC地址ip地址

    端口安全,交换机会通过MAC地址表记录连接到交换机端口的以太网MAC地址,并只允许某个MAC地址通过本端口通信.使用端口安全特性可以防止未经允许的设备访问网络,并增强安全性.另外,端口安全特性也可用于 ...

  7. 华为ENSP——WLAN射频调优

    当你AP上线且放射信号区域的时候,进行对信道放射信号的调优!!! 做好一切配置后. 射频的信道和功率自动调优功能默认开启,如果不关闭此功能则会导致手动配置不生效.举例中AP射频的信道和功率仅为示例,实 ...

  8. 华为ensp基础实验(一)

    静态路由基础 vlan基础配置 双臂路由(太繁琐 一般不会用到) 单臂路由

  9. 计算机网络实验(华为eNSP模拟器)——第十二章 VLAN集中管理协议(VCMP)

    目录 前言❗❗❗ 一.实验原理 二.实验要求 三.实验内容 (一)配置PC (二)配置交换机接口的链路类型 (三)设置VCMP角色 (四)配置管理域的域名 *(五)配置VCMP管理域的认证密码 (六) ...

最新文章

  1. ccc计算机比赛如何报名,整理:加拿大的CCC是什么,怎么报名?
  2. C# Excel 导入
  3. [蓝桥杯][2017年第八届真题]正则问题(DFS)
  4. 使用HIBERNATE的SQL查询并将结果集自动转换成POJO
  5. js中递归调用返回值为undefined问题
  6. pycharm如何设置python版本、设置国内pip镜像、添加第三方类库
  7. arp病毒的解决方法
  8. 本地yum源安装teamviewer
  9. win10 android fastboot usb驱动
  10. ORL人脸数据库matlab,orl ORL人脸数据库,用于图形图像处理,对新接触MATLAB的人来说是一个很好用而且比较简单 238万源代码下载- www.pudn.com...
  11. Linux SVN忽略文件夹更新的命令与方法
  12. Excel游戏—制作数字炸弹小游戏
  13. python数据拟合方法_Python-最小二乘法曲线拟合
  14. POJ3764 字典树
  15. 穿越熊市?用 Python 自制指数估值图
  16. Android解析SRT字幕文件
  17. OSChina 周一乱弹 —— 无双什么都好,但不是芙妹
  18. php开启sockets模块,linux下开启php的sockets扩展支持实例
  19. mysql 的 虚拟表(DUAL)的介绍及使用场景---条件插入insert
  20. 物联网设备数据流转之前后端数据交互与展示:Layout, Cascader, Card, Dialog, Table, Pagination

热门文章

  1. 百度、腾讯和阿里巴巴 12大隐藏良心级实用功能
  2. 短信验证码登录需求的坑点整理
  3. SQL Server 2008新特性之压缩备份(backup compression)
  4. 权限如何和系统进行挂钩_将人肺与猪挂钩可以将它们保存下来进行移植
  5. HNUST 1231 趣味程序设计_猜牌术(-)
  6. 【附源码】计算机毕业设计java智能仓储设备管理系统设计与实现
  7. 龙门标局:R商标是指什么?购买的商标能标注R吗?
  8. 爬取《你好,李焕英》影评,并生成词云图
  9. JVM设置Young Gen大小
  10. 安科瑞Acrel-BUS智能照明控制系统在医院的应用