华为ENSP无线小案例
生活随笔
收集整理的這篇文章主要介紹了
华为ENSP无线小案例
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
AR1為運(yùn)營商網(wǎng)絡(luò),AR2為邊界路由器,一臺核心交換機(jī),一臺AC控制器外加3臺AP設(shè)備,拓?fù)鋱D如下
AR1[AR1]interface GigabitEthernet 0/0/1 進(jìn)入接口1[AR1-GigabitEthernet0/0/1]ip address 114.114.114.114 24 創(chuàng)建IP地址[AR1]ip route-static 0.0.0.0 0.0.0.0 114.114.114.1 添加一條去內(nèi)網(wǎng)的靜態(tài)路由AR2[AR2]interface GigabitEthernet 0/0/1 進(jìn)入接口1[AR2-GigabitEthernet0/0/1]ip address 114.114.114.1 24 配置IP地址[AR2]dhcp enable 開啟dhcp服務(wù)[AR2]interface GigabitEthernet 0/0/0 進(jìn)入接口0[AR2-GigabitEthernet0/0/0]ip address 192.168.80.1 24 配置IP地址[AR2-GigabitEthernet0/0/0]dhcp select interface 配置基于接口自動(dòng)獲取IP地址[AR2]ip route-static 0.0.0.0 0.0.0.0 114.114.114.114 添加一條去外網(wǎng)的靜態(tài)路由核心交換機(jī)設(shè)置[core]Vlan 2 創(chuàng)建vlan 2[core]interface Vlanif 2 進(jìn)入vlan 2[core-Vlanif2]ip address 192.168.80.2 24 設(shè)置一個(gè)IP地址[core]ip route-static 0.0.0.0 0.0.0.0 192.168.80.1 創(chuàng)建一條靜態(tài)路由下一條指向出口路由器[core]interface GigabitEthernet 0/0/4 進(jìn)入接口4[core-GigabitEthernet0/0/4]port link-type access 設(shè)置模式為access[core-GigabitEthernet0/0/4]port default vlan 2 將接口加入vlan2同理交換機(jī)與AC接口一樣[core]interface GigabitEthernet 0/0/5 進(jìn)入接口5[core-GigabitEthernet0/0/5]port link-type access 設(shè)置模式為access[core-GigabitEthernet0/0/5]port default vlan 2 將接口加入vlan2將AP與交換機(jī)的線設(shè)置為trunk[core]interface GigabitEthernet 0/0/1 進(jìn)入接口1 [core-GigabitEthernet0/0/1]port link-type trunk 設(shè)置模式為trunk[core-GigabitEthernet0/0/1]port trunk pvid vlan 2 將接口標(biāo)簽設(shè)置為vlan2[core-GigabitEthernet0/0/1]port trunk allow-pass vlan all 允許所有vlan通過接口2接口3同接口1一樣配置配置AC[AC]Vlan 2 創(chuàng)建vlan 2[AC]interface Vlanif 2 進(jìn)入vlan 2[AC-Vlanif2]ip address 192.168.80.3 24 設(shè)置一個(gè)IP地址[AC]ip route-static 0.0.0.0 0.0.0.0 192.168.80.2 創(chuàng)建一條靜態(tài)路由下一條指向出口路由器[AC]interface GigabitEthernet 0/0/1 進(jìn)入接口1[AC-GigabitEthernet0/0/1]port link-type access 設(shè)置模式為access[AC-GigabitEthernet0/0/1]port default vlan 2 將接口加入vlan2[AC]capwap source interface Vlanif 2 基于vlan 2上線[AC]wlan 開始配置[AC-wlan-view]ap auth-mode no-auth 設(shè)置認(rèn)證方式為不認(rèn)證[AC-wlan-view]ssid-profile name office 創(chuàng)建一個(gè)名為office的SSID組[AC-wlan-ssid-prof-office]ssid WIFI 創(chuàng)建SSID名稱[AC-wlan-view]security-profile name office 創(chuàng)建名為office的密碼組[AC-wlan-sec-prof-office]security wpa2 psk pass-phrase 88888888 aes 加密方式為WPA2密碼為88888888[AC-wlan-view]vap-profile name office 創(chuàng)建一個(gè)關(guān)聯(lián)組[AC-wlan-vap-prof-office]ssid-profile office 關(guān)聯(lián)SSID模板[AC-wlan-vap-prof-office]security-profile office 關(guān)聯(lián)密碼模板[AC-wlan-vap-prof-office]service-vlan vlan-id 2 基于vlan2分配地址[AC-wlan-view]ap-group name default 進(jìn)入默認(rèn)組[AC-wlan-ap-group-default]vap-profile office wlan 1 radio all 將這個(gè)office啟用,啟用2.4與5G以上就是配置步驟?結(jié)果:
測試
?拖入一臺PC機(jī),連接輸入密碼連接
?查看IP地址,可以看到獲取到了IP地址
?以上就是一個(gè)SSID情況下無線網(wǎng)絡(luò)的配置
總結(jié)
以上是生活随笔為你收集整理的华为ENSP无线小案例的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 计算机软件财务记账归入科目,糖酒会费用应
- 下一篇: GDI+生成准考证