校园网ensp模拟搭建

文章目录


前言

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

一、校园网拓扑图

下面是AP进入就绪状态

二、地址规划 

三、配置命令

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链路聚合技术来实现负载均衡

 

 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地址有两种方式查看

方法一

右键点设置

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

方法二 

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

 

配置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就绪


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

 

总结

以上就是今天要讲的内容啦,很开心,自己手动配置出校园网,欢迎大佬指点不足啦

原来我也不会啊!
关注 关注
  • 43
    点赞
  • 310
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 12
    评论
使用eNSP搭建的小型校园网
YuZhangWang的领域
10-04 8万+
本项目所需软件eNSP_Setup、VirtualBox-5.2.38-136252-Win、WinPcap_4_1_3、Wireshark-win64-3.2.2 1.1 设计任务 组建小型校园网:学生宿舍50台计算机、办公楼30台计算机(办公楼又分为财务处、人事处,以及其他科室)、图书馆10台计算机、教学楼30台计算机、服务器2台(FTP、Web),学校通过一台路由器连接到服务器和Internet。 1.2 需求分析 1.每个部门内部可以二层互通、部门间可以三层互通。 2.使用静态路由、RIP路由配置。
ensp典型三层架构校园网搭建(文档+拓扑)
04-15
该网络是一个典型的校园网络架构,采用华为ensp模拟搭建。该压缩包中包含网络工程拓扑文件和项目报告文档,报告文档包含设计思路、网络规划、配置步骤及代码、网络功能测试等。该项目中涉及的技术包括,VLAN、链路...
eNSP 华为模拟器】小型校园网模拟环境的设计与配置.rar
05-21
博客描述查看:https://blog.csdn.net/qq_43757282/article/details/106249098
ensp搭建小型局域网综合实验(附详细步骤+命令)
最新发布
勤能补拙
04-15 2720
实验要求:划分VLAN:目的两个:隔离广播域;增强安全性配置三层交换机,配置DHCP,配置静态路由,配置nat使网段能上网,配置ospf。
基于eNSP校园网规划与设计
m0_62909438的博客
07-06 1万+
本实验都是使用常用的网络协议进行配置,例如MSTP、OSPF、VVRP、DHCP、WLAN和防火墙等去搭建一个校园网,完成有线和无线的配置,目的是锻炼一下巩固自己所学的基础知识。
链路聚合的两个方式(★亲测)
小阿军的博客
07-11 1万+
手工聚合的配置: LSW1的配置:: [LSW1] interface Eth-Trunk 1 [SW1-Eth-Trunk1]mode lacp-static //开启手工聚合模式 [SW1-Eth-Trunk1] load-balance dst-mac //设置负载分担的模式,基于目的MAC地址进行负载分担。 配置的负载分担方式: src-ip:配置Eth-Trunk接口基于源IP地址进行负载分担。 dst-ip :配置Eth-Trunk接口基于目的IP地址进行负载...
ENSP华为模拟器组建一个完整的校园网
热门推荐
qq_62466609的博客
05-29 2万+
ENSP华为模拟器组建一个完整的校园网,,测试结果都没有问题主要实现了远程控制,动态路由,DHCP,无线,防火墙,服务器集群的配置,网络规划,服务器的配置和设置后续发,有问题或者想要拓扑图的留邮箱就行,本人也才大学,不太会写,想讨论的可以说,也可以留下问题。
用华为模拟ENSP构造校园网(第一天)配置网络简易DHCP的中继
qq_62466609的博客
05-06 2920
华为模拟器的配置
【Huawei认证5.0】利用eNSP网络基础配置实验——包含基础命令,二层三层网络实验拓扑图和验证~~~
武师叔的博客
10-04 1万+
通过配置交换机 VLAN 特性,实现相同 VLAN 的用户通信及不同 VLAN 的用户隔离。每个VLAN是一个广播域,VLAN内的主机间可以直接通信,而VLAN间则不能直接互通。双击 PC3,点击选项卡中的“命令行”页签,进入命令行界面。双击 PC1,点击选项卡中的“命令行”页签,进入命令行界面。将 GE0/0/02 和 G0/0/3 接口配置为 Access 接口,默认 VLAN 分别为 10 和20。双击 LSW1 进入命令行界面,使用如下命令进入系统视图修改系统名称。双击设备,进入设备命令行界面。
ensp实现1000人中型校园网络基本架构
weixin_50281314的博客
05-29 2919
本实验整体实验性还可以,需要多敲,多练,自己排错,再到熟能生巧。
基于enspipv6校园网网络规划与设计实验
03-10
该文件中包含了完成的基于enspIPv6模拟校园网实验topo图+完整的配置+可直接导入设备的配置文件(建议参考即可)+全程配置参考视频(可2倍速看)+全程配置的命令+模拟器粘出来的命令(可以作为参考)+地址规划表,该实验...
某学校的校园网拓扑图
07-12
某学校的校园网拓扑图,这个只是大概的画出了各个设备之间的联系,要是有意者可以与我联系。
校园网设计与配置实例
07-08
校园网设计与配置实例:内容包括系统总体的设计,系统组成,VLAN,IP划分,服务器设计,系统测试等整套方案
校园网课程设计附带拓扑图
06-22
校园网课程设计附带拓扑图 校园网课程设计附带拓扑图 校园网课程设计附带拓扑图
eNSP校园网(企业网)详细拓扑完整设计及相关配置文件资源包
05-28
1.三层交换机架构,内网、外网、B校区(子公司)三个区域 2.网络划分多个vlan 3交换机之间配置trunk,两台核心交换机链路捆绑 4.在两台核心交换机上配置MSTP-VRRP(多生成树协议) 5.部分主体交换机配置了OSPF协议 6.所有用户从DHCP服务器动态获取ip地址。 7.服务器的路由器配置nat地址转换。 8.防火墙配置服务器dmz区与内网的trust区域 9.出口路由器配置nat地址转换,并且公网包含两条主副出口 10.出口路由器配置ACL策略 (有意向了解的+Q 1320210031 获取拓扑设计图片,后自行思考是否购买资源。相关毕设咨询了解。)
基于华为eNSP的中小企业办公园区/校园网络规划与设计
10-18
本文通过在华为eNSP部署路由器、交换机以及防火墙等网络设备以及运用多种计算机网络协议和技术。在设计原则以及设计需求的前提下,对企业办公园区进行网络规划设计,其中分为两大部分,一部分是进行网络拓扑结构搭建...
华为ENSP练习拓扑图模拟某校园
04-10
该拓扑模拟校园网建设搭建,内网到外网接口。适用于HCIA或集成商学习使用。 包含VLAN.防火墙双机主备.OSPF基础练习。 该图比较大建议开启内网设备时分批开机练习。
1.使用eNSP绘制拓扑图实训
weixin_63175492的博客
03-27 453
实训1.使用eNSP绘制拓扑图
ENSP搭建的网络拓扑
qq_64358456的博客
07-23 1395
1.一共有14个广播域,我们要将网段192.168.1.0/24划分,可变。配置r1.r2.r3.r4.r5的静态路由。让R1.R2.R3.R4指向null即可。长度划为28这样就可以得到16个网段.2配置路由器和线路的ip地址。1标识拓扑结构的主干网段。2.1配置路由器R1。2.2配置路由器R2。2.3配置路由器R3。2.4配置路由器R4。2.5配置路由器R5。
华为ensp校园网搭建指令
06-12
华为企业网络模拟器(Enterprise Network Simulation Platform,简称ENSP)是一款用于模拟企业网络环境的软件,可以用于校园网搭建和测试。以下是一些基本的华为ENSP校园网搭建指令: 1. 创建交换机 ``` sys system-view sysname Switch interface GigabitEthernet 0/0/1 port link-type access port default vlan 100 ip address 10.0.0.1 24 ``` 2. 创建路由器 ``` sys system-view sysname Router interface GigabitEthernet 0/0/1 ip address 10.0.0.254 24 interface GigabitEthernet 0/0/0 ip address 20.0.0.1 24 ``` 3. 配置路由器转发 ``` sys system-view ip route-static 0.0.0.0 0.0.0.0 10.0.0.1 ``` 4. 创建PC ``` sys system-view sysname PC1 interface GigabitEthernet 0/0/1 ip address 20.0.0.2 24 ``` 5. 配置PC的网关 ``` sys system-view ip route-static 0.0.0.0 0.0.0.0 20.0.0.1 ``` 6. 配置VLAN ``` sys system-view vlan batch 100 interface GigabitEthernet 0/0/1 port link-type trunk port trunk allow-pass vlan 100 ``` 以上是一些基本的华为ENSP校园网搭建指令,您可以根据具体情况进行调整和修改。需要注意的是,以上指令只是一个示例,实际情况可能需要更复杂的配置和指令。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
写文章

热门文章

  • 校园网ensp模拟搭建 14128
  • 网络通讯基础OSI参考模型 1212
  • MPLS LDP 431

最新评论

  • 校园网ensp模拟搭建

    如果可以i: 做完以后AP就绪需要多长时间啊?

  • 校园网ensp模拟搭建

    TiAmo Te Furi: PING不通怎么办

  • 校园网ensp模拟搭建

    2301_82033997: 大佬 LSW5 和6 7是完全相同的吗

  • 校园网ensp模拟搭建

    zrj01925: 大佬,我的AP4和AP5设置完后不出圈哇,AP1-3都出了,什么原因

  • 校园网ensp模拟搭建

    m0_64663234: osfp 89 能建立邻居吗

您愿意向朋友推荐“博客详情页”吗?

  • 强烈不推荐
  • 不推荐
  • 一般般
  • 推荐
  • 强烈推荐
提交

最新文章

  • MPLS LDP
  • 网络通讯基础OSI参考模型
2023年1篇
2022年2篇

目录

目录

评论 12
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

原来我也不会啊!

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或 充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值

PHP网站源码海北网站优化按天收费公司中卫SEO按天收费多少钱南平网站建设多少钱漳州百搜标王公司芜湖模板推广晋城网站推广方案太原建站黄石外贸网站设计哪家好大浪网站设计哪家好沧州企业网站改版价格潮州企业网站改版价格福州推广网站推荐阜阳阿里店铺托管公司河源网站搭建扬州推广网站报价大连企业网站建设大芬英文网站建设推荐云浮关键词按天扣费公司四平网站优化推广芜湖网站优化按天收费价格阿里百度seo公司邵阳优化价格安康百姓网标王推广新乡营销网站多少钱永湖网站seo优化价格达州网站seo优化金华seo排名推荐漯河企业网站建设推荐广元网站关键词优化哪家好厦门关键词按天计费公司歼20紧急升空逼退外机英媒称团队夜以继日筹划王妃复出草木蔓发 春山在望成都发生巨响 当地回应60岁老人炒菠菜未焯水致肾病恶化男子涉嫌走私被判11年却一天牢没坐劳斯莱斯右转逼停直行车网传落水者说“没让你救”系谣言广东通报13岁男孩性侵女童不予立案贵州小伙回应在美国卖三蹦子火了淀粉肠小王子日销售额涨超10倍有个姐真把千机伞做出来了近3万元金手镯仅含足金十克呼北高速交通事故已致14人死亡杨洋拄拐现身医院国产伟哥去年销售近13亿男子给前妻转账 现任妻子起诉要回新基金只募集到26元还是员工自购男孩疑遭霸凌 家长讨说法被踢出群充个话费竟沦为间接洗钱工具新的一天从800个哈欠开始单亲妈妈陷入热恋 14岁儿子报警#春分立蛋大挑战#中国投资客涌入日本东京买房两大学生合买彩票中奖一人不认账新加坡主帅:唯一目标击败中国队月嫂回应掌掴婴儿是在赶虫子19岁小伙救下5人后溺亡 多方发声清明节放假3天调休1天张家界的山上“长”满了韩国人?开封王婆为何火了主播靠辱骂母亲走红被批捕封号代拍被何赛飞拿着魔杖追着打阿根廷将发行1万与2万面值的纸币库克现身上海为江西彩礼“减负”的“试婚人”因自嘲式简历走红的教授更新简介殡仪馆花卉高于市场价3倍还重复用网友称在豆瓣酱里吃出老鼠头315晚会后胖东来又人满为患了网友建议重庆地铁不准乘客携带菜筐特朗普谈“凯特王妃P图照”罗斯否认插足凯特王妃婚姻青海通报栏杆断裂小学生跌落住进ICU恒大被罚41.75亿到底怎么缴湖南一县政协主席疑涉刑案被控制茶百道就改标签日期致歉王树国3次鞠躬告别西交大师生张立群任西安交通大学校长杨倩无缘巴黎奥运

PHP网站源码 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化