组建直连式二层无线局域网
直连式二层组网AC数据规划表
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[S1]vlan batch 100 101
[S1]interface gigabitethernet 0/0/1
[S1-GigabitEthernet0/0/1]port link-type trunk
[S1-GigabitEthernet0/0/1]port trunk pvid vlan 100
[S1-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 101
[S1]interface gigabitethernet 0/0/2
[S1-GigabitEthernet0/0/2]port link-type trunk
[S1-GigabitEthernet0/0/2]port trunk pvid vlan 100
[S1-GigabitEthernet0/0/2]port trunk allow-pass vlan 100 101
[S1]interface gigabitethernet 0/0/3
[S1-GigabitEthernet0/0/3]port link-type trunk
[S1-GigabitEthernet0/0/3]port trunk allow-pass vlan 100 101
[AC]vlan batch 100 101[AC]interface gigabitethernet 0/0/1[AC-GigabitEthernet0/0/1]port link-type trunk[AC-GigabitEthernet0/0/1]port trunk allow-pass vlan 100 101[AC-GigabitEthernet0/0/1]quit[AC]interface gigabitethernet 0/0/2[AC-GigabitEthernet0/0/2]port link-type trunk[AC-GigabitEthernet0/0/2]port trunk allow-pass vlan 101[AC-GigabitEthernet0/0/2]quit
IP地址部署
[AC]interface vlanif 100
[AC-Vlanif100]ip address 10.23.100.1 24
[AC]interface vlanif 101
[AC-Vlanif101]ip address 10.23.101.1 24
[R1]interface GigabitEthernet0/0/0.101[R1-GigabitEthernet0/0/0.101]dot1q termination vid 101[R1-GigabitEthernet0/0/0.101]ip address 10.23.101.2 255.255.255.0[R1-GigabitEthernet0/0/0.101]arp broadcast enable[R1]interface LoopBack 10[R1-LoopBack10]ip address 10.10.10.10 24
[AC]ip route-static 0.0.0.0 0.0.0.0 10.23.101.2
[R1]ip route-static 10.23.100.0 255.255.255.0 10.23.101.1
[AC]dhcp enable
[AC]interface vlanif 100
[AC-Vlanif100]dhcp select interface
[AC-Vlanif100]quit
[AC]interface vlanif 101
[AC-Vlanif101]dhcp select interface
[AC-Vlanif101]dhcp server excluded-ip-address 10.23.101.2
[AC-Vlanif101]dhcp server dns-list 10.10.10.10
[AC-Vlanif101]quit
创建AP组
[ ]wlan
[group name ap-group1 ]ap-
[default ]regulatory-domain-profile name
[ ]country-code cn
[ ]quit
[group name ap-group1 ]ap-
[default ]regulatory-domain-profile
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continue?[Y/N]:y
[ ]quit
[AC]capwap source interface vlanif 100
[ ]wlan
[ ]ap auth-mode mac-auth
[0 ap-mac ac85-3d92-3340 ]ap-id
[ ]ap-name area_1
[group ap-group1 ]ap-
Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration
s of the radio, Whether to continue? [Y/N]:y
[ ]quit
[AC-wlan-view]display ap all
Info: This operation may take a few seconds. Please wait for a moment.done.
Total AP information:
nor : normal [2]
---------------------------------------------------------------------------------------------
ID MAC Name Group IP Type State STA Upt
ime
---------------------------------------------------------------------------------------------
0 00e0-fc4f-3de0 area_1 ap-group1 10.23.100.239 AP5030DN nor 1 1H:10M:48S
1 00e0-fc3e-2040 area_2 ap-group1 10.23.100.6 AP5030DN nor 1 1H:10M:39S
---------------------------------------------------------------------------------------------Total: 2
[ ]security-profile name wlan-net
[ ]security wpa-wpa2 psk pass-phrase a1234567 aes
[ ]quit
[ ]ssid-profile name wlan-net
[ ]ssid wlan-net
[ ]quit
[ ]vap-profile name wlan-net
[ ]forward-mode direct-forward
[101 ]service-vlan vlan-id
[ ]security-profile wlan-net
[ ]ssid-profile wlan-net
[ ]quit
[group name ap-group1 ]ap-
[1 radio 0 ]vap-profile wlan-net wlan
[1 radio 1 ]vap-profile wlan-net wlan
[ ]quit
[0 ]ap-id
[0 ]radio
[select disable ]calibrate auto-channel-
[select disable ]calibrate auto-txpower-
[20mhz 6 ]channel
Warning: This action may cause service interruption. Continue?[Y/N]y
[127 ]eirp
[ ]quit
侵权请私聊公众号删文
热文推荐
原文始发于微信公众号(LemonSec):WLAN的基本业务配置流程
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论