设置列表
对齐方式
AC型号是WX2520X-LI,AP是WA5320S-E
就是普通的AC+核心POE交换机+AP模式
我在AC上配置了本地转发和apcfg.txt文件,
但是AP可以正常上线,用户却获取不到IP。
vlan 20。 AC。AP管理地址
vlan30 staff用户
vlan 40 guest用户
vlan 50 vip用户
我现在是vlan40是密码认证。
核心交换机GI1/0/2是接的AP
interface GigabitEthernet1/0/2
port link-type trunk
undo port trunk permit vlan 1
port trunk permit vlan 20 30 40 50
port trunk pvid vlan 20
poe enable
Gi1/0/47 接的是AC
interface GigabitEthernet1/0/47
port access vlan 20
AC配置
百度云盘密码1234
设置列表
对齐方式
<AC-172.20.20.1>dis cu # version 7.1.064, ESS 5571P50 # sysname AC-172.20.20.1 # wlan global-configuration region-code-lock enable calibrate-channel self-decisive enable all calibrate-power self-decisive enable all # telnet server enable # lldp global enable # password-recovery enable # vlan 1 # vlan 20 description AP-manager # vlan 30 description Office # vlan 40 description Livingroom # vlan 50 description VIP # wlan service-template dge-guest description Livingroom ssid DGE-Guest client forwarding-location ap vlan 40 akm mode psk preshared-key pass-phrase cipher $c$3$BghXmzK0Yz9WT0Rtglm3LOb23l3uICmB2n+u cipher-suite ccmp cipher-suite tkip security-ie rsn security-ie wpa service-template enable # wlan service-template dge-staff description Office-staff ssid DGE-Staff client forwarding-location ap vlan 30 service-template enable # wlan service-template dge-vip description Office-VIP ssid DGE-VIP client forwarding-location ap vlan 50 service-template enable # interface NULL0 # interface Vlan-interface1 # interface Vlan-interface20 ip address 172.20.20.1 255.255.255.0 # interface GigabitEthernet1/0/7 port link-mode route undo dhcp select server # interface GigabitEthernet1/0/8 port link-mode route undo dhcp select server # interface GigabitEthernet1/0/1 port link-mode bridge description Connect-Coresw-172.20.10.254-Gi1/0/47 port access vlan 20 # interface GigabitEthernet1/0/2 port link-mode bridge # interface GigabitEthernet1/0/3 port link-mode bridge # interface GigabitEthernet1/0/4 port link-mode bridge # interface GigabitEthernet1/0/5 port link-mode bridge # interface GigabitEthernet1/0/6 port link-mode bridge # interface Ten-GigabitEthernet1/0/9 port link-mode bridge # interface Ten-GigabitEthernet1/0/10 port link-mode bridge # scheduler logfile size 16 # line class console user-role network-admin # line class vty user-role network-operator # line con 0 user-role network-admin # line vty 0 31 authentication-mode scheme user-role network-admin # ip route-static default-preference 1 # ip route-static 0.0.0.0 0 172.20.20.254 # undo info-center logfile enable info-center source CFGLOG loghost level informational # ssh server enable # radius trap-version v1 # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$sLFrrTc1a4l+bKpw$Ut+Z+8b8XDuMUaTXD8I9n+lpks1ftPKca5XBnet1+Dhd/zrql4nNFSYUl1H3XqGR3IjyPjq1blcduzFFLaFE0w== service-type ssh telnet terminal http https authorization-attribute user-role network-admin # netconf soap http enable # ip http enable ip https enable # wlan auto-ap enable wlan auto-persistent enable wlan tcp mss 1360 # wlan ap-group default-group vlan 1 # wlan ap-group guest provision auto-update enable vlan 1 ap b044-14f7-fa80 ap-model WA5320S-E map-configuration flash:/apcfg.txt radio 1 radio enable channel band-width 20 service-template dge-guest vlan 40 radio 2 radio enable channel band-width 40 service-template dge-guest vlan 40 gigabitethernet 1 provision ac ip 172.20.20.1 region-code CN # wlan ap-group staff provision auto-update enable vlan 1 ap-model WA5320S-E map-configuration flash:/apcfg.txt radio 1 radio enable channel band-width 20 service-template dge-staff vlan 30 service-template dge-vip vlan 50 radio 2 radio enable channel band-width 40 service-template dge-staff vlan 30 service-template dge-vip vlan 50 gigabitethernet 1 provision ac ip 172.20.20.1 region-code CN # wlan ap b044-14f7-fa80 model WA5320S-E serial-id 219801A2LB8211P000W0 map-configuration flash:/apcfg.txt vlan 1 radio 1 radio 2 gigabitethernet 1 # wlan ap test model WA5320S-E vlan 1 radio 1 radio 2 gigabitethernet 1 # cloud-management server domain cloudnet.h3c.com # return <AC-172.20.20.1>
(0)
最佳答案
核心配置的接口配置没有问题,AC的配置太乱了,可以参考下下面这个案例,主要是map文件的配置,可以把map文件里面的配置粘上来看看:
https://zhiliao.h3c.com/Theme/details/7284
(0)
system-view vlan 2 to 4094 quit interface GigabitEthernet 1/0/1 port link-type trunk port trunk permit vlan all 这是第一次写的。现场说获取不到IP后 我把 vlan改为 30 40 50 了。放行这3个vlan
telnet登陆到AP上,起个vlan30的int-vlan30,配个对应网段的静态IP看到网关能通,不能通的话就是中间网段vlan放通的问题,如果能通可以尝试用这个三层口自动获取地址看能不能获取到,如果获取不到就是dhcp的问题,如果能获取到就是AC服务模板或者radio 绑定业务vlan的问题
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
telnet登陆到AP上,起个vlan30的int-vlan30,配个对应网段的静态IP看到网关能通,不能通的话就是中间网段vlan放通的问题,如果能通可以尝试用这个三层口自动获取地址看能不能获取到,如果获取不到就是dhcp的问题,如果能获取到就是AC服务模板或者radio 绑定业务vlan的问题