WLAN配置三层直连隧道转发
生活随笔
收集整理的這篇文章主要介紹了
WLAN配置三层直连隧道转发
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
示例圖
一、實(shí)驗(yàn)?zāi)康?/h2>
1.配置三層直連隧道轉(zhuǎn)發(fā)
二、注意事項(xiàng)
1.如果管理VLAN有多個(gè),在AC上一定要有,去往管理VLAN地址的路由
2.參考無線接入控制器(AC和FIT AP) V200R019C00 產(chǎn)品文檔
三、簡單查詢
1.display ap all查看到AP是否正常上線、當(dāng)“State”字段為“nor”時(shí),表示AP正常上線
2.display vap ssid wlan-net查看VAP是否創(chuàng)建成功,當(dāng)“Status”項(xiàng)顯示為“ON”時(shí),表示AP對應(yīng)的射頻上的VAP已創(chuàng)建成功。
3.display station ssid wlan-net,可以查看用戶是否接入到無線網(wǎng)絡(luò)“wlan-net”中。
4.display ap run-info { ap-name ap-name | ap-id ap-id },查看AP的運(yùn)行信息。
5.display ap service-config acl [ ipv6 ] { ap-name ap-name | ap-id ap-id },查看指定AP上的ACL配置信息
6.display ap statistics,查看添加到AC上的AP的AP類型統(tǒng)計(jì)信息。
7.display ap port { all | ap-name ap-name | ap-id ap-id | ap-mac ap-mac },查看AP的端口狀態(tài)和流量信息。
8.display ap performance statistics { ap-name ap-name | ap-id ap-id },用來查看AP性能
##
四、簡單配置
LSWA
sysname LSWA # vlan batch 10 101 to 102 # interface GigabitEthernet0/0/1port link-type trunkport trunk pvid vlan 10port trunk allow-pass vlan 3 10 101 to 102port-isolate enable group 1 # interface GigabitEthernet0/0/2port link-type trunkport trunk allow-pass vlan 2 10 101 to 102 # returnLSWB
sysname LSWB # vlan batch 2 10 100 to 102 # dhcp enable # interface Vlanif2ip address 192.168.2.2 255.255.255.0 # interface Vlanif10ip address 10.23.10.1 255.255.255.0 dhcp select relaydhcp relay server-ip 10.23.100.1 # interface Vlanif100ip address 10.23.100.2 255.255.255.0 # interface Vlanif101ip address 10.23.101.1 255.255.255.0 dhcp select interface # interface Vlanif102ip address 10.23.102.1 255.255.255.0 dhcp select interface # interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 2 to 3 10 101 to 102 # interface GigabitEthernet0/0/2port link-type trunkport trunk pvid vlan 2port trunk allow-pass vlan 2 100 to 102 # ip route-static 0.0.0.0 0.0.0.0 192.168.2.1 # returnAC1
sysname AC1 # vlan batch 2 to 3 100 to 102 # vlan pool sta-poolvlan 101 to 102 # dhcp enable # ip pool huaweigateway-list 10.23.10.1 network 10.23.10.0 mask 255.255.255.0 option 43 sub-option 3 ascii 10.23.100.1 # interface Vlanif2ip address 192.168.2.1 255.255.255.0 # interface Vlanif3ip address 192.168.1.2 255.255.255.0 # interface Vlanif100ip address 10.23.100.1 255.255.255.0dhcp select global # interface GigabitEthernet0/0/1port link-type trunkport trunk pvid vlan 2port trunk allow-pass vlan 2 100 to 102 # interface GigabitEthernet0/0/2port link-type trunkport trunk pvid vlan 3port trunk allow-pass vlan 3 101 to 102 # ip route-static 0.0.0.0 0.0.0.0 192.168.2.2 ip route-static 10.23.10.0 255.255.255.0 10.23.100.2 # capwap source interface vlanif100 # wlansecurity wpa-wpa2 psk pass-phrase abc123456 aesssid-profile name wlan-netssid wlan-netvap-profile name wlan-netforward-mode tunnelservice-vlan vlan-pool sta-poolssid-profile wlan-netsecurity-profile wlan-netregulatory-domain-profile name defaultdca-channel 5g channel-set 149,153,157,161air-scan-profile name wlan-airscanscan-channel-set dca-channelradio-2g-profile name wlan-radio2gair-scan-profile wlan-airscanradio-5g-profile name wlan-radio5gair-scan-profile wlan-airscanap-group name ap-group1radio 0radio-2g-profile wlan-radio2gvap-profile wlan-net wlan 1radio 1radio-5g-profile wlan-radio5gvap-profile wlan-net wlan 1ap-id 0 type-id 56 ap-mac AP的MAC地址ap-name area_1ap-group ap-group1ap-id 1 type-id 56 ap-mac AP的MAC地址ap-name area_2ap-group ap-group1provision-ap # returnAR1
sysname AR1 # interface GigabitEthernet0/0/1ip address 192.168.1.1 255.255.255.0 # ip route-static 0.0.0.0 0.0.0.0 192.168.1.2 # return總結(jié)
以上是生活随笔為你收集整理的WLAN配置三层直连隧道转发的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Can总线芯片TJA1051替代TJA1
- 下一篇: 1024. 视频拼接 的两种解法