组网说明:
本案例采用H3C HCL模拟器的AC+AP产品来实现同AC漫游的需求。
特别说明:
1、本案例采用集中转发的方式。
2、vlan10作为AP管理用,vlan20作为无线业务接入用。
3、提前收集AP1和AP2的序列号,可以查看AP表面或使用dis device manunifo命令查看。
配置思路:
1、按照网络拓扑图配置VLAN和IP地址。
2、配置AC+AP注册上线。
(1)SW1
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname SW1
[SW1]vlan 10
[SW1-vlan10]quit
[SW1]vlan 20
[SW1-vlan20]quit
[SW1]int vlan 10
[SW1-Vlan-interface10]ip address 192.168.10.1 24
[SW1-Vlan-interface10]quit
[SW1]int vlan 20
[SW1-Vlan-interface20]ip address 192.168.20.1 24
[SW1-Vlan-interface20]quit
[SW1]dhcp enable
[SW1]dhcp server ip-pool vlan10
[SW1-dhcp-pool-vlan10]network 192.168.10.0 mask 255.255.255.0
[SW1-dhcp-pool-vlan10]gateway-list 192.168.10.1
[SW1-dhcp-pool-vlan10]option 43 ip-address 192.168.10.100
[SW1-dhcp-pool-vlan10]quit
[SW1]dhcp server ip-pool vlan20
[SW1-dhcp-pool-vlan20]network 192.168.20.0 mask 255.255.255.0
[SW1-dhcp-pool-vlan20]gateway-list 192.168.20.1
[SW1-dhcp-pool-vlan20]dns-list 114.114.114.114
[SW1-dhcp-pool-vlan20]quit
[SW1]dhcp server forbidden-ip 192.168.10.100
[SW1]int range gi 1/0/2 to gi 1/0/3
[SW1-if-range]po li acc
[SW1-if-range]po acc vlan 10
[SW1-if-range]quit
[SW1]int gi 1/0/1
[SW1-GigabitEthernet1/0/1]po li tr
[SW1-GigabitEthernet1/0/1]undo po tr pe vlan 1
[SW1-GigabitEthernet1/0/1]po tr pe vlan 10 20
[SW1-GigabitEthernet1/0/1]quit
[SW1]save force
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
[SW1]
(2)AC1
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname AC1
[AC1]vlan 10
[AC1-vlan10]quit
[AC1]vlan 20
[AC1-vlan20]quit
[AC1]int vlan 10
[AC1-Vlan-interface10]ip address 192.168.10.100 24
[AC1-Vlan-interface10]quit
[AC1]ip route-static 0.0.0.0 0.0.0.0 192.168.10.1
[AC1]int gi 1/0/1
[AC1-GigabitEthernet1/0/1]po li tr
[AC1-GigabitEthernet1/0/1]undo po tr pe vlan 1
[AC1-GigabitEthernet1/0/1]po tr pe vlan 10 20
[AC1-GigabitEthernet1/0/1]quit
[AC1]wlan auto-ap enable
[AC1]wlan auto-persistent enable
[AC1]wlan global-configuration
[AC1-wlan-global-configuration]firmware-upgrade disable
[AC1-wlan-global-configuration]quit
[AC1]wlan service-template weijianing
[AC1-wlan-st-weijianing]ssid weijianing
[AC1-wlan-st-weijianing]vlan 20
[AC1-wlan-st-weijianing]client forwarding-location ac
[AC1-wlan-st-weijianing]service enable
[AC1-wlan-st-weijianing]quit
由于开启了AP自动上线,为了方便标识,修改AP的名称。
[AC1]wlan rename-ap 0e0d-1ff5-0300 AP1
[AC1]wlan rename-ap 0e0d-29ad-0400 AP2
修改完成
[AC1]wlan ap AP1 model WA6320-HCL
[AC1-wlan-ap-AP1]vlan 10
[AC1-wlan-ap-AP1-vlan10]quit
[AC1-wlan-ap-AP1]vlan 20
[AC1-wlan-ap-AP1-vlan20]quit
[AC1-wlan-ap-AP1]radio 1
[AC1-wlan-ap-AP1-radio-1]radio enable
[AC1-wlan-ap-AP1-radio-1]service-template weijianing vlan 20
[AC1-wlan-ap-AP1-radio-1]quit
[AC1-wlan-ap-AP1]radio 2
[AC1-wlan-ap-AP1-radio-2]radio enable
[AC1-wlan-ap-AP1-radio-2]service-template weijianing vlan 20
[AC1-wlan-ap-AP1-radio-2]quit
[AC1-wlan-ap-AP1]quit
[AC1]wlan ap AP2 model WA6320-HCL
[AC1-wlan-ap-AP2]vlan 10
[AC1-wlan-ap-AP2-vlan10]quit
[AC1-wlan-ap-AP2]vlan 20
[AC1-wlan-ap-AP2-vlan20]quit
[AC1-wlan-ap-AP2]radio 1
[AC1-wlan-ap-AP2-radio-1]radio enable
[AC1-wlan-ap-AP2-radio-1]service-template weijianing vlan 20
[AC1-wlan-ap-AP2-radio-1]quit
[AC1-wlan-ap-AP2]radio 2
[AC1-wlan-ap-AP2-radio-2]radio enable
[AC1-wlan-ap-AP2-radio-2]service-template weijianing vlan 20
[AC1-wlan-ap-AP2-radio-2]quit
[AC1-wlan-ap-AP2]quit
(3)加入一台手机,放在AP1区域,并启动
打开WIFI功能,连接SSID为weijianing的信号,能获取IP地址且能跨网段PING通。
(4)将手机从AP1的区域移动到AP2的区域,也能正常连接无线和获取IP地址且能跨网段PING通。
根据手机移动并上线的情况,可以完成漫游。
至此,同AC漫游典型组网配置案例已完成!
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作