负载分担方式的双链路热备份配置

编程入门 行业动态 更新时间:2024-10-09 04:17:40

<a href=https://www.elefans.com/category/jswz/34/1771300.html style=负载分担方式的双链路热备份配置"/>

负载分担方式的双链路热备份配置

**

负载分担方式的双链路热备份配置

**

实验要求和拓扑

负载分担方式的优点和主备方式的不同
负载分担可以每个ac都管理ap这样就避免了资源浪费,然后又作到了备份
主备方式则是,ap都交给一个ac,另一个ac只作为备份

实验拓扑

实验要求



配置过程

交换机配置(ap上线配置)

sysname S1

vlan batch 100 to 102

drop illegal-mac alarm

dhcp enable

interface Vlanif100
ip address 10.23.100.1 255.255.255.0
dhcp select interface
dhcp server excluded-ip-address 10.23.100.2 10.23.100.3

interface Vlanif101
ip address 10.23.101.1 255.255.255.0
dhcp select interface

interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 100 to 102

interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100 to 102

interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 102

interface GigabitEthernet0/0/4
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 102

AC1

 sysname AC1
vlan batch 100 to 102
interface Vlanif100ip address 10.23.100.2 255.255.255.0
#
interface Vlanif102ip address 10.23.102.1 255.255.255.0
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100 to 102
#
capwap source interface vlanif100
#
wlanap-id 0 type-id 69 ap-mac 00e0-fcdb-7790 ap-sn 210235448310F6421D1Bap-name ap_1ap-group ap-group1ap-id 1 type-id 69 ap-mac 00e0-fcc3-11a0 ap-sn 210235448310847FC242ap-name ap_2ap-group ap-group2

AC2

sysname AC2
vlan batch 100 to 102
interface Vlanif100ip address 10.23.100.3 255.255.255.0
#
interface Vlanif102ip address 10.23.103.1 255.255.255.0
#
interface GigabitEthernet0/0/1port link-type trunkport trunk allow-pass vlan 100 to 102
#
capwap source interface vlanif100
#
wlanap-id 0 type-id 69 ap-mac 00e0-fcdb-7790 ap-sn 210235448310F6421D1Bap-name ap_1ap-group ap-group1ap-id 1 type-id 69 ap-mac 00e0-fcc3-11a0 ap-sn 210235448310847FC242ap-name ap_2ap-group ap-group2

到这里上线就结束了接下来查看上线的结果

dis ap all
用来查看ap上线

配置ap射频参数sta获取到ip

AC1

wlansecurity-profile name wlan-netsecurity wpa-wpa2 psk pass-phrase a1234567 aesssid-profile name wlan-netssid wlan-netvap-profile name defaultvap-profile name wlan-netservice-vlan vlan-id 101ssid-profile wlan-netsecurity-profile wlan-netap-group name ap-gorup1ap-group name ap-group1radio 0vap-profile wlan-net wlan 1radio 1vap-profile wlan-net wlan 1radio 2vap-profile wlan-net wlan 1ap-group name ap-group2radio 0vap-profile wlan-net wlan 1radio 1vap-profile wlan-net wlan 1radio 2vap-profile wlan-net wlan 1

AC2

wlansecurity-profile name wlan-netsecurity wpa-wpa2 psk pass-phrase a1234567 aesssid-profile name wlan-netssid wlan-netvap-profile name defaultvap-profile name wlan-netservice-vlan vlan-id 101ssid-profile wlan-netsecurity-profile wlan-netap-group name ap-gorup1ap-group name ap-group1radio 0vap-profile wlan-net wlan 1radio 1vap-profile wlan-net wlan 1radio 2vap-profile wlan-net wlan 1ap-group name ap-group2radio 0vap-profile wlan-net wlan 1radio 1vap-profile wlan-net wlan 1radio 2vap-profile wlan-net wlan 1

查看波形图

查看sta获取ip

AC1

配置负载分担方式

wlan 
ap-system-profile name ap-system1
primary-access ip-address 10.23.100.2
backup-access ip-address 10.23.100.3
q
ap-system-profile name ap-system2
primary-access ip-address 10.23.100.3
backup-access ip-address 10.23.100.2
q
ap-group name ap-group1
ap-system-profile ap-system1ap-group name ap-gorup2
ap-system-profile ap-system2q
ac protect enable

AC2这里和AC1是一样的

配置负载分担方式

wlan 
ap-system-profile name ap-system1
primary-access ip-address 10.23.100.2
backup-access ip-address 10.23.100.3
q
ap-system-profile name ap-system2
primary-access ip-address 10.23.100.3
backup-access ip-address 10.23.100.2
q
ap-group name ap-group1
ap-system-profile ap-system1ap-group name ap-gorup2
ap-system-profile ap-system2q
ac protect enable

AC1

配置hsb热备

hsb-service 0
service-ip-port local-ip 10.23.102.1 peer-ip 10.23.102.2 local-data-port 10241 peer-data-port 10241
q
hsb-service-type ap hsb-service 0
hsb-service-type access-user hsb-service 0

AC2

配置hsb热备

hsb-service 0
service-ip-port local-ip 10.23.102.1 peer-ip 10.23.102.2 local-data-port 10241 peer-data-port 10241
q
hsb-service-type ap hsb-service 0
hsb-service-type access-user hsb-service 0## 查看效果图
![在这里插入图片描述](.png)
到这里就结束了

更多推荐

负载分担方式的双链路热备份配置

本文发布于:2024-02-14 06:32:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1762414.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:负载   链路   备份   方式

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!