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

#

相关推荐
数智化管理手记3 小时前
精益生产中的TPM管理是什么?一文破解设备零故障的密码
服务器·网络·数据库·低代码·制造·源代码管理·精益工程
末日汐4 小时前
传输层协议UDP
linux·网络·udp
RopenYuan7 小时前
FastAPI -API Router的应用
前端·网络·python
@insist1237 小时前
网络工程师-VLAN 技术原理与配置指南(软考局域网核心考点)
网络·网络工程师·软考·软件水平考试
TechWayfarer7 小时前
如何搭建企业级IP归属地查询平台?
网络·网络协议·tcp/ip
TechWayfarer7 小时前
科普:IP归属地中的IDC/机房/家庭宽带有什么区别?
服务器·网络·tcp/ip
EmbeddedCore9 小时前
守护网络通信的基石:深入解析SSL/TLS协议
网络·网络协议·ssl
(Charon)10 小时前
【网络编程】关于 KV 数据库项目搭建的一些思考:从网络层到存储层该怎么想
网络
.豆鲨包10 小时前
【计算机网络】数据链路层
网络·网络协议·计算机网络
一个有温度的技术博主11 小时前
计算机网络核心二:一文讲透电路、报文与分组交换
智能路由器