H3C Remote AP:AC断线后AP本地转发不间断

0 阅读2分钟

网络拓扑

image.png

HCL模拟器似乎不支持 本次实验暂不包括验证测试

参考文章:

注意事项:

  • 配置AP的序列号时请确保该序列号与AP唯一对应。
  • 如要保证新终端也可以上线,需要配置关联点和认证点在AP上
  • 如需要将认证点和转发点设置在AP上,建议采用明文或者PSK加密方式。
  • 仅当客户端数据报文的转发位置在AP上时,Remote AP功能才会生效。

设备配置

无线控制器AC配置

# 创建VLAN
vlan 20
#
vlan 30
#
vlan 40
#              
vlan 50

# 配置互联地址
interface Vlan-interface20
 ip address 172.16.20.1 255.255.255.0

# 配置默认路由 (缺少此项 隧道转发将失效 本地转发跨三层无法找到AC)
 ip route-static 0.0.0.0 0 172.16.20.254

# 配置无线模板
wlan service-template 1
 ssid office
 client association-location ap
 client forwarding-location ap vlan 40
 client-security authentication-location ap
 service-template enable

#
wlan service-template 2
 ssid guest
 client forwarding-location ap vlan 50
 service-template enable

# AP自动固化上线
 wlan auto-ap enable
 wlan auto-persistent enable

# 配置AP
wlan ap 9ab7-476f-0300 model WA6320-HCL 
 serial-id H3C_9A-B7-47-6F-03-00
 map-configuration flash:/config.txt      # 下发配置
 vlan 1
 hybrid-remote-ap enable
 radio 1        # 5G频段
  radio enable  # 开启射频
  service-template 1 vlan 40  # 绑定无线模板
  service-template 2 vlan 50  # 可以绑定多个
 radio 2
 gigabitethernet 1

config.txt

#
vlan 40
vlan 50
#
interface GigabitEthernet0/0/0
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all

S1核心交换机配置

#
 dhcp enable
#
vlan 20
#
vlan 30        
#
vlan 40
#
dhcp server ip-pool ap
 gateway-list 172.16.30.254
 network 172.16.30.0 mask 255.255.255.0
 option 43 hex 8007000001ac101401
#
dhcp server ip-pool office
 gateway-list 172.16.40.254
 network 172.16.40.0 mask 255.255.255.0
#
interface Vlan-interface20
 ip address 172.16.20.254 255.255.255.0
#
interface Vlan-interface30
 ip address 172.16.30.254 255.255.255.0
#
interface Vlan-interface40
 ip address 172.16.40.254 255.255.255.0
#
interface GigabitEthernet1/0/3
 port link-mode route
 combo enable fiber
 ip address 172.16.10.2 255.255.255.0
#
interface GigabitEthernet1/0/1
 port link-mode bridge
 port link-type trunk
 port trunk permit vlan all
 port trunk pvid vlan 20
 combo enable fiber
#
interface GigabitEthernet1/0/2
 port link-mode bridge
 port link-type trunk
 undo port trunk permit vlan 1
 port trunk permit vlan 30 40 50
 port trunk pvid vlan 30
 combo enable fiber
#
 ip route-static 0.0.0.0 0 172.16.10.1