欢迎来到天天文库
浏览记录
ID:59217612
大小:100.11 KB
页数:6页
时间:2020-09-09
《在本地实现同一SSID不同VLAN功能.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、WX5002在本地实现同一SSID不同VLAN功能(即静态mac-vlan功能)的典型配置适用WX5002版本:ComwareSoftware,Version5.20,Release1106P01 一、组网需求WX5002、WA2110、H3CPOE交换机、便携机(安装有11b/g无线网卡)二、组网图WX5002的IP地址为192.168.1.9。交换机为三层交换机,WA2110在VLAN1,交换机与WX5002之间为Trunk,通过VLAN1、2、3。VLAN1、2、3
2、的接口地址分别是192.168.1.254、192.168.2.254和192.168.3.254。本例中WA2110的序列号为A22W。SSID的名称为H3C-mac-vlan。无线客户端A的MAC地址为0019-d221-a8d6,此客户端连接“H3C-mac-vlan”后属于vlan2,获取192.168.2.0/24网段地址。无线客户端B的MAC地址为0016-6f6d-ccdb,此客户端连接“H3C-mac-vlan”后属于vlan3,获取192.168.3.0/24网段地址。三、WX交换机的典型配置# version5.20,
3、Release1106P01# sysnameH3C# mac-vlanmac-address0019-d221-a8d6vlan2priority0 mac-vlanmac-address0016-6f6d-ccdbvlan3priority0# domaindefaultenablesystem#vlan1#vlan2to3#domainsystem access-limitdisable stateactive idle-cutdisable self-service-urldisable#dhcpserverip-pool1 ne
4、twork192.168.1.0mask255.255.255.0 gateway-list192.168.1.254 expiredday3#dhcpserverip-pool2 network192.168.2.0mask255.255.255.0 gateway-list192.168.2.254 expiredday3#dhcpserverip-pool3 network192.168.3.0mask255.255.255.0 gateway-list192.168.3.254 expiredday3#wlanrrm dot11a
5、mandatory-rate61224 dot11asupported-rate918364854 dot11bmandatory-rate12 dot11bsupported-rate5.511 dot11gmandatory-rate125.511 dot11gsupported-rate69121824364854#wlanservice-template1clear ssidH3C-mac-vlan bindWLAN-ESS1 authentication-methodopen-system service-templateena
6、ble#interfaceNULL0#interfaceVlan-interface1 ipaddress192.168.1.9255.255.255.0#interfaceVlan-interface2 ipaddress192.168.2.9255.255.255.0#interfaceVlan-interface3 ipaddress192.168.3.9255.255.255.0#interfaceGigabitEthernet1/0/1 portlink-typetrunk porttrunkpermitvlanall#inte
7、rfaceGigabitEthernet1/0/2#interfaceM-Ethernet1/0/1#interfaceWLAN-ESS1 portlink-typehybrid porthybridvlan1to3untagged mac-vlanenable#wlanapap1modelWA2100 serial-idA22W radio1 service-template1 radioenable# iproute-static0.0.0.00.0.0.0192.168.1.254# dhcpenable#user-interfac
8、eaux0user-interfacevty04#return
此文档下载收益归作者所有