欢迎来到尧图网

客户服务 关于我们

您的位置:首页 > 科技 > IT业 > 【eNSP实战】(续)一个AC多个VAP的实现—将隧道转发改成直接转发

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

2025/3/18 23:25:56 来源:https://blog.csdn.net/qq_57764123/article/details/146320301  浏览:    关键词:【eNSP实战】(续)一个AC多个VAP的实现—将隧道转发改成直接转发

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

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

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

[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模板中将隧道转发改成直接转发

[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路由器互通测试
在这里插入图片描述

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

热搜词