您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 管理学资料 > 在本地实现同一SSID不同VLAN功能
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的接口地址分别是192.168.1.254、192.168.2.254和192.168.3.254。本例中WA2110的序列号为210235A22W0077000088。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,Release1106P01#sysnameH3C#mac-vlanmac-address0019-d221-a8d6vlan2priority0mac-vlanmac-address0016-6f6d-ccdbvlan3priority0#domaindefaultenablesystem#vlan1#vlan2to3#domainsystemaccess-limitdisablestateactiveidle-cutdisableself-service-urldisable#dhcpserverip-pool1network192.168.1.0mask255.255.255.0gateway-list192.168.1.254expiredday3#dhcpserverip-pool2network192.168.2.0mask255.255.255.0gateway-list192.168.2.254expiredday3#dhcpserverip-pool3network192.168.3.0mask255.255.255.0gateway-list192.168.3.254expiredday3#wlanrrmdot11amandatory-rate61224dot11asupported-rate918364854dot11bmandatory-rate12dot11bsupported-rate5.511dot11gmandatory-rate125.511dot11gsupported-rate69121824364854#wlanservice-template1clearssidH3C-mac-vlanbindWLAN-ESS1authentication-methodopen-systemservice-templateenable#interfaceNULL0#interfaceVlan-interface1ipaddress192.168.1.9255.255.255.0#interfaceVlan-interface2ipaddress192.168.2.9255.255.255.0#interfaceVlan-interface3ipaddress192.168.3.9255.255.255.0#interfaceGigabitEthernet1/0/1portlink-typetrunkporttrunkpermitvlanall#interfaceGigabitEthernet1/0/2#interfaceM-Ethernet1/0/1#interfaceWLAN-ESS1portlink-typehybridporthybridvlan1to3untaggedmac-vlanenable#wlanapap1modelWA2100serial-id210235A22W0077000088radio1service-template1radioenable#iproute-static0.0.0.00.0.0.0192.168.1.254#dhcpenable#user-interfaceaux0user-interfacevty04#return四、验证结果无线客户端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网段地址。
本文标题:在本地实现同一SSID不同VLAN功能
链接地址:https://www.777doc.com/doc-2562223 .html