AC+AP 旁挂式连接配置(华为)

AR1路由器配置

interface GigabitEthernet0/0/0

ip address 10.1.30.1 255.255.255.0

ip route-static 10.1.20.0 255.255.255.0 10.1.30.2

LSW1核心交换机

dhcp enable

vlan batch 10 20 30

interface Vlanif20

ip address 10.1.20.1 255.255.255.0

dhcp select interface

interface Vlanif30

ip address 10.1.30.2 255.255.255.0

interface GigabitEthernet0/0/1

port link-type access

port default vlan 30

interface GigabitEthernet0/0/2

port link-type trunk

port trunk allow-pass vlan 10 20

interface GigabitEthernet0/0/3

port link-type trunk

port trunk allow-pass vlan 10

LSW2二层交换机配置

vlan batch 10 20

interface GigabitEthernet0/0/1

port link-type trunk

port trunk allow-pass vlan 10 20

interface GigabitEthernet0/0/2

port link-type trunk

port trunk pvid vlan 10

port trunk allow-pass vlan 10 20

interface GigabitEthernet0/0/3

port link-type trunk

port trunk pvid vlan 10

port trunk allow-pass vlan 10 20

AC配置

vlan batch 10

dhcp enable

interface Vlanif10

ip address 10.1.10.1 255.255.255.0

dhcp select interface

interface GigabitEthernet0/0/1

port link-type trunk

port trunk allow-pass vlan 10

capwap source ip-address 10.1.10.1

wlan

ap-group name group1

ap auth-mode no-auth

display ap all

#等待几十秒,待ap上线再操作一下命令

ap-id 0

ap-name ap1

ap-group group1

ap-id 1

ap-name ap2

ap-group group1

ap auth-mode mac-auth

display ap all

ssid-profile name group1

ssid group1

security-profile name group1

security wpa-wpa2 psk pass-phrase 12345678 aes

vap-profile name group1

ssid-profile group1

security-profile group1

forward-mode direct-forward

regulatory-domain-profile name group1

country-code CN

ap-group name group1

regulatory-domain-profile group1

vap-profile group1 wlan 1 radio all

#

相关推荐
bing_15819 分钟前
MQTT 和 HTTP 有什么本质区别?
网络·网络协议·http
杨浦老苏2 小时前
Docker端口映射查看工具Dockpeek
网络·docker·群晖
未来之窗软件服务2 小时前
通过网页调用身份证阅读器http websocket方法-华视电子————仙盟创梦IDE
网络·网络协议·http·仙盟创梦ide·东方仙盟·硬件接入
创小匠3 小时前
创客匠人解析创始人 IP 定位:从专业度到用户心智的占领之道
网络·网络协议·tcp/ip
车载测试工程师4 小时前
车载以太网网络测试-29【SOME/IP-SD】-SD状态机
网络·网络协议·tcp/ip·车载系统·php
高兴达4 小时前
RPC--自定义注解注册发布服务
网络·网络协议·rpc
lang201509285 小时前
Reactor ConnectableFlux支持多订阅者
java·网络
在下Z.5 小时前
利用TCP协议,创建一个多人聊天室
网络·网络协议·tcp/ip
pipip.6 小时前
UDP————套接字socket
linux·网络·c++·网络协议·udp
Félix2516 小时前
计算机网络笔记(不全)
网络·计算机网络