华为无线ac双链路冷备和热备配置案例

news/2024/10/22 14:24:17/

在这里插入图片描述

所谓的冷备和热备,冷备就是不用vrrp和hsb协议同步ap和用户信息,主的断了等七十五秒后,备的capwap和ap连接上去。

双链路冷备不用vrrp和hsb

双链路热备份只用hsb同步ap和用户信息,不用vrrp,两个ac可以不用在同一个二层广播域

现网中常用冷备

AC1

vlan batch 10 30

interface Vlanif10
ip address 10.0.10.2 255.255.255.0

interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 30

ip route-static 0.0.0.0 0.0.0.0 10.0.10.1

capwap source ip-address 10.0.10.2

wlan
security-profile name test
security wpa-wpa2 psk pass-phrase adminadmin aes

ssid-profile name test
ssid admin

vap-profile name test
service-vlan vlan-id 30
ssid-profile test
security-profile test

ap-group name test
vap-profile test wlan 1 radio all

ap-id 0 type-id 69 ap-mac 00e0-fcc9-0500
ap-name 1-lay-01
ap-group test

AC2

vlan batch 11 30

interface Vlanif11
ip address 10.0.11.2 255.255.255.0

interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 11 30

ip route-static 0.0.0.0 0.0.0.0 10.0.11.1

capwap source ip-address 10.0.11.2

wlan
security-profile name test
security wpa-wpa2 psk pass-phrase adminadmin aes

ssid-profile name test
ssid admin

vap-profile name test
service-vlan vlan-id 30
ssid-profile test
security-profile test

ap-group name test
vap-profile test wlan 1 radio all

ap-id 0 type-id 69 ap-mac 00e0-fcc9-0500
ap-name 1-lay-01
ap-group test

SW1

vlan batch 10 to 11 20 30

dhcp enable
interface Vlanif10
ip address 10.0.10.1 255.255.255.0

interface Vlanif11
ip address 10.0.11.1 255.255.255.0

interface Vlanif20
ip address 172.16.0.1 255.255.255.0
dhcp select interface
dhcp server option 43 sub-option 2 ip-address 10.0.10.2 10.0.11.2 //写两台ac地址

interface Vlanif30
ip address 192.168.0.1 255.255.255.0
dhcp select interface

interface MEth0/0/1

interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 30

interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 11 30

interface GigabitEthernet0/0/3
port link-type trunk
port trunk pvid vlan 20
port trunk allow-pass vlan 20 30

双链路冷备份

(主挂了,备的75秒后切上去,因为capwap25秒发一次,3倍的时间才认为断开找备的,因为是用直接转发的所以业务不会中断。)

[ac1]wlan
[ac1-wlan-view]ac protect enable protect-ac 10.0.11.2 priority 0
//指定对端备ac的capwap地址并设置自己的优先级为0,值越小越优,如果优先级相同比较看哪个ac下面带的负载小
Warning: This operation maybe cause AP reset, continue?[Y/N]:y
[ac1-wlan-view]ac protect enable

[ac2]wlan
[ac2-wlan-view]ac protect enable protect-ac 10.0.10.2 priority 1
Warning: This operation maybe cause AP reset, continue?[Y/N]:y
[ac2-wlan-view]ac protect enable

[ac1-wlan-view] ap-reset all //重启ap生效

查看主备情况

在这里插入图片描述

在这里插入图片描述

接上终端用户后查看:
在这里插入图片描述

备的ac2目前看是没有信息,如果主的挂了,等75秒后这里就会有信息了

在这里插入图片描述

双链路热备份(无vrrp)

两个ac的capwap地址不用在同一个广播域中,因为没有用vrrp

[ac1]hsb-service 0
[ac1-hsb-service-0]service-ip-port local-ip 10.0.10.2 peer-ip 10.0.11.2 local-data-port 10241 peer-data-port 10241

[ac1]hsb-service-type access-user hsb-service 0 //同步用户信息
[ac1]hsb-service-type ap hsb-service 0 //同步ap信息

[ac2]hsb-service 0
[ac2-hsb-service-0]service-ip-port local-ip 10.0.11.2 peer-ip 10.0.10.2 local-data-port 10241 peer-data-port 10241

[ac2]hsb-service-type access-user hsb-service 0 //同步用户信息
[ac2]hsb-service-type ap hsb-service 0 //同步ap信息

在这里插入图片描述
在这里插入图片描述


http://www.ppmy.cn/news/1285997.html

相关文章

开始使用克魔助手

摘要 克魔助手是一款功能丰富的手机助手软件,提供了诸多实用的功能模块,包括手机系统信息显示、应用管理、文件管理、描述文件安装与测试、崩溃日志、实时日志、截图、活跃程序、性能监控和网络抓包等。本文将对克魔助手的界面概览和各功能模块进行详细…

k8s中的pod及创建pod的方式

1. 什么是pod? 在 Kubernetes(K8s)中,Pod 是最小的可部署单元,它是容器的一种抽象层级。通俗地说,Pod 就像是一个运行在 Kubernetes 上的应用程序实例,但实际上,Pod 有一些特殊之处。 让我们…

SSRF靶场安装测试记录

目录 环境 靶场介绍 1. 获取并显示指定文件内容的应用程序代码

Java开发框架和中间件面试题(7)

目录 63.Spring中都应用了哪些设计模式? 64.请举例说明如何在Spring中注入一个Java Collection? 65.说一下都有哪些基本理念? 67.Spring Bean的生命周期? 68.说说Spring AOP的实现原理? 69.Spring中事务的实现方…

python常见报错信息!错误和异常!附带处理方法

作为 Python 初学者,在刚学习 Python 编程时,经常会看到一些报错信息。 Python 有两种错误很容易辨认:语法错误和异常。 Python assert(断言)用于判断一个表达式,在表达式条件为 false 的时候触发异常。 …

计算机网络(第八版)期末复习(第三章数据链路层)

重要已用加粗表示,这些是分析内容所以并没有包括许多细节,仅包括重要知识点方便快速过。 信道主要类型 点对点信道(一对一)广播信道(一对多)链路(物理链路):就是从一个节…

进行VMware日志管理

随着公司转向虚拟化其 IT 空间,虚拟环境日志监控正在占据日志管理的很大一部分,除了确保网络安全外,虚拟机日志监控还有助于管理虚拟化工具,这是最复杂的任务之一。 对虚拟环境日志的监控分析 当今公司中最受欢迎的虚拟平台之一是 VMware。…

python爬虫进阶-每日一学(GIF验证码识别)

目的 学习更多的python反爬虫策略 测试网址 http://credit.customs.gov.cn/ccppserver/verifyCode/creator分析 01 下载gif图片 02 使用ddddocr逐帧识别 03 如指定字符串出现次数大于等于3,则认定为正确的识别结果 经验证,识别成功率95%源码 #!/usr…