華為無線,三層旁掛,直接模式組網


好久沒搞無線了,最近有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
#

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM