1、拓?fù)鋱D

2、組網(wǎng)配置
SW1配置:
[SW1]vlanbatch10101102
//放行VLAN
[SW1]interfaceGigabitEthernet0/0/1
[SW1-GigabitEthernet0/0/1]portlink-typetrunk
[SW1-GigabitEthernet0/0/1]porttrunkpvidvlan100
[SW1-GigabitEthernet0/0/1]porttrunkallow-passvlan100to101
//放行VLAN
[SW1]interfaceGigabitEthernet0/0/2
[SW1-GigabitEthernet0/0/2]portlink-typetrunk
[SW1-GigabitEthernet0/0/2]porttrunkallow-passvlan10101
//配置網(wǎng)關(guān)
[SW1]interfaceVlanif10
[SW1-Vlanif10]ipaddress192.168.13.1255.255.255.0
[SW1]interfaceVlanif100
[SW1-Vlanif100]ipaddress192.168.100.254255.255.255.0
[SW1-Vlanif100]dhcpselectinterface
[SW1-Vlanif100]dhcpserveroption43sub-option2ip-address192.168.13.2
[SW1]interfaceVlanif101
[SW1-Vlanif101]ipaddress192.168.101.254255.255.255.0
[SW1-Vlanif101]dhcpselectinterface
查看SW1中mac地址
00e0-fc4e-5810是AP的mac地址后面有用
[SW1]dismac-address
MACaddresstableofslot0:
-------------------------------------------------------------------------------
MACAddressVLAN/PEVLANCEVLANPortTypeLSP/LSR-ID
VSI/SIMAC-Tunnel
-------------------------------------------------------------------------------
00e0-fc63-169810--GE0/0/2dynamic0/-
00e0-fc4e-5810100--GE0/0/1dynamic0/-
-------------------------------------------------------------------------------
Totalmatchingitemsonslot0displayed=2
AC1配置
[AC]vlanbatch10101
//放行VLAN
[AC]interfaceGigabitEthernet0/0/1
[AC-GigabitEthernet0/0/1]portlink-typetrunk
[AC-GigabitEthernet0/0/1]porttrunkallow-passvlan10101
//配置IP地址
[AC]interfaceVlanif10
[AC-Vlanif10]ipaddress192.168.13.2255.255.255.0
[AC]capwapsourceip-address192.168.13.2
//配置默認(rèn)路由使AP與AC互通
[AC]iproute-static192.168.100.024192.168.13.1
//配置AP上線
[AC]wlan
[AC-wlan-view]ap-id0ap-mac00e0-fc63-1698
查看ap是否以及上線
0 00e0-fc4e-5810 00e0-fc4e-5810 default 192.168.100.253 AP2050DN nor
0 14S
這里為nor即為已上線
[AC]disapall
Info:Thisoperationmaytakeafewseconds.Pleasewaitforamoment.done.
TotalAPinformation:
nor:normal[1]
--------------------------------------------------------------------------------
----------------------
IDMACNameGroupIPTypeState
STAUptime
--------------------------------------------------------------------------------
----------------------
000e0-fc4e-581000e0-fc4e-5810default192.168.100.253AP2050DNnor
014S
--------------------------------------------------------------------------------
----------------------
Total:1
AC模板配置
[AC]wlan
[AC-wlan-view]ssid-profilenameljr//ljr為自定義名字
[AC-wlan-ssid-prof-ljr]ssidlinjianrong//linjianrong可以理解為WiFi的名字
[AC-wlan-ssid-prof-ljr]q
[AC-wlan-view]security-profilenameljr//ljr為自定義名字
[AC-wlan-sec-prof-ljr]securitywpa2pskpass-phrase2018060301324tkip
Warning:Thecurrentpasswordistoosimple.Forthesakeofsecurity,youarea
dvisedtosetapasswordcontainingatleasttwoofthefollowing:lowercaselet
tersatoz,uppercaselettersAtoZ,digits,andspecialcharacters.Continue?
[Y/N]:y
Warning:Ifthewmmdisablecommand,TKIP,WEP,orradiotypeof802.11a/b/gis
configured,thefunctionofdenyingaccessoflegacySTAscannottakeeffect.
這里的2018060301324為密碼
[AC-wlan-sec-prof-ljr]q
[AC-wlan-view]vap-profilenameljr
[AC-wlan-vap-prof-ljr]forward-modedirect-forward//direct-forward為直接轉(zhuǎn)發(fā)模式
[AC-wlan-vap-prof-ljr]service-vlanvlan-id101//管理的vlan,即ap下面管理的PC
[AC-wlan-vap-prof-ljr]ssid-profileljr//ssid模塊
[AC-wlan-vap-prof-ljr]security-profileljr//安全模塊
[AC-wlan-view]ap-groupnamedefault
[AC-wlan-ap-group-default]vap-profileljrwlan1radioall
Info:Thisoperationmaytakeafewseconds,pleasewait...done.
上面的敲完后會(huì)出現(xiàn)下面的情況
雙擊1、2,輸入密碼2018060301324,點(diǎn)擊確定完成連接
可以看到已經(jīng)連上了
雙擊STA1,在命令行輸入ipconfig查看是否已經(jīng)獲取IP地址

到此為止,整個(gè)實(shí)驗(yàn)完成。
3、總結(jié):
(1)在ENSP中觀察不到AP上線可能需要重啟AP;
(2)AP與192.168.13.2IP地址需要互通,AP才可能上線;
實(shí)驗(yàn)文件下載:
https://shendukongjian.lanzoux.com/ioPiSia8lah
審核編輯 :李倩
-
WLAN
+關(guān)注
關(guān)注
2文章
667瀏覽量
76650 -
組網(wǎng)
+關(guān)注
關(guān)注
1文章
438瀏覽量
23344 -
拓?fù)鋱D
+關(guān)注
關(guān)注
1文章
20瀏覽量
14748
原文標(biāo)題:WLAN三層組網(wǎng)實(shí)驗(yàn)還不會(huì)?看這篇文章足夠了!
文章出處:【微信號(hào):網(wǎng)絡(luò)技術(shù)干貨圈,微信公眾號(hào):網(wǎng)絡(luò)技術(shù)干貨圈】歡迎添加關(guān)注!文章轉(zhuǎn)載請(qǐng)注明出處。
發(fā)布評(píng)論請(qǐng)先 登錄
SDH光端機(jī)組網(wǎng)原則:構(gòu)建可靠通信網(wǎng)絡(luò)的核心規(guī)劃要點(diǎn)
視頻、工業(yè)、智慧交通,哪些網(wǎng)絡(luò)真的需要三層交換機(jī)
感知、決策規(guī)劃與執(zhí)行控制:智能系統(tǒng)的三層核心架構(gòu)解析
從五層到三層:NanoPaint無(wú)隔離層壓阻油墨,簡(jiǎn)化制造,重塑柔性傳感設(shè)計(jì)
從三層到二層:IGMP與IGMP Snooping的協(xié)同作戰(zhàn)
Vlan、三層交換機(jī)、網(wǎng)關(guān)、DNS、子網(wǎng)掩碼、MAC地址等網(wǎng)絡(luò)知識(shí)
使用 g430 的 CAN 功能進(jìn)行組網(wǎng)
云化園區(qū)網(wǎng)絡(luò)方案
小白也能秒懂!邁威通信教你分清網(wǎng)絡(luò)二層和三層
索尼展示三層堆疊圖像傳感器技術(shù),性能全方位提升
廣州郵科萬(wàn)兆6光千兆48電工業(yè)級(jí)光纖交換機(jī):三層功能如何重新定義網(wǎng)絡(luò)智能化
鴻蒙NEXT-鴻蒙三層架構(gòu)搭建,嵌入HMRouter,實(shí)現(xiàn)便捷跳轉(zhuǎn),新手攻略。(1/3)
2.4 GHz WLAN 前端模塊 skyworksinc
WLAN 802.11,b,g 前端模塊 skyworksinc
5 GHz WLAN 前端模塊 skyworksinc
WLAN三層組網(wǎng)實(shí)驗(yàn)還不會(huì)?
評(píng)論