华为wlan培训资料:由浅入深玩转华为WLAN
华为wlan培训资料:由浅入深玩转华为WLANdis system-informationSystem Information===============================================Serial Number : 2102354483100842F558System Time : 2058-08-12 17:12:04System Up time : 0:04System Name : huawei-ap-0Country Code : CNMAC Address : 00:e0:fc:03:14:60Radio 2.4GHz MAC Address : 00:e0:fc:03:14:60Radio 5GHz MAC Address : 00:e0:fc:03:14:70IP Address : 10.1.101.254Subnet Mask : 255.255.255.0Default Gate
一、实验目标
理解无线三层组网的特点
掌握三层组网AP上线的配置
掌握修改AP认证方法的命令
1、基础配置
AC基础配置如下
#
VLAN batch 101 to 102 800
#
interface Vlanif800
ip address 10.1.200.100 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 101 to 102 800
#
ip route-static 0.0.0.0 0.0.0.0 10.1.200.1
#
交换机配置如下
sysname SW1
#
vlan batch 101 to 102 800
#
interface Vlanif101
ip address 10.1.101.1 255.255.255.0
#
interface Vlanif102
ip address 10.1.102.1 255.255.255.0
#
interface Vlanif800
ip address 10.1.200.1 255.255.255.0
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 101
stp edged-port enable
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 101
stp edged-port enable
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 102
stp edged-port enable
#
interface GigabitEthernet0/0/4
port link-type access
port default vlan 102
stp edged-port enable
#
interface GigabitEthernet0/0/5
port link-type trunk
port trunk allow-pass vlan 101 to 102 800
#
2、配置AP上线
修改AC的认证方式
#
WLAN
wlan ac source interface vlanif800
ap-auth-mode no-auth
#
配置交换机的DHCP选项
#
dhcp enable
#
interface Vlanif101
ip address 10.1.101.1 255.255.255.0
dhcp select interface
dhcp server option 43 sub-option 3 ascii 10.1.200.100
#
#
interface Vlanif102
ip address 10.1.102.1 255.255.255.0
dhcp select interface
dhcp server option 43 sub-option 3 ascii 10.1.200.100
#
因为当AP和AC不在同一网段时,默认AP无法找到控制器,此时在AP的网关交换机上做HCDP选项的配置,使用option 43告诉AP控制器的位置是10.1.200.100
在控制器上使用命令dis ap all ,如果看不到AP上线请重启AP
[huawei-AC6005]dis ap all
All AP information(Normal-4 UnNormal-0):
——————————————————————————
AP AP AP Profile AP AP
/Region
ID Type MAC ID State Sysname
——————————————————————————
0 AP6010DN-AGN 00e0-fc03-1460 0/0 normal huawei-ap-0
1 AP6010DN-AGN 00e0-fc03-e500 0/0 normal ap-1
2 AP6010DN-AGN 00e0-fc03-c220 0/0 normal ap-2
3 AP6010DN-AGN 00e0-fc03-e000 0/0 normal ap-3
——————————————————————————
Total number: 4
如何在AP上重启AP及查看AP的CAPWAP信息
重启AP可以在AP上进行,命令如下,如果有认证账号admin 密码admin@huawei.com
reboot
System will reboot! Continue ? [y/n]:y
Info: system is rebooting please wait…
等重启结束后,可以在AP上校验CAPWAP的连接
dis capwap link state
——————————————————————————
LINK AP AP AP InIf FSM
ID IPAddr CPort DPort Index State
——————————————————————————
0 10.1.101.254 50736 50737 0 JOIN
——————————————————————————
dis capwap link state
——————————————————————————
LINK AP AP AP InIf FSM
ID IPAddr CPort DPort Index State
——————————————————————————
0 10.1.101.254 50736 50737 0 RUN
——————————————————————————
dis capwap link-detailed-info linkid 0
——————————————————————————
LinkID : 0
AP State : RUN
IP VERSION : 4
AP IPAddr : 10.1.101.254
AC IPAddr : 10.1.200.100
AP ControlPort: 50736
AP DataPort : 50737
AP Type : AP6010DN-AGN
AP Macaddress : 00e0-fc03-1460
AP Sn : 2102354483100842F558
AP DataFwdMode: 0
AP InIfIndex : 0
AP LastState : DATA_CHECK
AP SessionID : 3fce000-4ced6014-cfd89303-27c7e7fe
Sesstion timer : 0
DataCheckTimer timer : 0
EchoIntervalTimer timer : 17
ResetTimer timer : 0
KeepAliveTimer timer : 0
dtls state : 0
DiscoveryTimer timer : 20
RevertiveTimer timer : 0
Active LinkId : 0
Primary LinkId : 0
Config Flag : 0
Start ProtectLink : 0
Double Link Switch : 0
Discovery times : 0
TearDown times : 2
AC Num : 1
AC MAC : 00e0-fc03-44bc
——————————————————————————
查看AP的基础信息
dis system-information
System Information
===============================================
Serial Number : 2102354483100842F558
System Time : 2058-08-12 17:12:04
System Up time : 0:04
System Name : huawei-ap-0
Country Code : CN
MAC Address : 00:e0:fc:03:14:60
Radio 2.4GHz MAC Address : 00:e0:fc:03:14:60
Radio 5GHz MAC Address : 00:e0:fc:03:14:70
IP Address : 10.1.101.254
Subnet Mask : 255.255.255.0
Default Gateway : 10.1.101.1
Management VLAN ID(AP) : 1
IP MODE : dhcp
Slot Status : Dual band(an/bgn)
AP Type : AP6010DN-AGN
Board Type : AP6010DN
Board Serial Number :
Board Bom Version : 0
Boot Rom Version : –
Software Version : V200R003C00
Hardware Version : H86D2TD1D200 VER.A
Telnet Access : Enable
User Name : admin
===============================================
上一篇回顾
VLAN应用系列(5)主流厂商交换机VLAN接口不通?怎么办
下一篇学习