IRF联动 BFD-MAD

文章目录

本实验以2台设备进行堆叠示例,按照配置顺序,先配置主设备,再配置备设备。在IRF配置前暂时先不接堆叠线,按步骤提示接线。

IRF堆叠

一、主设备配置

1、先进入主设备配置,关闭需要进行堆叠的物理口;

2、配置主设备IRF,配置优先级越高越优先;

3、进入堆叠口,添加堆叠的物理端口;

4、进入需要堆叠的物理端口,undo shutdown;

5、保存配置,激活IRF;

go 复制代码
主设备
#
sys
interface ten-gigabitethernet 1/0/47
shutdown
quit
#
interface ten-gigabitethernet 1/0/48
shutdown
#
irf member 1 priority 32
irf-port 1/1
port group interface ten-gigabitethernet1/0/47
port group interface ten-gigabitethernet1/0/48
#
interface ten-gigabitethernet 1/0/47
undo shutdown
quit
#
interface ten-gigabitethernet 1/0/48
undo shutdown
quit
save force
#
irf-port-configuration active
y
y
#

二、备设备配置

1、进入备设备,配置IRF,优先级默认0;

2、重启备设备;

3、先进入备设备配置,关闭需要进行堆叠的物理口;

4、进入堆叠口,添加堆叠的物理端口;

5、进入需要堆叠的物理端口,undo shutdown;

6、保存配置,激活IRF;

7、连接堆叠线,此时堆叠成功设备会重启,启动后优先级高的成为主设备,使用命令验证;

go 复制代码
备设备
#
sys
irf member 1 renumber 2   
quit
#
reboot
y
y
#

备设备重启后
#
sys
interface ten-gigabitethernet 2/0/47
shutdown
quit
#
interface ten-gigabitethernet 2/0/48
shutdown
#
irf-port 2/2
port group interface ten-gigabitethernet2/0/47
port group interface ten-gigabitethernet2/0/48
#
interface ten-gigabitethernet 2/0/47
undo shutdown
quit
#
interface ten-gigabitethernet 2/0/48
undo shutdown
quit
save force
#
irf-port-configuration active
y
y
#

三、验证

go 复制代码
#查看堆叠状态
display irf 
#查看接口状态
display interface brief
#

MAD检测

一、MAD检测

IRF需要联合MAD,防止出现IRF断裂出现双主的情况。基于IRF已经完成建立的前提,进行以下配置。

go 复制代码
#
vlan 200 
quit
#
interface vlan-interface 200
mad bfd  enable
mad ip address  192.168.200.19  255.255.255.0 member 1
mad ip address  192.168.200.20  255.255.255.0 member 2
#
interface GigabitEthernet1/0/1
port link-mode access 
port access  vlan 200
undo stp enable
quit
#
interface GigabitEthernet2/0/1
port link-mode access 
port access  vlan 200
undo stp enable
quit
#

二、MAD验证

先检查mad状态;关闭一端IRF堆叠接口,再检查mad状态。

go 复制代码
#
dispaly  mad 
#

往期内容:


本文作者 : 肉肉
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明出处!

相关推荐
民乐团扒谱机3 分钟前
【读论文】基于数字极大似然估计过程增强113公里O-TWTFT链路的时间传递
网络·论文笔记·量子·阅读笔记
迷迭香yy4 分钟前
回测过拟合检测体系从样本内外到组合稳健性评估 IG50免费开源股票数据API接口
服务器·开发语言·数据库·人工智能·python
网安小学生(兼顾数据库版)5 分钟前
从固件上传到合规报告:艾体宝ONEKEY实现CRA合规的操作实录
网络·安全·web安全
mengge.cloud14 分钟前
云计算&服务器基础小白教程
android·linux·运维·服务器·网络·云计算
一路向北finish17 分钟前
《Hadoop 高可用集群与 OpenStack Mitaka 控制节点部署全流程实操排坑指南》
大数据·linux·运维·服务器·hadoop·openstack
Multipath71219 分钟前
多链路聚合设备-应急指挥车实战通信保障方案
网络·5g·安全·智能路由器·实时音视频
南棱笑笑生22 分钟前
20260826解决在Ubuntu22.04系统下编译RK3572的Buildroot【linux-6.12.69】出现CMake异常的问题
linux·运维·服务器
Raas10025 分钟前
AI网关是做什么的?MAI Gateway (魔芋企业级AI网关)给出企业级答案
网络·人工智能·gateway·企业级·ai网关·mai gateway·魔芋
hh95026 分钟前
Agent Plan x DeepSeek Harness:分布式Agent集群调度与负载均衡
运维·分布式·负载均衡·adg·agent plan·adg成都社区
FIT2CLOUD飞致云27 分钟前
3分钟通过1Panel搭建安全隔离的DeepSeek Harness
运维·开源·1panel·运维面板