fdwe2e 发表于 2014-12-3 09:55:57

华为 eNSP 配置 wlan 简单

                      简单 wlan1.实验拓扑:使用ENSP模拟器(版本V100R002C00 1.2.00.350)

2.实验需求:1: AP1 通过AC1DCHP获得地址2: AP1发出wlan
3.实验配置:1:注意点


使用前先注册
R1使用


2:ip规划
R1配置:
sy
int g0/0/2
ip add 192.168.1.1 30
int l0                   进入环回口
ip address1.1.1.1 32                   配置外网地址
q

AC1配置:
sy
sysname AC01                                    把AC名字改成AC01
vlan 200
int vlan 200                              做上行口vlan
ip address192.168.1.2 30               配置上行口IP
q
vlan 100
int vlan 100                              做管理vlan
ip address192.168.100.1 24
q
vlan 101
int vlan 101                                 做业务vlan
ip address192.168.101.1 24
q

3:实验脚本:
R1配置:
ip route-s 192.168.101.0 255.255.255.0 192.168.1.2         
给业务IP配静态(管理IP和上行口IP不用指静态)

AC1配置:
int g0/0/2            
port hybrid pvid vlan 200
做中继口以 pvid方式放入vlan200            
port hybrid untagged vlan 200   
以untagged方式放入vlan200   
q
ping 192.168.1.1

看看能不能ping通R1

ip route-static 0.0.0.0 0.0.0.0 192.168.1.1    指上行口静态
ping 1.1.1.1                                 测试 能不能ping通环回口



dhcp enable                                     开启dhcp
int vlan 100
dhcp select interface             配置接口dhcp
q
int vlan 101                           
dhcp select interface             配置接口dhcp
dhcp server dns-list 8.8.8.8
int g0/0/1
port link-type trunk
port trunk allow-pass vlan 100 101
port trun pvid vlan 100
dis this

q            
wlan ac-global carrier id cmcc ac id 1
wlan
wlan ac source interface vlan 100管理vlan设置成100
ap-auth-mode mac-auth
ap id 1 type-id 19 mac 00E0-FC56-4A50
mac地址要手动添加注意!mac地址位数 !
AP右键 设置   

点击配置

输入这个上面的MAC地址
q                  
wmm-profile id 1 name wmm   配置WMM模板一个业务一个模板
q
radio-profile id 1 name r01
wmm-profile id 1
q
traffic-profile id 1 name t01
q
security-profile id 1 name s01
q
q
dis cu                                          检查一下


int wlan-ess 1
port hybrid pvid vlan 101
port hybrid untagged vlan 101
q
wlan
service-set id 1 name s01    配置五元素
wlan-ess 1         
ssid hw01            
service-vlan 101
traffic-profile id 1
security-profile id 1
dis this    检查五元素齐不齐      

q
ap 1 radio 0
radio-profile id 1
Warning: Modify the Radio type may cause some parameters of Radio resume default
value, are you sure to continue?:y这里选择Y
service-set id 1
q
commit all       更新配置选择Y
Warning: Committing configuration may cause service interruption,continue?y   


                  

页: [1]
查看完整版本: 华为 eNSP 配置 wlan 简单