说明:以下配置是本人通过AP实际操作过的,连接正常,没有问题。
AP上不做DHCP服务器。
配置思路:
配置基本配置
新建service-template
新建接口WLAN-BSS
在WLAN-Radio上调用service-template和WLAN-BSS
1.基本配置
新建vlan 10 、30
[H3C-Fat-AP]vlan 10 [H3C-Fat-AP-vlan10]quit [H3C-Fat-AP]vlan 19 [H3C-Fat-AP]vlan 30
配置vlan30IP为:10.10.19.20(管理IP)
[H3C-Fat-AP-vlan30]int vlan 30 [H3C-Fat-AP-Vlan-interface30]ip address 10.10.19.20 255.255.255.0 [H3C-Fat-AP-Vlan-interface30]quit
设置默认路由
[H3C-Fat-AP]ip route-static 0.0.0.0 0.0.0.0 10.10.19.254
设置接口G1/0/1位trunk模式,允许所有vlan通过。
[H3C-Fat-AP]int GigabitEthernet 1/0/1 [H3C-Fat-AP-GigabitEthernet1/0/1]port link-type trunk [H3C-Fat-AP-GigabitEthernet1/0/1]port trunk permit vlan all Please wait........................................... Done.
2. 新建service-template,ssid设置test,并开启service-template
[H3C-Fat-AP]wlan service-template 5 clear [H3C-Fat-AP-wlan-st-5]ssid test [H3C-Fat-AP-wlan-st-5]service-template enable Please wait... Done. [H3C-Fat-AP-wlan-st-5]quit
3. 新建WLAN-BSS接口,设置vlan。
[H3C-Fat-AP]int WLAN-BSS 5 [H3C-Fat-AP-WLAN-BSS5]port acc vlan 10 [H3C-Fat-AP-WLAN-BSS5]quit [H3C-Fat-AP]int WLAN-BSS 6 [H3C-Fat-AP-WLAN-BSS6]port acc vlan 10 [H3C-Fat-AP-WLAN-BSS6]quit
4. 在WLAN-Radio上调用service-template和WLAN-BSS。
[H3C-Fat-AP]int WLAN-Radio 1/0/1 [H3C-Fat-AP-WLAN-Radio1/0/1]service-template 5 interface WLAN-BSS 5
测试:
用手机连接test无线网,可以连接,并且访问网络正常。
查看连接的client:
[H3C-Fat-AP-WLAN-Radio1/0/1]dis wlan client Total Number of Clients : 1 Client Information SSID: test -------------------------------------------------------------------------------- MAC Address User Name APID/RID IP Address VLAN -------------------------------------------------------------------------------- f862-14d5-4f88 -NA- 1 /1 10.10.80.88 10 --------------------------------------------------------------------------------
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。