华为无线,三层旁挂,直接模式组网

好久没搞无线了,最近有ap上线,模拟一下

WLAN 配置:

capwap source interface vlanif 100

 wlan
    ap-group name ap-group1

    regulatory-domain-profile name default
        country-code cn

    #ap mac认证方式
    #ap auth-mode mac-auth

    ap-id 0 ap-mac 00-e0-fc-bd-3a-60
    ap-name ap1
    ap-group ap-group1

    vlan pool sta-pool
        vlan 30 40
        
    security-profile name wlan-net
        security wpa-wpa2 psk pass-phrase a1234567 aes

    ssid-profile name wlan-net
        ssid wlan-net

    vap-profile name wlan-net
        forward-mode direct-forward
        service-vlan vlan-pool sta-pool
        security-profile wlan-net
        ssid-profile wlan-net

    ap-group name ap-group1
        vap-profile wlan-net wlan 1 radio 0
        vap-profile wlan-net wlan 1 radio 1

以下可选
    rrm-profile name default   
        calibrate auto-channel-select disable
        calibrate auto-txpower-select disable 
    ap-id 0
        radio 0
            channel 20mhz 6
            eirp 127
    ap-id 1
        radio 1
            channel 20mhz 149
            eirp 127
交换机配置:
#
vlan batch 10 20 30 40 100
#

dhcp enable

ip pool 1
 gateway-list 10.0.10.1
 network 10.0.10.0 mask 255.255.255.0
 option 43 sub-option 2 ip-address 10.0.100.2
#
ip pool 2
 gateway-list 10.0.30.1
 network 10.0.30.0 mask 255.255.255.0     
#
ip pool 3
 gateway-list 10.0.40.1
 network 10.0.40.0 mask 255.255.255.0
#
interface Vlanif1
 ip address 10.0.80.1 255.255.255.0
#
interface Vlanif10
 ip address 10.0.10.1 255.255.255.0
 dhcp select global
#
interface Vlanif20
 ip address 20.0.0.2 255.255.255.0
#                                         
interface Vlanif30
 ip address 10.0.30.1 255.255.255.0
 dhcp select global
#
interface Vlanif40
 ip address 10.0.40.1 255.255.255.0
 dhcp select global
#
interface Vlanif100
 ip address 10.0.100.1 255.255.255.0

#
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 100
 stp disable
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk pvid vlan 10
 port trunk allow-pass vlan 10 30 40
 stp disable
#                                         
interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 20
#

 

posted @ 2020-12-07 22:43  abel2020  阅读(1189)  评论(0编辑  收藏  举报