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

#

相关推荐
qq_4165602013 分钟前
fmql之ubuntu添加dhcp服务
网络
小狮子安度因1 小时前
边缘智能-大模型架构初探
linux·网络
宇宙第一小趴菜2 小时前
探索网络世界:TCP/IP协议、Python Socket编程及日常生活比喻
网络·python·tcp/ip
新手嵌入式学习2 小时前
Modbus_tcp
网络·网络协议·tcp/ip
小宋10212 小时前
RabbitMQ:交换机详解(Fanout交换机、Direct交换机、Topic交换机)
服务器·网络·rabbitmq
hellojackjiang20112 小时前
开源即时通讯IM框架MobileIMSDK的H5端技术概览
网络·开源·即时通讯·im开发
yczykjyxgs3 小时前
PCDN技术如何保障网络安全?(贰)
服务器·网络·科技
伪NChris4 小时前
机器学习的网络们
网络·人工智能·机器学习
zqh176736464695 小时前
注册信息安全专业人员(CISP)和网络安全的联系与区别
网络·安全·web安全
minky糕6 小时前
Rsync未授权访问漏洞复现及彻底修复
网络