请问在服务模板下配置mac-vlan enable的作用是什么,mac-vlan这个的介绍麻烦也给个链接学习下,谢谢
(0)
最佳答案
就是三层漫游的时候需要开的,这样能实现客户端漫游时vlan保持不变。
V5的控制器如果需要一个服务模板绑定多个van都是必开的。
实验拓扑
实验需求
实现不同AP下联的属于相同SSID不同vlan的无线终端用户实现漫游。
实验配置
1、WX5540E AC板配置:
#
vlan 20 to 22
#
dhcp server ip-pool vlan20
network 192.168.20.0 mask 255.255.255.0
gateway-list 192.168.20.1
#
dhcp server ip-pool vlan21
network 192.168.21.0 mask 255.255.255.0
gateway-list 192.168.21.1
#
dhcp server ip-pool vlan22
network 192.168.22.0 mask 255.255.255.0
gateway-list 192.168.22.1
#
wlan service-template 200 clear
ssid GDJ
bind WLAN-ESS 200
service-template enable
#
#配置各VLAN的网关地址
interface Vlan-interface20
ip address 192.168.20.1 255.255.255.0
#
interface Vlan-interface21
ip address 192.168.21.1 255.255.255.0
#
interface Vlan-interface22
ip address 192.168.22.1 255.255.255.0
#
interface Bridge-Aggregation1
port link-type trunk
port trunk permit vlan all
#
interface WLAN-ESS200
port link-type hybrid
undo port hybrid vlan 1
port hybrid vlan 20 untagged
port hybrid pvid vlan 20
mac-vlan enable
#
wlan ap xhy model WA2620X id 1
priority level 6
serial-id 219801A0KTM144001504
radio 1
radio 2
service-template 200 vlan-id 21
radio enable
#
wlan ap xhy2 model WA2620i-AGN id 2
serial-id 219801A0CMC146000765
radio 1
radio 2
service-template 200 vlan-id 22
radio enable
#
dhcp enable
2、接入POE交换机配置
#
interface GigabitEthernet1/0/1
port access vlan 20
poe enable
#
interface GigabitEthernet1/0/2
port access vlan 20
poe enable
#
interface GigabitEthernet1/0/3
port access vlan 20
poe enable
3、AC交换板配置:
#配置与POE交换机相连的接口
interface GigabitEthernet1/0/5
port access vlan 20
实验配置
使用AP连接到SSID:GDJ上,查看此时获取到的IP地址是属于那个VLAN的:
获取到的为VLAN22的地址
[WX5540E-1]dis wlan client
Total Number of Clients : 1
Client Information
SSID: GDJ
--------------------------------------------------------------------------------
MAC Address User Name APID/RID IP Address IPv6 Address VLAN
--------------------------------------------------------------------------------
400e-8574-da1d -NA- 1 /2 192.168.22.11 -NA- 22
--------------------------------------------------------------------------------
[WX5540E-1]dis wlan client verbose
Total Number of Clients : 1
Client Information
--------------------------------------------------------------------------------
MAC Address : c033-5ee0-dca3
User Name : -NA-
IP Address : 192.168.21.11
IPv6 Address : -NA-
AID : 1
AP Name : xhy
Radio Id : 2
Antenna Id : 0
Service Template Number : 200
SSID : GDJ
BSSID : 5cdd-709a-82f0
Port : WLAN-DBSS200:0
VLAN : 21
State : Running
Power Save Mode : Sleep
Wireless Mode : 11gn
Channel Band-width : 20MHz
SM Power Save Enable : Disabled
Short GI for 20MHz : Supported
Short GI for 40MHz : Not Supported
LDPC : Not Supported
STBC TX capability : Not Supported
STBC RX capability : Supported
Support MCS Set : 0,1,2,3,4,5,6,7,8,9,
10,11,12,13,14,15
BLOCK ACK-TID 0 : BOTH
BLOCK ACK-TID 1 : OUT
QoS Mode : WMM
Listen Interval (Beacon Interval) : 10
RSSI : 42
Rx/Tx Rate : 78/104
Client Type : PRE-RSNA
Authentication Method : Open System
Authentication Mode : Central
AKM Method : None
Key Derivation : -NA-
4-Way Handshake State : -NA-
Group Key State : -NA-
Encryption Cipher : Clear
PMF Status : -NA-
Roam Status : Normal
Roam Count : 0
Up Time (hh:mm:ss) : 00:03:08
Bonjour Records :
-------------------------------------------------------------------------------
此时由于wa2620i-AGN的信号过强,无法实现漫游,手工关闭wa2620i-AGN的射频口触发终端漫游
[WX5540E-wlan-ap-xhy2-radio-2]radio disable
终端没有掉线,无缝切换到WA2620X的射频上。
查看此时的客户端状态:
[WX5540E-1] dis wlan client
Total Number of Clients : 1
Client Information
SSID: GDJ
--------------------------------------------------------------------------------
MAC Address User Name APID/RID IP Address IPv6 Address VLAN
--------------------------------------------------------------------------------
c033-5ee0-dca3 -NA- 2 /2 192.168.21.11 -NA- 21
--------------------------------------------------------------------------------
[WX5540E-1]dis wlan client verbose
Total Number of Clients : 1
Client Information
--------------------------------------------------------------------------------
MAC Address : c033-5ee0-dca3
User Name : -NA-
IP Address : 192.168.21.11
IPv6 Address : -NA-
AID : 1
AP Name : xhy2
Radio Id : 2
Antenna Id : 0
Service Template Number : 200
SSID : GDJ
BSSID : 70f9-6daf-ee10
Port : WLAN-DBSS200:1
VLAN : 21
State : Running
Power Save Mode : Sleep
Wireless Mode : 11gn
Channel Band-width : 20MHz
SM Power Save Enable : Disabled
Short GI for 20MHz : Supported
Short GI for 40MHz : Not Supported
LDPC : Not Supported
STBC TX capability : Not Supported
STBC RX capability : Supported
Support MCS Set : 0,1,2,3,4,5,6,7,8,9,
10,11,12,13,14,15
BLOCK ACK-TID 0 : BOTH
QoS Mode : WMM
Listen Interval (Beacon Interval) : 10
RSSI : 53
Rx/Tx Rate : 1/1
Client Type : PRE-RSNA
Authentication Method : Open System
Authentication Mode : Central
AKM Method : None
Key Derivation : -NA-
4-Way Handshake State : -NA-
Group Key State : -NA-
Encryption Cipher : Clear
PMF Status : -NA-
Roam Status : Intra-AC roam association //有进行漫游
Roam Count : 1
Up Time (hh:mm:ss) : 00:00:11
Bonjour Records :
-------------------------------------------------------------------------------
查看客户端漫游记录:
<WX5540E-1>dis wlan client roam-track mac-address c033-5ee0-dca3
-------------------------------------------------------------------------------
BSSID Online-time(d:h:m:s) AC-IP-address
-------------------------------------------------------------------------------
70f9-6daf-ee10 0000:00:01:40 0.0.0.0 (HOME AC)
5cdd-709a-82f0 0000:00:03:41 0.0.0.0 (HOME AC)
-------------------------------------------------------------------------------
有相应的漫游记录。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论