华三交换机如何从IRF模式恢复到独立运行模式配置

一、前言

两台设备组建的 IRF 堆叠系统运行稳定,业务承载正常。结合本次网络架构整体优化规划,为适配后续网络拓扑调整、灵活分配设备资源,同时实现设备独立运维调度,满足多样化组网场景使用需求,现需拆解现有 IRF 堆叠架构,将两台设备退出堆叠模式并恢复为独立运行模式,完成配置重置与系统初始化后作为备用设备,提升网络部署的灵活性与设备利用率。

二、IRF模式切换独立运行

组网拓扑

某企业当前 IRF 堆叠系统由成员设备SwitchA与SwitchB组成,该堆叠已实现稳定运行,业务正常流转。因网络架构规划调整,需对现有设备部署模式进行变更,操作目标为将 SwitchA、SwitchB 退出 IRF 堆叠模式,分别恢复为独立运行模式,完成配置重置与状态初始化后,作为备用独立设备留存待用。

配置思路

  1. 断开 IRF 物理链路,可直接拔除 IRF 互联线缆,或通过命令行关闭主设备的全部 IRF 物理端口。

  2. IRF 分裂后,分别将两台成员设备由 IRF 堆叠模式切换为独立运行模式

配置步骤

步骤 1 确定Master主设备。

复制代码
<IRF> display irf
MemberID Slot Role Priority CPU-Mac Description
*+1 0 Master 1 00e0-fc0f-8C01 DeviceA
 1 1 Standby 1 00e0-fc0f-8c02 DeviceA
 2 0 Standby 1 00e0-fc0f-15e1 DeviceB
 2 1 Standby 1 00e0-fc0f-15e2 DeviceB
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: 0000-fc00-313e
Auto upgrade : no
Mac persistent : always
Domain ID : 0
Auto merge : yes
IRF mode : normal

步骤 2断开IRF连接,手工关闭Master设备( SwitchA)的IRF物理端口或者拔掉 IRF 互联线缆。

复制代码
[IRF] interface ten-gigabitethernet 1/3/0/1
[IRF-Ten-Gigabitethernet1/3/0/1] shutdown

步骤 3切换主设备的运行模式为独立运行模式。

复制代码
[IRF] undo chassis convert mode
The device will switch to stand-alone mode and reboot. Continue? [Y/N]:y
You are recommended to save the current running configuration and specify the configuration
file for the next startup. Continue? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
Do you want to convert the content of the next startup configuration file flash:
/startup.cfg to make it available in stand-alone mode? [Y/N]:y
Now rebooting, please wait...
SwitchA 自动重启来完成模式的切换。

步骤 4切换从设备的运行模式为独立运行模式。

复制代码
[IRF] undo chassis convert mode
The device will switch to stand-alone mode and reboot. Continue? [Y/N]:y
You are recommended to save the current running configuration and specify the configuration
file for the next startup. Continue? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
Do you want to convert the content of the next startup configuration file flash:
/startup.cfg to make it available in stand-alone mode? [Y/N]:y
Now rebooting, please wait...
SwitchB 自动重启来完成模式的切换。

****说明:****若 IRF 堆叠内已创建 VLAN 接口并配置 IP 地址,且 SwitchA、SwitchB 均配置该 VLAN 成员端口,设备解除堆叠恢复独立运行后,将出现IP 地址冲突。需登录其中一台设备,修改对应 VLAN 接口的 IP 地址。

相关推荐
zbtlink8 小时前
路由器安全深度解析:从WPA3协议到自动化审计
网络·网络安全·智能路由器·wps
LONGZETECH9 小时前
无人机实训高成本痛点解法:虚拟仿真实现 70% 耗材损耗下降
大数据·算法·unity·架构·无人机
只吃不吃香菜9 小时前
Windows 下基于 YAML 规则的指定域名分流:以哔哩哔哩为例
网络·网络协议·计算机网络·网络安全·代理模式
ai_coder_ai10 小时前
事件驱动架构(EDA)在分布式业务系统中的应用
分布式·架构
我爱cope10 小时前
【计算机网络 | 数据链路层2:差错检测与纠正:奇偶校验、校验和、CRC 分别怎么工作?】
网络·学习·计算机网络
Q741_14710 小时前
TcpDump 使用笔记
网络·c++·笔记·测试工具·tcpdump
MindUp10 小时前
企业网盘选型的技术评估维度与主流产品架构简析
人工智能·安全·架构
探物 AI11 小时前
yolo检测中的激活函数19:ReLU激活函数 (Rectified Linear Unit)
网络·人工智能·深度学习·yolo
woshihuanglaoshi11 小时前
鸿蒙老旧项目升级改造高级:API废弃迁移/ArkTS语法升级/架构重构策略/增量迁移/风险管控方案
学习·华为·重构·架构·harmonyos·鸿蒙
buhuizhiyuci12 小时前
【Linux 网络篇】数据的 “循环系统“:协议认识与网络传输的流程
linux·运维·服务器·网络·vscode