华为无线AP三层注册上线

1、拓扑

2、AC配置

vlan batch 10 20 100 200

interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 20

ip route-static 192.168.100.0 255.255.255.0 192.168.20.1
#
capwap source interface vlanif20

WLAN

 ap auth-mode no-auth
 ap-confirm  all
 ssid-profile name ssid
  ssid yiqing

 security-profile name secu
  security wpa-wpa2 psk pass-phrase %^%#;TLG.VJir3{%;|2sng}UxCLnF%d*-E>M+i.p"FoL
%^%# aes-tkip

 vap-profile name vap1
  service-vlan vlan-id 200
  ssid-profile ssid
  security-profile secu

 ap-group name default
  radio 0
   vap-profile vap1 wlan 1
  radio 1
   vap-profile vap1 wlan 1
  radio 2
   vap-profile vap1 wlan 1

 3、交换机CE1配置

vlan batch 20 100 200
#
dhcp enable
#
vlan 100
 description ap-vlan
#
vlan 200
 description sta-vlan

ip pool vlan100
 gateway-list 192.168.100.254 
 network 192.168.100.0 mask 255.255.255.0
 dns-list 223.5.5.5 
 option 43 sub-option 3 ascii 192.168.20.2
#
ip pool vlan200
 gateway-list 192.168.200.254 
 network 192.168.200.0 mask 255.255.254.0
 dns-list 223.5.5.5 
#
interface Vlanif20
 ip address 192.168.20.1 255.255.255.252
#
interface Vlanif100
 ip address 192.168.100.254 255.255.255.0
#
interface Vlanif200
 ip address 192.168.200.254 255.255.254.0

interface GE1/0/0
 undo shutdown
 port link-type trunk
 port trunk allow-pass vlan 20
#
interface GE1/0/1
 undo shutdown
 port link-type trunk
 port trunk allow-pass vlan 100 200

4、接入交换机配置

vlan batch 100 200

interface GigabitEthernet0/0/1
 port hybrid pvid vlan 100
 port hybrid tagged vlan 200
 port hybrid untagged vlan 100
 stp edged-port enable
#
interface GigabitEthernet0/0/2
 port hybrid pvid vlan 100
 port hybrid tagged vlan 200
 port hybrid untagged vlan 100
 stp edged-port enable
#
interface GigabitEthernet0/0/3
 port link-type trunk
 port trunk allow-pass vlan 100 200

5、AP上线流程

AP上上线流程
(1)、AP获取IP地址


(2)、AP发送discover request  #寻找AC
(3)、AC回复discover response #回应AP


(4)、  DTLS connect  AP和AC建立DTLS连接
(5)、AP发送join request   #加入请求
(6)、AC join response     #加入回应  此包中携带希望AP的软件版本,如果AP当前的版本和AC期望版本不一致会进行升级,升级完成之后AP重启
(7)、image date  #AP下载升级版本(第一次会更新)
(8)、AP configiation status request   #AP请求下发配置
(9)、AC configiation status response   #AC下发配置回应
(10)、 AP change state event  request  #AP请求改变状态
(11)、AC change state  event response   #AC回应改变状态


维持capwap隧道
(12)、keep alive   
(13)、keep alive
(14)、echo request
(15)、echo response


配置改变更新
(16)、configuration update request  #AC发送更新配置请求
(17)、configuration update response   #AP响应更新配置请求

 

 

 

 

 

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

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

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

打赏作者

I love this bad girl

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

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

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

打赏作者

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

抵扣说明:

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

余额充值