【eNSP实战】(续)一个AC多个VAP的实现—将隧道转发改成直接转发

一个AC多个VAP的实现---CAPWAP隧道转发 此篇文章配置的基础上,将隧道转发改成直接转发

一、改成直接转发需要改动的配置

(一)将连接AP的接口改成trunk口,并允许vlan100、101、102通过

bash 复制代码
[AC1]interface GigabitEthernet 0/0/8
[AC1-GigabitEthernet0/0/8]undo port default vlan
[AC1-GigabitEthernet0/0/8]undo port link-type
[AC1-GigabitEthernet0/0/8]port link-type trunk 
[AC1-GigabitEthernet0/0/8]port trunk pvid vlan 100
[AC1-GigabitEthernet0/0/8]port trunk allow-pass vlan 100 101 102
[AC1-GigabitEthernet0/0/8]quit

(二)在VAP模板中将隧道转发改成直接转发

bash 复制代码
[AC1]wlan 
[AC1-wlan-view]vap-profile name vap-office101		# 进入vap-office101模板
[AC1-wlan-vap-prof-vap-office101]forward-mode direct-forward 	# 改成直接转发模式
Warning: This action may cause service interruption. Continue?[Y/N]Y	# Y确认修改
Info: This operation may take a few seconds, please wait...done.
[AC1-wlan-vap-prof-vap-office101]quit
[AC1-wlan-view]vap-profile name vap-office102		# 进入vap-office102模板
[AC1-wlan-vap-prof-vap-office102]forward-mode direct-forward 	# 改成直接转发模式
Warning: This action may cause service interruption. Continue?[Y/N]Y	# Y确认修改
Info: This operation may take a few seconds, please wait...done.
[AC1-wlan-vap-prof-vap-office102]quit
[AC1-wlan-view]

改完后,无线设备STA会断开,需要重新连接。

查看STA设备IP

STA设备与AR1路由器互通测试

相关推荐
Ivanqhz12 分钟前
数据搬运是性能关键
java·服务器·网络·人工智能·深度学习
Julien200435 分钟前
自动挂载网络附加存储
linux·服务器·网络
K成长日志42 分钟前
BLE链路层-隐私保护
网络·物联网·蓝牙·iot·ble
K成长日志1 小时前
BLE链路层-Feature Support
网络·嵌入式·无线通信·蓝牙·iot·ble
Ivanqhz1 小时前
Slope One 算法详解:与矩阵分解、共现矩阵的异同
java·服务器·网络·人工智能·深度学习
王六米。2 小时前
RAG知识库建设 文档解析 切分与索引如何衔接
服务器·前端·网络·企业数字化转型·智钳智能盒子
wuyk5553 小时前
【Socket 进阶之路】第 7 章 IO 多路复用 select & poll 完整实战|多 fd 监听、超时等待、优缺点横向对比
服务器·开发语言·网络·数据库·物联网
dog2505 小时前
写一个时延固定的拥塞控制
网络
酣大智5 小时前
华为 VRRP的抢占延迟时间
网络·tcp/ip·vrrp
hengmeida6 小时前
楼宇控制柜标准化项目交付完整规范
大数据·网络·笔记