最佳答案
支持
组网说明:
本案例采用H3C HCL模拟器的AC和AP实现AC+AP的本地转发组网,其中VLAN 10为管理VLAN,VLAN 20为业务VLAN。
VLAN 10:192.168.10.0/24
VLAN 20:192.168.20.0/24
配置思路:
1、在SW1配置VLAN 10和VLAN 20的IP,并启用DHCP功能。
2、配置SW1与AP、AC的互联接口。
3、在AC内配置AP上线的基本设置。
4、在AC内配置服务模板、射频接口。
特别说明:开局前,先收集AP的序列号,一般在AP的表面有,或者登录AP,使用dis device manunifo命令查看。
(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 138 ip 192.168.10.1
[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]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
[SW1-GigabitEthernet1/0/1]port trunk pvid vlan 10
[SW1-GigabitEthernet1/0/1]quit
[SW1]int gi 1/0/2
[SW1-GigabitEthernet1/0/2]po li tr
[SW1-GigabitEthernet1/0/2]undo po tr pe vlan 1
[SW1-GigabitEthernet1/0/2]po tr pe vlan 10 20
[SW1-GigabitEthernet1/0/2]port trunk pvid vlan 10
[SW1-GigabitEthernet1/0/2]quit
[SW1]ip route-static 0.0.0.0 0.0.0.0 192.168.10.100
[SW1]dhcp server forbidden-ip 192.168.10.100
AC1:
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]sysname AC1
[AC1]vlan 10
[AC1-vlan10]quit
[AC1]int vlan 10
[AC1-Vlan-interface10]ip address 192.168.10.100 24
[AC1-Vlan-interface10]quit
[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
[AC1-GigabitEthernet1/0/1]port trunk pvid vlan 10
[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]vlan20
[AC1-wlan-st-weijianing]client forwarding-location ap
[AC1-wlan-st-weijianing]service-template enable
[AC1-wlan-st-weijianing]quit
[AC1]wlan ap 1 model WA6320-HCL
[AC1-wlan-ap-1]serial-id H3C_ac-5f-32-9c-03-00
[AC1-wlan-ap-1]vlan 10
[AC1-wlan-ap-1-vlan10]quit
[AC1-wlan-ap-1]vlan 20
[AC1-wlan-ap-1-vlan20]quit
[AC1-wlan-ap-1]radio 1
[AC1-wlan-ap-1-radio-1]radio enable
[AC1-wlan-ap-1-radio-1]service-template weijianing
[AC1-wlan-ap-1-radio-1]quit
[AC1-wlan-ap-1]radio 2
[AC1-wlan-ap-1-radio-2]radio enable
[AC1-wlan-ap-1-radio-2]service-template weijianing
[AC1-wlan-ap-1-radio-2]quit
[AC1-wlan-ap-1]quit
[AC1]ip route-static 0.0.0.0 0.0.0.0 192.168.10.1
查看AP上线的情况,发现AP已上线。
(2)开启AC的WEB功能,用于后续上传map文件
[AC1]ip http enable
[AC1]ip https enable
[AC1]local-user admin
[AC1-luser-manage-admin]password simple Aabc123456
[AC1-luser-manage-admin]service-type http https
[AC1-luser-manage-admin]authorization-attribute user-role network-admin
[AC1-luser-manage-admin]quit
[AC1]int gi 1/0/2
[AC1-GigabitEthernet1/0/2]port link-mode route
[AC1-GigabitEthernet1/0/2]ip address 192.168.1.10 24
[AC1-GigabitEthernet1/0/2]quit
将物理机桥接到HCL模拟器内的AC的gi 1/0/2接口
登录WEB界面
输入用户名、密码,点击“登录”
(3)编写map文件,通过AC下发到AP内。
点击“无线配置”-“AP管理”
点击右边AP的修改按钮
往下拉,到MAP文件这里
选择“本地文件”
点击“选择文件”
选择要上传的map文件。
点击“确定”
往下拉,点击“确定”
点击“保存”
选择“是”
(4)测试无线
选中手机,右键“配置”
打开WIFI功能,连接WIFI,启用DHCP。
在AC内能看到手机上线及相关信息
在手机内也能跨网段PING通
至此,AC+AP二层注册典型组网配置案例(本地转发)已完成!
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论