05-H3C無線接入點Mesh橋接典型配置舉例(V7)
本章節下載: 05-H3C無線接入點Mesh橋接典型配置舉例(V7) (226.20 KB)
H3C 無線接入點Mesh橋接典型配置舉例(V7)
Copyright © 2023 bobty下载软件 版權所有,保留一切權利。
非經本公司書麵許可,任何單位和個人不得擅自摘抄、複製本文檔內容的部分或全部,並不得以任何形式傳播。
除bobty下载软件 的商標外,本手冊中出現的其它公司的商標、產品標識及商品名稱,由各自權利人擁有。
本文檔中的信息可能變動,恕不另行通知。
本文檔介紹了Mesh橋接典型配置舉例。
本文檔適用於使用Comware V7軟件版本的無線接入點產品,不嚴格與具體硬件版本對應,如果使用過程中與產品實際情況有差異,請參考相關產品手冊,或以設備實際情況為準。
本文檔中的配置均是在實驗室環境下進行的配置和驗證,配置前設備的所有參數均采用出廠時的缺省配置。如果您已經對設備進行了配置,為了保證配置效果,請確認現有配置和以下舉例中的配置不衝突。
本文檔假設您已了解WLAN Mesh特性。
如圖1所示,由FAT AP作為無線網橋連接兩個局域網,實現兩個局域網之間的互通。
具體要求如下:
· AP 1和AP 2分別連接不同的局域網。
· 手工指定固定信道149,通過802.11ax射頻模式使AP 1和AP 2之間形成WDS鏈路。(802.11ax射頻模式的支持情況與設備型號有關,請以設備實際情況為準,此處僅為舉例)
圖1 FAT和FAT橋接配置組網圖
(1) 配置AP1的接口
# 配置Vlan-interface 1接口的IP地址為192.168.0.1。
<AP1> system-view
[AP1] interface vlan-interface 1
[AP1-Vlan-interface1] ip address 192.168.0.1 24
[AP1-Vlan-interface1] quit
# 創建VLAN 100及其對應的VLAN接口,並為該接口配置IP地址。LAN1內的主機將使用該VLAN接口與LAN2內的主機互通。
[AP1] vlan 100
[AP1-vlan100] quit
[AP1] interface vlan-interface 100
[AP1-Vlan-interface100] ip address 192.168.1.1 24
[AP1-Vlan-interface100] quit
# 將端口GE1/0/1加入VLAN 100。
[AP1] vlan 100
[AP1-vlan100] port GigabitEthernet 1/0/1
[AP1-vlan100] quit
(2) 配置Mesh Profile
# 創建一個編號為1的Mesh Profile。
[AP1] wlan mesh-profile 1
# 配置Mesh ID為1。
[AP1-wlan-mesh-profile-1] mesh-id 1
# 配置認證模式為SAE。
[AP1-wlan-mesh-profile-1] akm mode sae
# 配置預共享密鑰為12345678。
[AP1-wlan-mesh-profile-1] preshared-key pass-phrase simple 12345678
# 開啟Mesh Profile。
[AP1-wlan-mesh-profile-1] mesh-profile enable
[AP1-wlan-mesh-profile-1] quit
(3) 配置射頻接口
# 將Mesh Profile 1綁定到AP 1的WLAN-Radio 1/0/1接口。
[AP1] interface wlan-radio 1/0/1
[AP1-WLAN-Radio1/0/1] mesh-profile 1
# 配置射頻類型為802.11ax。
[AP1-WLAN-Radio1/0/1] type dot11ax
# 配置射頻工作信道為149。
[AP1-WLAN-Radio1/0/1] channel 149
# 向AP1的鄰居白名單中添加AP2的射頻接口的MAC地址,使AP1僅與AP2建立Mesh連接,以避免環路的產生。
[AP1-WLAN-Radio1/0/1] mesh peer-mac-address d461-fe59-4d20
# 開啟射頻功能。
[AP1-WLAN-Radio1/0/1] undo shutdown
[AP1-WLAN-Radio1/0/1] quit
(4) 配置靜態路由
[AP1] ip route-static 192.168.2.0 255.255.255.0 192.168.0.2
(1) 配置AP2的接口
# 配置Vlan-interface 1接口的IP地址為192.168.0.2。
<AP2> system-view
[AP2] interface vlan-interface 1
[AP2-Vlan-interface1] ip address 192.168.0.2 24
[AP2-Vlan-interface1] quit
# 創建VLAN 200及其對應的VLAN接口,並為該接口配置IP地址。LAN2內的主機將使用該VLAN接口與LAN1內的主機互通。
[AP2] vlan 200
[AP2-vlan200] quit
[AP2] interface vlan-interface 200
[AP2-Vlan-interface200] ip address 192.168.2.1 24
[AP2-Vlan-interface200] quit
# 將端口GE1/0/1加入VLAN 200。
[AP2] vlan 200
[AP2-vlan200] port GigabitEthernet 1/0/1
[AP2-vlan200] quit
(2) 配置Mesh Profile
# 創建一個編號為1的Mesh Profile。
[AP2] wlan mesh-profile 1
# 配置Mesh ID為1。
[AP2-wlan-mesh-profile-1] mesh-id 1
# 配置認證模式為SAE。
[AP2-wlan-mesh-profile-1] akm mode sae
# 配置預共享密鑰為12345678。
[AP2-wlan-mesh-profile-1] preshared-key pass-phrase simple 12345678
# 開啟Mesh Profile。
[AP2-wlan-mesh-profile-1] mesh-profile enable
[AP2-wlan-mesh-profile-1] quit
(3) 配置射頻接口
# 將Mesh Profile 1綁定到AP 2的WLAN-Radio 1/0/1接口。
[AP2] interface wlan-radio 1/0/1
[AP2-WLAN-Radio1/0/1] mesh-profile 1
# 配置射頻類型為802.11ax。
[AP2-WLAN-Radio1/0/1] type dot11ax
# 配置射頻工作信道為149。
[AP2-WLAN-Radio1/0/1] channel 149
# 向AP2的鄰居白名單中添加AP1的射頻接口的MAC地址,使AP2僅與AP1建立Mesh連接,以避免環路的產生。
[AP2-WLAN-Radio1/0/1] mesh peer-mac-address 84d9-316b-93a0
# 開啟射頻功能。
[AP2-WLAN-Radio1/0/1] undo shutdown
[AP2-WLAN-Radio1/0/1] quit
(4) 配置靜態路由
# 配置靜態路由。
[AP2] ip route-static 192.168.1.0 255.255.255.0 192.168.0.1
# 在AP 1上通過display wlan mesh-link命令可以查看到Mesh鏈路信息。
<AP1> display wlan mesh-link
Peer MAC RSSI BSSID Interface Link state Online time
d461-fe59-4d20 87 84d9-316b-93a0 WLAN-MeshLink51 Active 00h 00m 12s
# 在AP 2上通過display wlan mesh-link命令可以查看到Mesh鏈路信息。
<AP2> display wlan mesh-link
Peer MAC RSSI BSSID Interface Link state Online time
84d9-316b-93a0 84 d461-fe59-4d20 WLAN-MeshLink259 Active 00h 06m 31s
# LAN1內的主機與LAN2內的主機可以互相ping通。
· AP 1
#
sysname AP1
#
wlan mesh-profile 1
mesh-id 1
akm mode sae
preshared-key pass-phrase cipher $c$3$vn2DU2ACd3o9CbivCPPh9issxj6Rmja5gMQA
mesh-profile enable
#
vlan 1
#
vlan 100
#
interface Vlan-interface1
ip address 192.168.0.1 255.255.255.0
#
interface Vlan-interface100
ip address 192.168.1.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 100
#
interface WLAN-Radio1/0/1
mesh-profile 1
mesh peer-mac-address d461-fe59-4d20
type dot11ax
channel 149
#
ip route-static 192.168.2.0 24 192.168.0.2
#
return
· AP 2
#
sysname AP2
#
wlan mesh-profile 1
mesh-id 1
akm mode sae
preshared-key pass-phrase cipher $c$3$vn2DU2ACd3o9CbivCPPh9issxj6Rmja5gMQA
mesh-profile enable
#
vlan 1
#
vlan 200
#
interface Vlan-interface1
ip address 192.168.0.2 255.255.255.0
#
interface Vlan-interface200
ip address 192.168.2.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port access vlan 200
#
interface WLAN-Radio1/0/1
mesh-profile 1
mesh peer-mac-address 84d9-316b-93a0
type dot11ax
channel 149
#
ip route-static 192.168.1.0 24 192.168.0.1
#
return
如圖2所示,MPP通過交換機與AC連接,實現客戶端能夠通過MAP接入網絡並訪問Server服務器。
具體要求如下:
· Server服務器連接交換機。
· MPP和MAP之間使用射頻工作模式為802.11ax,工作信道號為149來建立Mesh鏈路。(802.11ax射頻模式的支持情況與設備型號有關,請以設備實際情況為準,此處僅為舉例)
圖2 FIT和AP橋接配置組網圖
(1) 配置DHCP server
# 開啟DHCP server功能。
<AC> system-view
[AC] dhcp enable
# 配置DHCP地址池1為FIT AP和服務器分配地址範圍為192.168.0.0/24,網關地址為192.168.0.1。
[AC] dhcp server ip-pool 1
[AC-dhcp-pool-1] network 192.168.0.0 mask 255.255.255.0
[AC-dhcp-pool-1] gateway-list 192.168.0.1
[AC-dhcp-pool-1] quit
(2) 配置AC的接口
# 配置VLAN1的IP地址為192.168.0.1,FIT AP將獲取該IP地址與AC建立CAPWAP隧道。
[AC] interface vlan-interface 1
[AC-Vlan-interface1] ip address 192.168.0.1 255.255.255.0
[AC-Vlan-interface1] quit
(3) 配置Mesh Profile
# 創建一個編號為1的Mesh Profile。
<AC> system-view
[AC] wlan mesh-profile 1
# 配置Mesh ID為1。
[AC-wlan-mesh-profile-1] mesh-id 1
# 配置認證模式為SAE。
[AC-wlan-mesh-profile-1] akm mode sae
# 配置預共享密鑰為12345678。
[AC-wlan-mesh-profile-1] preshared-key pass-phrase simple 12345678
# 開啟Mesh Profile。
[AC-wlan-mesh-profile-1] mesh-profile enable
[AC-wlan-mesh-profile-1] quit
(4) 配置MPP
# 創建AP的模板,名稱為mpp,型號名稱選擇WA6620,並配置AP的序列號為219801A2BQ8207E0000S。
[AC] wlan ap mpp model WA6620
[AC-wlan-ap-mpp] serial-id 219801A2BQ8207E0000S
# 將Mesh Profile 1綁定到mpp的Radio 1口。
[AC-wlan-ap-mpp] radio 1
[AC-wlan-ap-mpp-radio-1] mesh-profile 1
# 配置射頻類型為802.11ax。
[AC-wlan-ap-mpp-radio-1] type dot11ax
# 配置射頻工作信道為149。
[AC-wlan-ap-mpp-radio-1] channel 149
# 開啟Radio。
[AC-wlan-ap-mpp-radio-1] radio enable
[AC-wlan-ap-mpp-radio-1] quit
# 配置MPP停止發送鄰居探測請求。
[AC-wlan-ap-mpp] portal-service enable
[AC-wlan-ap-mpp] quit
(5) 配置靜態路由
# 配置靜態路由。
[AC]ip route-static 192.168.1.0 255.255.255.0 192.168.0.2
(1) 配置Mesh Profile。
# 創建一個編號為1的Mesh Profile。
<MAP> system-view
[MAP] wlan mesh-profile 1
# 配置Mesh ID為1。
[MAP1-wlan-mesh-profile-1] mesh-id 1
# 配置認證模式為SAE。
[MAP-wlan-mesh-profile-1] akm mode sae
# 配置預共享密鑰為12345678。
[MAP-wlan-mesh-profile-1] preshared-key pass-phrase simple 12345678
# 開啟Mesh Profile。
[MAP-wlan-mesh-profile-1] mesh-profile enable
[MAP-wlan-mesh-profile-1] quit
(2) 配置無線服務模板service1。
# 配置無線無線服務模板service1,配置SSID為mesh-network,並使能服務模板。
[MAP] wlan service-template service1
[MAP-wlan-st-service1] ssid mesh-network
[MAP-wlan-st-service1] service-template enable
[MAP-wlan-st-service1] quit
(3) 配置射頻接口
# 將Mesh Profile 1綁定到MAP的WLAN-Radio 1/0/1接口。
[MAP] interface wlan-radio 1/0/1
[MAP-WLAN-Radio1/0/1] mesh-profile 1
# 將無線服務模板service1綁定到MAP的WLAN-Radio 1/0/1接口。
[MAP-WLAN-Radio1/0/1] service-template service1
# 配置Radio接口射頻類型為802.11ax。
[MAP-WLAN-Radio1/0/1] type dot11ax
# 配置射頻工作信道號為149。
[MAP-WLAN-Radio1/0/1] channel 149
# 向MAP的鄰居白名單中添加MPP的射頻接口的MAC地址,使MAP僅與MPP建立Mesh連接,以避免環路的產生。
[MAP-WLAN-Radio1/0/1] mesh peer-mac-address ac74-090a-6420
# 開啟射頻功能。
[MAP-WLAN-Radio1/0/1] undo shutdown
[MAP-WLAN-Radio1/0/1] quit
[MAP] quit
(4) 配置DHCP服務。
# 開啟DHCP功能。
[MAP] dhcp enable
# 創建名為vlan100的DHCP地址池,為Client分配IP地址,配置地址池動態分配的網段為192.168.1.0/24,網關地址為192.168.1.1。
[MAP] dhcp server ip-pool vlan100
[MAP-dhcp-pool-vlan100] network 192.168.1.0 mask 255.255.255.0
[MAP-dhcp-pool-vlan100] gateway-list 192.168.1.1
[MAP-dhcp-pool-vlan100] quit
# 完成以上配置後,在AC上可以通過display wlan mesh-link ap命令查看到MPP和MAP的Mesh鏈路已經成功建立。
<AC>display wlan mesh-link ap
AP name: mpp
Peer Local Status RSSI Packets(Rx/Tx)
d461-fe59-4d20 ac74-090a-6420 Forwarding 84 75/206
# 在MAP上通過display wlan mesh-link命令查看到MAP和MPP的Mesh鏈路已經成功建立。
<MAP> display wlan mesh-link
Peer MAC RSSI BSSID Interface Link state Online time
ac74-090a-6420 82 d461-fe59-4d20 WLAN-MeshLink231 Active 00h 46m 53s
# Client與Server可以互相ping通。
· MAP
#
sysname MAP
#
dhcp enable
#
wlan mesh-profile 1
mesh-id 1
akm mode sae
preshared-key pass-phrase cipher $c$3$MA+IbbyMk2HFZPOGPZtCOu/7tC0zlT4/9HuX
mesh-profile enable
#
vlan 1
#
vlan 100
#
dhcp server ip-pool vlan100
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
#
wlan service-template service1
ssid mesh-network
vlan 100
service-template enable
#
interface NULL0
#
interface Vlan-interface1
ip address 192.168.0.2 255.255.255.0
#
interface Vlan-interface100
ip address 192.168.1.1 255.255.255.0
#
interface WLAN-Radio1/0/1
service-template service1
mesh-profile 1
mesh peer-mac-address ac74-090a-6420
type dot11ax
channel 149
#
return
· AC
#
sysname AC
#
telnet server enable
#
dhcp enable
#
wlan mesh-profile 1
mesh-id 1
akm mode sae
preshared-key pass-phrase cipher $c$3$L7PLM5cfBX+LuA9AXhbmYQgz0yU1pcc0y26/
mesh-profile enable
#
vlan 1
#
dhcp server ip-pool 1
gateway-list 192.168.0.1
network 192.168.0.0 mask 255.255.255.0
#
interface Vlan-interface1
ip address 192.168.0.1 255.255.255.0
#
ip route-static 192.168.1.0 24 192.168.0.2
#
wlan ap mpp model WA6620
serial-id 219801A2BQ8207E0000S
radio 1
type dot11ax
channel 149
radio enable
mesh-profile 1
#
return
· 《H3C 無線接入點 命令參考》中的“WLAN Mesh命令參考”。
· 《H3C 無線接入點 配置指導》中的“WLAN Mesh配置指導”。
不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!