RBM技术案例二HA联动VRRP三层主备组网典型

案例二HA联动VRRP三层主备组网典型

DeviceA 配置思路

1 配置IP地址

2 配置静态路由

3 配置高可靠性

RBM_P[DeviceA-remote-backup-group]backup-mode dual-active

RBM_P[DeviceA-remote-backup-group]hot-backup enable

RBM_P[DeviceA-remote-backup-group]configuration auto-sync enable

RBM_P[DeviceA-remote-backup-group]configuration sync-check interval 13

RBM_P[DeviceA-remote-backup-group]delay-time 1

RBM_P[DeviceA-remote-backup-group]quit

DeviceB配置思路

1 配置IP地址

2 配置高可靠性

RBM_S[DeviceB-remote-backup-group] delay-time 1

RBM_S[DeviceB-remote-backup-group] delay-time 1 这条命令的中文解释是:在远程备份组配置模式下,设置切换延迟时间为1分钟。这意味着当主设备发生故障时,备设备不会立即接管,而是会等待1分钟的时间,以确保主设备真的无法继续工作,从而避免因网络抖动或短暂的故障而导致频繁的切换。这个设置有助于提高系统的稳定性和可靠性。

核心配置

DeviceA

interface GigabitEthernet1/0/0

port link-mode route

combo enable copper

ip address 10.1.1.1 255.255.255.0

vrrp vrid 3 virtual-ip 10.1.1.3 active

vrrp vrid 4 virtual-ip 10.1.1.4 standby

manage ping inbound

manage ping outbound

interface GigabitEthernet1/0/1

port link-mode route

combo enable copper

ip address 2.1.1.1 255.255.255.0

vrrp vrid 1 virtual-ip 2.1.1.3 active

vrrp vrid 2 virtual-ip 2.1.1.4 standby

manage ping inbound

manage ping outbound

Device B

interface GigabitEthernet1/0/0

port link-mode route

combo enable copper

ip address 10.1.1.2 255.255.255.0

vrrp vrid 3 virtual-ip 10.1.1.3 standby

vrrp vrid 4 virtual-ip 10.1.1.4 active

manage ping inbound

manage ping outbound

interface GigabitEthernet1/0/1

port link-mode route

combo enable copper

ip address 2.1.1.2 255.255.255.0

vrrp vrid 1 virtual-ip 2.1.1.3 standby

vrrp vrid 2 virtual-ip 2.1.1.4 active

manage ping inbound

manage ping outbound

清空配置

通过Console口连接到防火墙,输入命令行对设备进行恢复出厂设置操作。

输入命令 reset saved-configuration 来清空配置。系统会提示"保存的配置文件将被删除,你确定吗?",输入 Y 并回车确认。

然后输入命令 reboot 重启设备。系统会提示"此命令将重新启动设备,当前配置会丢失,保存当前配置?",输入 N 并回车确认不保存当前配置,然后再次输入 Y 确认重启设备

相关推荐
YuMiao1 小时前
gstatic连接问题导致Google Gemini / Studio页面乱码或图标缺失问题
服务器·网络协议
chlk1231 天前
Linux文件权限完全图解:读懂 ls -l 和 chmod 755 背后的秘密
linux·操作系统
舒一笑1 天前
Ubuntu系统安装CodeX出现问题
linux·后端
改一下配置文件1 天前
Ubuntu24.04安装NVIDIA驱动完整指南(含Secure Boot解决方案)
linux
深紫色的三北六号1 天前
Linux 服务器磁盘扩容与目录迁移:rsync + bind mount 实现服务无感迁移(无需修改配置)
linux·扩容·服务迁移
SudosuBash2 天前
[CS:APP 3e] 关于对 第 12 章 读/写者的一点思考和题解 (作业 12.19,12.20,12.21)
linux·并发·操作系统(os)
哈基咪怎么可能是AI2 天前
为什么我就想要「线性历史 + Signed Commits」GitHub 却把我当猴耍 🤬🎙️
linux·github
十日十行3 天前
Linux和window共享文件夹
linux
Sinclair3 天前
简单几步,安卓手机秒变服务器,安装 CMS 程序
android·服务器
木心月转码ing3 天前
WSL+Cpp开发环境配置
linux