校园网ensp模拟搭建

这篇具有很好参考价值的文章主要介绍了校园网ensp模拟搭建。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

文章目录

  • 前言
  • 目录

  • 一、校园网拓扑图

  • 二、地址规划 

  • 三、配置命令

    • 1、二层配置

    • 2、三层配置

    •  3、AC配置重头戏来啦

  • 配置设备的国家码

  • 查看AP的MAC地址

    • 方法一

    • 方法二 
  • 配置AP鉴别模式
  •  创建安全模板
  • 创建SSID模板
  • 创建VAP模板
  • 为射频引用VAP模板
  • 总结

前言

学校最近在安装校园网,然后我也就试着用ensp搭建了一下,还请大佬多多指教啊

一、校园网拓扑图

校园网ensp模拟搭建

下面是AP进入就绪状态

二、地址规划 

校园网ensp模拟搭建

三、配置命令

1.二层配置

代码如下:

1. LSW5

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info ena
Info: Information center is disabled.
[Huawei]vlan batch 2 4 6
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port l trunk 
[Huawei-GigabitEthernet0/0/1]port trunk allow vlan 1 2 4
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]port l acc
[Huawei-Ethernet0/0/1]port def vlan 6
[Huawei-Ethernet0/0/1]q
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port l trunk 
[Huawei-GigabitEthernet0/0/2]port trunk allow vlan 1 2 4 6
[Huawei-GigabitEthernet0/0/2]q
[Huawei]

 LSW2 和 LSW3 的命令行和接口配置过程和LSW1相同,后面的就自己配置啦

 2. LSW8

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info ena
Info: Information center is disabled.
[Huawei]vlan batch 3 5 7
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port l trunk 
[Huawei-GigabitEthernet0/0/1]port trunk allow vlan 1 3 5
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port l trunk 
[Huawei-GigabitEthernet0/0/2]port trunk allow vlan 1 3 5 7 
[Huawei-GigabitEthernet0/0/2]q
[Huawei]int e0/0/1
[Huawei-Ethernet0/0/1]port l acc
[Huawei-Ethernet0/0/1]port def vlan 7
[Huawei-Ethernet0/0/1]q

 LSW9的命令行和接口配置过程和LSW1相同,后面的就自己配置啦

2、三层配置

 3.LSW2

三层交换机接出去有两条链路,这he里我们做一个Eth-trunk 来实现负载均衡。

src-dst-mac 这条语句的意思是根据源mac和目标mac进行分流

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info ena
Info: Information center is disabled.
[Huawei]vlan batch 8 9 10
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port l acc
[Huawei-GigabitEthernet0/0/1]port def vlan 8
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port l acc
[Huawei-GigabitEthernet0/0/2]port def vlan 9
[Huawei-GigabitEthernet0/0/2]int g0/0/3
[Huawei-GigabitEthernet0/0/3]port l acc
[Huawei-GigabitEthernet0/0/3]port def vlan 10
[Huawei-GigabitEthernet0/0/3]q
[Huawei]int eth-trunk 1
[Huawei-Eth-Trunk1]mode lacp 
[Huawei-Eth-Trunk1]max active 2
[Huawei-Eth-Trunk1]load-balance src-dst-mac //根据源mac和目标mac进行分流
[Huawei-Eth-Trunk1]q
[Huawei]int g0/0/4
[Huawei-GigabitEthernet0/0/4]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/4]int g0/0/5
[Huawei-GigabitEthernet0/0/5]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/5]int eth-trunk 1
[Huawei-Eth-Trunk1]port l trunk 
[Huawei-Eth-Trunk1]port trunk allow vlan 8 9 10
[Huawei-Eth-Trunk1]q
[Huawei]

4. LSW3

LSW3接出去也是用Eth-trunk链路聚合技术来实现负载均衡,配置路由协议,使全网通讯

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info ena 
Info: Information center is disabled.
[Huawei]vlan batch 2 4 6 11
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port l trunk 
[Huawei-GigabitEthernet0/0/1]port trunk allow vlan 1 2 4 6
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port l trunk 
[Huawei-GigabitEthernet0/0/2]port trunk allow vlan 1 2 4 6
[Huawei-GigabitEthernet0/0/2]int g0/0/3
[Huawei-GigabitEthernet0/0/3]port l trunk 
[Huawei-GigabitEthernet0/0/3]port trunk allow vlan 1 2 4 6
[Huawei-GigabitEthernet0/0/3]q
[Huawei]int eth-trunk 1
[Huawei-Eth-Trunk1]mode lacp 
[Huawei-Eth-Trunk1]max active 2
[Huawei-Eth-Trunk1]load-balance src-dst-mac
[Huawei-Eth-Trunk1]q
[Huawei]int g0/0/4 
[Huawei-GigabitEthernet0/0/4]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/4]q
[Huawei]int g0/0/5 
[Huawei-GigabitEthernet0/0/5]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/5]q
[Huawei]int eth-trunk 1
[Huawei-Eth-Trunk1]port l trunk 
[Huawei-Eth-Trunk1]port trunk allow vlan 1 2 4 11
[Huawei-Eth-Trunk1]q
[Huawei]int vlanif 2
[Huawei-Vlanif2]ip add 192.168.2.254 24
[Huawei-Vlanif2]int vlanif 4
[Huawei-Vlanif4]ip add 192.168.4.254 24
[Huawei-Vlanif4]int vlanif 6
[Huawei-Vlanif6]ip add 192.168.6.254 24
[Huawei-Vlanif6]int vlanif 11
[Huawei-Vlanif11]ip add 192.168.11.254 24
[Huawei-Vlanif11]q
[Huawei]ospf 7
[Huawei-ospf-7]area 1
[Huawei-ospf-7-area-0.0.0.1]net 192.168.2.0 0.0.0.255
[Huawei-ospf-7-area-0.0.0.1]net 192.168.4.0 0.0.0.255
[Huawei-ospf-7-area-0.0.0.1]net 192.168.6.0 0.0.0.255
[Huawei-ospf-7-area-0.0.0.1]net 192.168.11.0 0.0.0.255
[Huawei-ospf-7-area-0.0.0.1]q
[Huawei-ospf-7]dhcp ena
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]int vlanif 2
[Huawei-Vlanif2]dhcp se int //启动dhcp服务器基于接口地址池的IP地址分配方式
[Huawei-Vlanif2]int  vlanif 4
[Huawei-Vlanif4]dhcp se int 
[Huawei-Vlanif4]q
[Huawei]

 5.LSW4

LSW4和LSW3的配置大差不差,差不了多少

同样的用Eth-trunk链路聚合技术来实现负载均衡

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info ena
Info: Information center is disabled.
[Huawei]vlan batch 3 5 7 12
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]port l trunk 
[Huawei-GigabitEthernet0/0/1]port trunk allow vlan 1 3 5 7
[Huawei-GigabitEthernet0/0/1]q
[Huawei]int g0/0/2
[Huawei-GigabitEthernet0/0/2]port l trunk 
[Huawei-GigabitEthernet0/0/2]port trunk allow vlan 1 3 5 7
[Huawei-GigabitEthernet0/0/2]q
[Huawei]int eth-trunk 1
[Huawei-Eth-Trunk1]mode lacp 
[Huawei-Eth-Trunk1]max active 2
[Huawei-Eth-Trunk1]load-balance src-dst-mac
[Huawei-Eth-Trunk1]q
[Huawei]int g0/0/3
[Huawei-GigabitEthernet0/0/3]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/3]int g0/0/4
[Huawei-GigabitEthernet0/0/4]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/4]int  eth-trunk 1
[Huawei-Eth-Trunk1]port l trunk 
[Huawei-Eth-Trunk1]port trunk allow vlan 1 3 5 12
[Huawei-Eth-Trunk1]q
[Huawei]int vlanif 3
[Huawei-Vlanif3]ip add 192.168.3.254 24
[Huawei-Vlanif3]int vlanif 5
[Huawei-Vlanif5]ip add 192.168.5.254 24
[Huawei-Vlanif5]int vlanif 7
[Huawei-Vlanif7]ip add 192.168.7.254 24
[Huawei-Vlanif7]int vlanif 12
[Huawei-Vlanif12]ip add 192.168.12.254 24
[Huawei-Vlanif12]q
[Huawei]ospf 8
[Huawei-ospf-8]area 1
[Huawei-ospf-8-area-0.0.0.1]net 192.168.3.0 0.0.0.255
[Huawei-ospf-8-area-0.0.0.1]net 192.168.5.0 0.0.0.255
[Huawei-ospf-8-area-0.0.0.1]net 192.168.7.0 0.0.0.255
[Huawei-ospf-8-area-0.0.0.1]net 192.168.12.0 0.0.0.255
[Huawei-ospf-8-area-0.0.0.1]q
[Huawei-ospf-8]q
[Huawei]dhcp ena
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]int vlanif 3
[Huawei-Vlanif3]dhcp se int 
[Huawei-Vlanif3]int vlanif 5
[Huawei-Vlanif5]dhcp se int
[Huawei-Vlanif5]q
[Huawei]

 LSW1算是核心的三层设备了,同样也是配置Eth-trunk链路聚合技术来实现负载均衡

 校园网ensp模拟搭建

 LSW1配置命令

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info ena
Info: Information center is disabled.
[Huawei]vlan batch 2 3 4 5 8 9 10 11 12
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei]int eth-trunk 1
[Huawei-Eth-Trunk1]mode lacp 
[Huawei-Eth-Trunk1]max active 2
[Huawei-Eth-Trunk1]load-balance src-dst-mac
[Huawei-Eth-Trunk1]q
[Huawei]int eth-trunk 2
[Huawei-Eth-Trunk2]mode lacp 
[Huawei-Eth-Trunk2]max active 2
[Huawei-Eth-Trunk2]load-balance src-dst-mac
[Huawei-Eth-Trunk2]q
[Huawei]int eth-trunk 3
[Huawei-Eth-Trunk3]mode lacp 
[Huawei-Eth-Trunk3]max active 2
[Huawei-Eth-Trunk3]load-balance src-dst-mac
[Huawei-Eth-Trunk3]q
[Huawei]int g0/0/1
[Huawei-GigabitEthernet0/0/1]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/1]int g0/0/2
[Huawei-GigabitEthernet0/0/2]eth-trunk 1
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/2]int g0/0/3
[Huawei-GigabitEthernet0/0/3]eth-trunk 2
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/3]int g0/0/4
[Huawei-GigabitEthernet0/0/4]eth-trunk 2
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/4]int g0/0/5
[Huawei-GigabitEthernet0/0/5]eth-trunk 3
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/5]int g0/0/6
[Huawei-GigabitEthernet0/0/6]eth-trunk 3
Info: This operation may take a few seconds. Please wait for a moment...done.
[Huawei-GigabitEthernet0/0/6]q
[Huawei]int eth-trunk 1
[Huawei-Eth-Trunk1]port l trunk
[Huawei-Eth-Trunk1]port trunk allow vlan 1 2 4 11
[Huawei-Eth-Trunk1]int eth-trunk 2
[Huawei-Eth-Trunk2]port l trunk
[Huawei-Eth-Trunk2]port trunk allow vlan 1 3 5 12
[Huawei-Eth-Trunk2]int eth-trunk 3
[Huawei-Eth-Trunk3]port l trunk
[Huawei-Eth-Trunk3]port trunk allow vlan 8 9 10
[Huawei-Eth-Trunk3]q
[Huawei]int g0/0/7
[Huawei-GigabitEthernet0/0/7]port l trunk 
[Huawei-GigabitEthernet0/0/7]port trunk allow vlan 1 to 5
[Huawei-GigabitEthernet0/0/7]q
[Huawei]int vlanif 1
[Huawei-Vlanif1]ip add 192.168.1.254 24
[Huawei-Vlanif1]q
[Huawei]int vlanif 8
[Huawei-Vlanif8]ip add 192.168.8.254 24
[Huawei-Vlanif8]q
[Huawei]int vlanif 9
[Huawei-Vlanif9]ip add 192.168.9.254 24
[Huawei-Vlanif9]q
[Huawei]int vlanif 10
[Huawei-Vlanif10]ip add 192.168.10.254 24
[Huawei-Vlanif10]q
[Huawei]int vlanif 11
[Huawei-Vlanif11]ip add 192.168.11.254 24
[Huawei-Vlanif11]q
[Huawei]int vlanif 12
[Huawei-Vlanif12]ip add 192.168.12.254 24
[Huawei-Vlanif12]q
[Huawei]ospf 9
[Huawei-ospf-9]area 1
[Huawei-ospf-9-area-0.0.0.1]net 192.168.1.0 0.0.0.255
[Huawei-ospf-9-area-0.0.0.1]net 192.168.8.0 0.0.0.255
[Huawei-ospf-9-area-0.0.0.1]net 192.168.9.0 0.0.0.255
[Huawei-ospf-9-area-0.0.0.1]net 192.168.10.0 0.0.0.255
[Huawei-ospf-9-area-0.0.0.1]net 192.168.11.0 0.0.0.255
[Huawei-ospf-9-area-0.0.0.1]net 192.168.12.0 0.0.0.255
[Huawei-ospf-9-area-0.0.0.1]q
[Huawei-ospf-9]q
[Huawei]dhcp ena
Info: The operation may take a few seconds. Please wait for a moment.done.
[Huawei]int vlanif 1
[Huawei-Vlanif1]dhcp se int 
[Huawei-Vlanif1]q
[Huawei]

 3.AC配置重头戏来啦

[AC6005]undo info ena
Info: Information center is disabled.
[AC6005]
[AC6005]vlan batch 2 3 4 5
Info: This operation may take a few seconds. Please wait for a moment...done.
[AC6005]
[AC6005]int g0/0/1
[AC6005-GigabitEthernet0/0/1]
[AC6005-GigabitEthernet0/0/1]port l trunk 
[AC6005-GigabitEthernet0/0/1]
[AC6005-GigabitEthernet0/0/1]port trunk allow vlan 1 to 5
[AC6005-GigabitEthernet0/0/1]
[AC6005-GigabitEthernet0/0/1]q
[AC6005]
[AC6005]int vlanif 1
[AC6005-Vlanif1]
[AC6005-Vlanif1]ip add 192.168.1.253 24
Error: The address already exists.
[AC6005-Vlanif1]
[AC6005-Vlanif1]q
[AC6005]
[AC6005]wlan  //从系统识视图进入wlan视图
[AC6005-wlan-view]
[AC6005-wlan-view]ap-gr name apg1  //创建AP组
[AC6005-wlan-ap-group-apg1]
[AC6005-wlan-ap-group-apg1]q
[AC6005-wlan-view]
[AC6005-wlan-view]ap-gr name apg2  //创建AP组
[AC6005-wlan-ap-group-apg2]
[AC6005-wlan-ap-group-apg2]q
[AC6005-wlan-view]

配置设备的国家码

[AC6005-wlan-view] regulatory-domain-profile name domain

这条语句创建域管理模板,并进入域管理模板视图,若域管理模板已经存在,则直接进入域管理识图模板。

[AC6005-wlan-view] country-code CN

这条语句配置设备的国家码

[AC6005-wlan-view]regulatory-domain-profile name domain
//创建域管理模板,并进入域管理模板视图,若域管理模板已经存在,则直接进入域管理识图模板。
[AC6005-wlan-regulate-domain-domain]country-code CN  //配置设备的国家码
Info: The current country code is same with the input country code.
[AC6005-wlan-regulate-domain-domain]q
[AC6005-wlan-view]

 然后进入ap组配置引用域管理模板

AC6005-wlan-ap-group-apg2]regulatory-domain-profile domain

这条语句是在指定AP或者AP中引用域管理模板

[AC6005-wlan-view]ap-gr name apg1  //创建名为apg1的ap组
[AC6005-wlan-ap-group-apg1]reg domain  //在指定AP或者AP中引用域管理模板
Warning: Modifying the country code will clear channel, power and antenna gain c
onfigurations of the radio and reset the AP. Continue?[Y/N]:
Error: Please choose 'YES' or 'NO' first before pressing 'Enter'. [Y/N]:y
[AC6005-wlan-ap-group-apg1]ap-gr name apg2  //创建名为apg2的ap组
[AC6005-wlan-ap-group-apg2]reg domain  //在指定AP或者AP中引用域管理模板
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
[AC6005-wlan-ap-group-apg2]q
[AC6005-wlan-view]
​

查看AP的MAC地址

如果不知道AP的mac地址有两种方式查看

方法一

右键点设置

校园网ensp模拟搭建

校园网ensp模拟搭建

注意AP开启的时候是不能复制MAC地址的

方法二 

在AP的CLI窗口输入 dis int vlan1  即可查看vlan1的信息,当然也有AP的mac地址

 校园网ensp模拟搭建

配置AP鉴别模式

[AC6005]capwap source interface Vlanif 1 

 指定CAPWAP隧道的源端接口。该源端接口是某个VLAN对应的IP 接口

[AC6005-wlan-view]ap auth-mode mac-auth

ap auth-mode mac-auth 其实是一种鉴别方式,采用MAC 地址进行鉴别模式

ap auth-mode mac-auth{ mac-auth | no-auth | sn-auth}

sn-auth 表示采用序列号鉴别模式

no-auth 表示不对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

//警告:该操作会导致AP重置,如果国家码改变,射频的配置信息会清空,是否继续?这里需继续,输入y,按enter键即可

[AC6005]capwap sou int vlanif 1  
//指定CAPWAP隧道的源端接口。该源端接口是某个VLAN对应的IP 接口
[AC6005]wlan
[AC6005-wlan-view]ap auth-mode mac-auth
//ap auth-mode mac-auth 其实是一种鉴别方式,采用MAC 地址进行鉴别模式
[AC6005-wlan-view]ap-id 1 ap-mac 00e0-fc45-4ac0
[AC6005-wlan-ap-1]ap-name AP1
[AC6005-wlan-ap-1]ap-gr apg1
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
//警告:该操作会导致AP重置,如果国家码改变,射频的配置信息会清空,是否继续?这里需继续,输入y,按enter键即可
Info: This operation may take a few seconds. Please wait for a moment.. done.
[AC6005-wlan-ap-1]ap-id 2 ap-mac 00e0-fc4e-3c70  //采用MAC 地址进行鉴别模式
[AC6005-wlan-ap-2]ap-name AP2
[AC6005-wlan-ap-2]ap-gr apg1
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.
[AC6005-wlan-ap-2]ap-id 3 ap-mac 00e0-fcff-6180   //采用MAC 地址进行鉴别模式
[AC6005-wlan-ap-3]ap-name AP3
[AC6005-wlan-ap-3]ap-gr apg1
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.
[AC6005-wlan-ap-3]ap-id 4 ap-mac 00e0-fc45-1c40   //采用MAC 地址进行鉴别模式
[AC6005-wlan-ap-4]ap-name AP4
[AC6005-wlan-ap-4]ap-gr apg2
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.
[AC6005-wlan-ap-4]ap-id 5 ap-mac 00e0-fc95-3690   //采用MAC 地址进行鉴别模式
[AC6005-wlan-ap-5]ap-name AP5
[AC6005-wlan-ap-5]ap-gr apg2
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.
[AC6005-wlan-ap-5]q
[AC6005-wlan-view]

 创建安全模板

[AC6005-wlan-view]security-profile name se-1 //创建安全模板命名为se-1
[AC6005-wlan-sec-prof-se-1]security wpa2 psk pass-phrase 12345678 aes
//配置鉴别和wap2加密机制
Warning: The current password is too simple. For the sake of security, you are a
dvised to set a password containing at least two of the following: lowercase let
ters a to z, uppercase letters A to Z, digits, and special characters. Continue?
 [Y/N]:y
//警告:当前密码太简单。为了安全起见,你是建议设置至少包含以下两项的密码:小写let
字母a到z、大写字母a到z、数字和特殊字符是否继续?输入y,按enter键
[AC6005-wlan-view]secur name se-2  //创建安全模板命名为se-2
[AC6005-wlan-sec-prof-se-2]security wpa2 psk pass-phrase 12345678 aes
//配置鉴别和wap2加密机制
Warning: The current password is too simple. For the sake of security, you are a
dvised to set a password containing at least two of the following: lowercase let
ters a to z, uppercase letters A to Z, digits, and special characters. Continue?
 [Y/N]:y

创建SSID模板

[AC6005-wlan-view]ssid-profile name 模板名字  //创建模板

[AC6005-wlan-ssid-prof-ssid4]ssid wifi-1  //命名WiFi名

[AC6005-wlan-view]ssid name ssid1  //创建ssid模板
[AC6005-wlan-ssid-prof-ssid1]ssid wifi-1  //命名模板
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-ssid-prof-ssid1]q
[AC6005-wlan-view]ssid name ssid2  //创建ssid模板
[AC6005-wlan-ssid-prof-ssid2]ssid wifi-2  //命名模板
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-ssid-prof-ssid2]q
[AC6005-wlan-view]ssid name ssid3  //创建ssid模板
[AC6005-wlan-ssid-prof-ssid3]ssid wifi-3  //命名模板
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-ssid-prof-ssid3]q
[AC6005-wlan-view]ssid name ssid4  //创建ssid模板
[AC6005-wlan-ssid-prof-ssid4]ssid wifi-4  //命名模板
Info: This operation may take a few seconds, please wait.done.
[AC6005-wlan-ssid-prof-ssid4]q
[AC6005-wlan-view]

创建VAP模板

[AC6005-wlan-view]vap-pro name vap1  //创建VAP模板,命名为vap1
[AC6005-wlan-vap-prof-vap1]for tunnel  
//指定数据转发的方式,或者指定隧道(tunnel)或者指定直接转发模式(direct-forward)方式
//这里使用隧道转发
[AC6005-wlan-vap-prof-vap1]se vlan-id 2
//指定VAP的业务VLAN,即用于转发数据的VLAN
[AC6005-wlan-vap-prof-vap1]secur se-1
//用于在指定VAP模板下引用安全模板
[AC6005-wlan-vap-prof-vap1]ssid-pro ssid1
//用于在指定VAP模板下引用SSID模板
[AC6005-wlan-vap-prof-vap1]q
[AC6005-wlan-view]vap-pro name vap2
//创建VAP模板,命名为vap2
[AC6005-wlan-vap-prof-vap2]for tunnel 
//指定数据转发的方式,或者指定隧道(tunnel)或者指定直接转发模式(direct-forward)方式
//这里使用隧道转发
[AC6005-wlan-vap-prof-vap2]se vlan-id 4
//指定VAP的业务VLAN,即用于转发数据的VLAN
[AC6005-wlan-vap-prof-vap2]secur se-2
//用于在指定VAP模板下引用安全模板
[AC6005-wlan-vap-prof-vap2]ssid-pro ssid2
//用于在指定VAP模板下引用SSID模板
[AC6005-wlan-vap-prof-vap2]
​

同理可得

[AC6005-wlan-view]vap-pro name vap3
[AC6005-wlan-vap-prof-vap3]for tunnel
[AC6005-wlan-vap-prof-vap3]se vlan-id 3
[AC6005-wlan-vap-prof-vap3]secur se-1
[AC6005-wlan-vap-prof-vap3]ssid-pro ssid3
//退到wlan视图
[AC6005-wlan-view]vap-pro name vap4
[AC6005-wlan-vap-prof-vap4]for tunnel
[AC6005-wlan-vap-prof-vap4]se vlan-id 5
[AC6005-wlan-vap-prof-vap4]secur se-2
[AC6005-wlan-vap-prof-vap4]ssid-pro ssid4
[AC6005-wlan-vap-prof-vap4]q
[AC6005-wlan-view]

为射频引用VAP模板

[AC6005-wlan-view]ap-gr name apg1
[AC6005-wlan-ap-group-apg1]vap-pro vap1 wlan 1 rad 0  //为射频引用VAP模板
//为射频引用VAP模板。wlan前面是VAP模板名称,wlan后面是VAP模板编号,不同业务对应不同的VAP模板编号。radio 后面是射频的编号
[AC6005-wlan-ap-group-apg1]vap-pro vap1 wlan 1 rad 1  //为射频引用VAP模板
[AC6005-wlan-ap-group-apg1]vap-pro vap2 wlan 2 rad 0  //为射频引用VAP模板
[AC6005-wlan-ap-group-apg1]vap-pro vap2 wlan 2 rad 1  //为射频引用VAP模板
[AC6005]wlan
[AC6005-wlan-view]ap-gr name apg2
[AC6005-wlan-ap-group-apg2]vap-pro vap3 wlan 3 rad 0  //为射频引用VAP模板
[AC6005-wlan-ap-group-apg2]vap-pro vap3 wlan 3 rad 1  //为射频引用VAP模板
[AC6005-wlan-ap-group-apg2]vap-pro vap4 wlan 4 rad 0  //为射频引用VAP模板
[AC6005-wlan-ap-group-apg2]vap-pro vap4 wlan 4 rad 1  //为射频引用VAP模板
[AC6005-wlan-ap-group-apg2]q
[AC6005-wlan-view]
//到这里就可以等待AP就绪啦

最后AP就绪

校园网ensp模拟搭建


结束啦!看到这里的都比个♥

 校园网ensp模拟搭建

总结

以上就是今天要讲的内容啦,很开心,自己手动配置出校园网,欢迎大佬指点不足啦文章来源地址https://www.toymoban.com/news/detail-408929.html

到了这里,关于校园网ensp模拟搭建的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 用华为模拟器ENSP构造校园网(第二天)配置总网络拓扑DHCP中继

    下面我们来配置我们总的网络拓扑,(网络拓扑图雏形,,后续会加上去很多) 第一步我们配置总的网络拓扑图的DHCP中继: 先看一下我的网络设计雏形拓扑图: 这个是我的网络设计雏形图 下面直接配置网络的DHCP中继: 先配置SW1的vlan和IP设置服务器的网关: The device is ru

    2024年02月08日
    浏览(61)
  • 思科模拟简单校园网

    宿舍vlan10,教学楼vlan20,宿舍网为1.1.1.0/24网段,教学楼网段为2.2.2.0/24网段 1.DHCP服务器配置 桌面–IP配置–配置相关vlan网段的网关,子网掩码 DHCP(宿舍) 2.宿舍交换机配置 fa0/2 vlan 10 fa0/1 trunk 同理配置两个教室交换机sw1、sw2,配置vlan 20 3.交换机sw0配置 分别给DHCP(宿舍)、

    2024年02月10日
    浏览(52)
  • 基于华为eNSP的多结构企业网/校园网网络设计综合组网配置/作品演示

    XX中学校园的主干层次结构采用核心,汇聚,接入的三层模型。核心层处理整体网络的数据流动,实现各节点间数据的高速处理,增加安全措施和访问权限等等。汇聚夹于两层之间,任务包括线路的整合汇聚,向信息点传递流量数据和策略协议的流动实施。接入层分配带宽,

    2024年02月09日
    浏览(42)
  • 基于华为eNSP的双核心企业网/校园网网络设计综合组网配置/作品演示【网络工程毕业设计】

    XX中学校园 的主干层次结构采用核心,汇聚,接入的三层模型。核心层处理整体网络的数据流动,实现各节点间数据的高速处理,增加安全措施和访问权限等等。汇聚夹于两层之间,任务包括线路的整合汇聚,向信息点传递流量数据和策略协议的流动实施。接入层分配带宽,

    2024年02月08日
    浏览(42)
  • 校园网\中心机房\拓扑图 思科模拟器(cisco)

    路由交换技术: 端口聚合SPF 动态RIP 单臂路由配置 生成树协议 ACL访问控制 数据冗余 功能实现: 校园内网可访问外网  外网无法访问内网 校园内pc机可访问校园服务器       I P 地址规划表 源设备 源接口 I P 地址 I P 网关 ISP Se0/0/1 181.0.0.1//24 Fa0/0 14.145.117.1/24 出口路由器

    2024年02月02日
    浏览(48)
  • 了解如何搭建校园网,怎么能不知道基本框架呢?

    【零基础入门计算机网络】第一章 网络的基础知识 【零基础入门计算机网络】第二章 ARP协议与IP地址 【零基础入门计算机网络】第三章 OSI分层系统模型与TCP/UDP详解 【零基础入门计算机网络】第四章 远程登陆Telnet操作与DHCP操作 【零基础入门计算机网络】第五章 路由器解

    2024年02月09日
    浏览(41)
  • 校园网绕过原理+云免软件使用+GIWIFI普通法(顶替法)理论通用所有校园网

    心事是很难隐藏的,把嘴巴捂住它就会从眼睛里冒出来。by 飞机 【小风车 吹啊吹~~】     我们今天要说的就是校园网绕过认证,也就是所谓的校园网破解       校园网绕过认证就是不通过校园WiFi WEB页面登录,他这个WEB登录页面就是认证页面,所谓绕过认证,就是不通过

    2024年02月03日
    浏览(45)
  • 校园网免认证教程

    1、打开手机WiFi连接需要网页认证的WiFi(校园网)ps:并不是所有的WiFi都可以。请自行测试。 2、然后打开软件,打开无为WiFi软件,校园网免认证的软件 3、点击软件上的连接按钮,不一会就连接成功,然后就开始上网,能上网就说明成功了, 4、如果连接不上就换一个线路,

    2024年02月09日
    浏览(123)
  • 校园网安全风险分析

    ⒈物理层的安全风险分析 网络的物理安全风险主要指网络周边环境和物理特性引起的网络设备和线路的不可用 , 而 造成网络系统的不可用。我们在考虑校园网络安全时,首先要考虑物理安全风险,它是整个 网络系统安全的前提。物理安全风险有:设备被盗、被毁坏,线路老

    2024年02月12日
    浏览(42)
  • 如何破校园网

     下面会介绍两种破解方法 下面介绍的方法是用于账号和密码知道二者其一才行,如果二者都不知道,那就你费些时间了,这我就不多说了,懂得都懂.................. 我先说一下破解思路: 其实很简单,无非就是跑字典,我们第一步就是要先生成字典,第二步去进行测试,就

    2024年02月11日
    浏览(53)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包