实训七 三层网络结构敏捷分布式无线网络基本配置
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
实训六三层网络结构敏捷分布式无线网络基本配置
一、实训目的:
·了解华为VRP操作系统。
·掌握无线网络有线侧的基本配置。
二、实训环境:
安装有eNSP的计算机。
三、实训内容
1、启动eNSP,新建网络拓扑结构。
2、通过CLI方式对有线侧交换机、AC进行基本配置。
3、配置AC无线参数。
4、查看AP、PC、STA从AC获得的IP地址。
5、在PC、STA上测试网络的连通性
四、实训过程
1、新建网络拓扑结构
○1开启eNSP客户端,如下图1-1所示。
图1-1
○2单击“新建拓扑”,新建拓扑,如图1-2所示。
图1-2
○3在设备类别区选择设备,在工作区单击左健即完成,或者直接将设备拖至工作区,搭建如下实验用网络拓扑结构。
图1-3
2、启动拓扑结构中的设备,登录设备操作界面
○1敏捷分布式无线网络设备简介
华为AD9430DN-24中心AP
华为R250D敏捷分布式远端单元○2组网应用
○3启动工作区的设备。
右键单击设备,选择“启动”。
图1-5启动设备
图1-5设备正在启动
○4双击工作区交换机图标,直接进入命令行界面
图1-6 命令行界面
3、无线网络有线侧基本配置
无线网络IP地址规划
配置项数据
AC IP地址10.0.0.6
DHCP服务器AC作为DHCP服务器为STA和AP分配IP地址AP的IP地址池VLAN100:10.1.100.2-10.1.100.254/24
STA的IP地址池VLAN101:10.1.101.2-10.1.101.254/24 VLAN102:10.1.102.2-10.1.102.254/24
○1有线侧交换机Core1配置
undo terminal monitor
system-view
sysname Core1
vlan batch 98 to 99
vlan 98
description Core2-Link-To-AC1
quit
vlan 99
description Core2-Link-To-Core1
quit
interface Vlanif98
ip address 10.0.0.5 255.255.255.252
quit
interface Vlanif99
ip address 10.0.0.1 255.255.255.252
quit
interface GigabitEthernet0/0/1
description Core1-Link-To-Core2
port link-type access
port default vlan 99
quit
interface GigabitEthernet0/0/2
description Core1-Link-To-AC1
port link-type access
port default vlan 98
quit
ip route-static 10.1.100.0 255.255.255.0 10.0.0.2 ip route-static 10.1.101.0 255.255.255.0 10.0.0.2 ip route-static 10.1.102.0 255.255.255.0 10.0.0.2
○2有线侧交换机Core1配置
undo terminal monitor
system-view
sysname Core2
vlan batch 99 to 102
vlan 99
description Core1-Link-To-Core2
quit
vlan 100
description Ap-Admin
quit
vlan 101
description Wlan-1
quit
vlan 102
description Wlan-2
quit
dhcp enable
interface Vlanif99
description Core1-Link-To-Core2
ip address 10.0.0.2 255.255.255.252 quit
interface Vlanif100
description Ap-Admin
ip address 10.1.100.1 255.255.255.0 dhcp select relay
dhcp relay server-ip 10.0.0.6
quit
interface Vlanif101
description WLan-1
ip address 10.1.101.1 255.255.255.0 dhcp select relay
dhcp relay server-ip 10.0.0.6
quit
interface Vlanif102
description Wlan-2
ip address 10.1.102.1 255.255.255.0 dhcp select relay
dhcp relay server-ip 10.0.0.6
quit
interface GigabitEthernet0/0/1
description Link-ACC1
port link-type trunk
port trunk allow-pass vlan 100 to 102 quit
interface GigabitEthernet0/0/2
description Link-ACC2
port link-type trunk
port trunk allow-pass vlan 100 to 102 quit
interface GigabitEthernet0/0/3 description Core2-Link-To-Core1
port link-type access
port default vlan 99
quit
ip route-static 0.0.0.0 0.0.0.0 10.0.0.1 ○3有线侧接入交换机ACC1配置
undo terminal monitor
system-view
sysname ACC1
vlan batch 100 to 102
vlan 100
description Ap-Admin
quit
vlan 101
description Wlan-1
quit
vlan 102
description Wlan-2
quit
interface GigabitEthernet0/0/1
description Link-Core1
port link-type trunk
port trunk allow-pass vlan 100 to 102 quit
interface GigabitEthernet0/0/2 description Link-AD1
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 102 quit
○4有线侧接入交换机ACC2配置
undo terminal monitor
system-view
sysname ACC2
vlan batch 100 to 102
vlan 100
description Ap-Admin
quit
vlan 101
description Wlan-1
quit
vlan 102
description Wlan-2
quit
interface Ethernet0/0/1
description Link-PC1
port link-type access
port default vlan 101
quit
interface GigabitEthernet0/0/1
description Link-Core1
port link-type trunk
port trunk allow-pass vlan 100 to 102 quit
interface GigabitEthernet0/0/2 description Link-AD2
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 102 quit
○5无线控制器AC1有线侧配置
undo terminal monitor
system-view
sysname AC1
vlan 98
vlan 98
description Ap-Admin
quit
dhcp enable
ip pool Ap-Admin
gateway-list 10.1.100.1
network 10.1.100.0 mask 255.255.255.0 option 43 sub-option 3 ascii 10.0.0.6 dns-list 172.16.114.115 114.114.114.114 quit
ip pool Wlan1
gateway-list 10.1.101.1
network 10.1.101.0 mask 255.255.255.0 dns-list 172.16.114.115 114.114.114.114 quit
ip pool Wlan2
gateway-list 10.1.102.1
network 10.1.102.0 mask 255.255.255.0 dns-list 172.16.114.115 114.114.114.114 quit
interface Vlanif98
description Link-Core2
ip address 10.0.0.6 255.255.255.252
quit
interface GigabitEthernet0/0/1
description Link-Core1
port link-type access
port default vlan 98
quit
ip route-static 0.0.0.0 0.0.0.0 10.0.0.5 4、无线控制器AC无线参数配置
○1查看AP MAC地址
打开AP控制台,执行dis arp
○2AC无线参数配置
capwap source interface Vlanif 98
wlan
ap-group name ap-group1
quit
regulatory-domain-profile name domain1 country-code CN
quit
ap-group name ap-group1
regulatory-domain-profile domain1
quit
ap auth-mode mac-auth
ap-mac 00e0-fc0e-6ac0 ap-id 0
ap-name AD1
ap-group ap-group1
quit
ap-mac 00e0-fc0a-4ab0 ap-id 1
ap-name AD2
ap-group ap-group1
quit
ap-mac 00e0-fca9-17d0 ap-id 2
ap-name RRU1
ap-group ap-group1
quit
ap-mac 00e0-fc6d-4400 ap-id 3
ap-name RRU2
ap-group ap-group1
quit
ap-mac 00e0-fc66-45b0 ap-id 4
ap-name RRU3
ap-group ap-group1
quit
ap-mac 00e0-fcf7-4620 ap-id 5
ap-name RRU4
ap-group ap-group1
quit
security-profile name security-1
security open
quit
ssid-profile name HNCC-Teacher
ssid HNCC-Teacher
quit
ssid-profile name HNCC-Student
ssid HNCC-Student
quit
vap-profile name HNCC-Teacher
forward-mode direct-forward
service-vlan vlan-id 101
security-profile security-1
ssid-profile HNCC-Teacher
quit
vap-profile name HNCC-Student
forward-mode direct-forward
service-vlan vlan-id 102
security-profile security-1
ssid-profile HNCC-Student
quit
ap-group name ap-group1
vap-profile HNCC-Teacher wlan 1 radio all vap-profile HNCC-Student wlan 2 radio all quit
5、查看AP、PC、STA从AC获得的IP地址
○1查看AP从AC获得的IP地址
○2从AP访问AC
○3设置PC的IP地址获得方式为DHCP
○4查看PC从AC获得的IP地址
5查看STA从AC获得的IP地址
查看IP地址。