赞
踩
日常记录
胖AP就是有独立的管理能力,典型的就是家用型路由器。所有的配置都在胖AP上完成,需要一台一台的进行配置;要有以太网接口。
瘦AP+AC控制器,通过在AC上配置模板,然后下发给瘦AP,这样大大提高了网络工程师的配置工作量,也起到了统一管理的作用;瘦AP不接AC也会发出无线信号。
FAT AP上配置两个VLAN:VLAN 10和VLAN 100;
VLAN 100为管理VLAN;VLAN 10为客户VLAN;
FAP AP的管理IP地址:10.1.12.1/24,网关的IP地址:10.1.12.254/24;
SSID为wireless,不需要认证/加密。
创建客户VLAN 10和管理VLAN 100,并配置管理IP地址 10.1.12.1/24
[H3C]vlan 10
[H3C-vlan10]name user
[H3C-vlan10]quit
[H3C]vlan 100
[H3C-vlan100]name administer
[H3C-vlan100]quit
[H3C]interface Vlan-interface 100
[H3C-Vlan-interface100]ip address 10.1.12.1 255.255.255.0
[H3C-Vlan-interface100]quit
将上行以配置为Trunk类型,并放行所有VLAN
[H3C]interface GigabitEthernet1/0/1
[H3C-GigabitEthernet1/0/1]port link-type trunk
[H3C-GigabitEthernet1/0/1]port trunk permit vlan all
[H3C-GigabitEthernet1/0/1]quit
创建无线接口
[H3C]interface WLAN 1
[H3C-WLAN1]port access vlan 100
[H3C-WLAN1]quit
创建无线服务模板(SSID名称为wireless)
[H3C]wlan service-template 1 clear
[H3C-wlan-st-1]authentication-method open-system
[H3C-wlan-st-1]ssid wireless
[H3C-wlan-st-1]service-template enable
[H3C-wlan-st-1]quit
在射频卡上绑定无线服务模板和无线接口,配置AP工作在802.11g模式下,信道为11、功率为15dBm
[H3C]interface WLAN-radio 1/0/1
[H3C-WLAN-radio1/0/1]service-template 1 interface WLAN 1
[H3C-WLAN-radio1/0/1]radio-type dot11g
[H3C-WLAN-radio1/0/1]channel 11
[H3C-WLAN-radio1/0/1]max-power 15
[H3C-WLAN-radio1/0/1]quit
配置默认路由
[H3C]ip route-static 0.0.0.0 0.0.0.0 10.1.12.254
各网段网关在三层交换机上;
AP 属于VLAN 5(10.1.5.0/24);
无线客户端属于VLAN 10(10.1.10.0/24)。
创建相应的VLAN,并配置对应的VLAN接口地址。(VLAN 5、10、15、20)
[H3C]vlan 5 [H3C-vlan5]quit [H3C]vlan 10 [H3C-vlan10]quit [H3C]vlan 15 [H3C-vlan15]quit [H3C]vlan 20 [H3C-vlan20]quit [H3C]interface Vlan-interface 5 [H3C-Vlan-interface5]ip address 10.1.5.254 24 [H3C-Vlan-interface5]quit [H3C]interface Vlan-interface 10 [H3C-Vlan-interface10]ip address 10.1.10.254 24 [H3C-Vlan-interface10]quit [H3C]interface Vlan-interface 15 [H3C-Vlan-interface15]ip address 10.1.15.254 24 [H3C-Vlan-interface15]quit [H3C]interface Vlan-interface 20 [H3C-Vlan-interface20]ip address 10.1.20.254 24 [H3C-Vlan-interface20]quit
在FIT AP和无线客户所在的VLAN 接口上使能DHCP relay功能。
[H3C]dhcp relay server-group 1 ip 10.1.15.99 24
[H3C]interface Vlan-interface 10
[H3C-Vlan-interface10]dhcp select relay
[H3C-Vlan-interface10]dhcp relay server-address 1
[H3C-Vlan-interface10]quit
[H3C]interface Vlan-interface15
[H3C-Vlan-interface15]dhcp select relay
[H3C-Vlan-interface15]dhcp relay server-address 1
[H3C-Vlan-interface15]quit
[H3C]interface Vlan-interface 20
[H3C-Vlan-interface20]dhcp select relay
[H3C-Vlan-interface20]dhcp relay server-address 1
[H3C-Vlan-interface20]quit
创建2无线接口,并指定接口属于VLAN 20
[H3C]hostname AC
[AC]interface WLAN 1
[AC-WLAN1]port access vlan 20
[AC-WLAN1]quit
创建需要的无线服务模板,配置SSID,名称为wuxian,绑定无线接口。
[AC]wlan service-template 1 clear
[AC-wlan-st-1]ssid wuxian
[AC-wlan-st-1]authentication-method open-system
[AC-wlan-st-1]bind WLAN 1
[AC-wlan-st-1]service-template enable
根据FIT AP的具体型号和序列号添加AP,并在AP的射频卡radio 上绑定服务模板。
[AC]wlan ap ap6 model WA2100
[AC-wlan-ap-ap6]serial-id 202106XXXXXXXXXXXXX
[AC-wlan-ap-ap6]radio 1 type dit11g
[AC-wlan-ap-ap6-radio-1]service-template 1
[AC-wlan-ap-ap6-radio-1]radio enable
每一个不曾起舞的日子,都是对生命的辜负!
好了这期就到这里了,如果你喜欢这篇文章的话,请点赞评论分享收藏,如果你还能点击关注,那真的是对我最大的鼓励。谢谢大家,下期见!
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。