华三交换机如何从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 地址。

相关推荐
ZhengEnCi1 天前
Q01-高并发点赞系统架构设计
架构
笨鸟飞不快1 天前
从 MVC 到 DDD:一次真实的渐进式迁移实录
后端·架构
这个DBA有点耶2 天前
GROUP BY优化全解:如何写出既不丢数据又飞快的分组查询
数据库·mysql·架构
锋行天下2 天前
我试图优化 Vite 的拆包,结果首屏慢了 10 倍
前端·vue.js·架构
小鼻子的猫2 天前
独立开发 30 天:2.5 万行代码,23 个 Bug,5 次重构——一个 AI 社区的诞生
架构
咖啡八杯2 天前
GoF设计模式——命令模式
java·设计模式·架构
candyTong2 天前
阿里开源 AI Code Review 工具:ocr review 的执行链路解析
javascript·后端·架构
doiito3 天前
【Agent Harness】TPS的“自工程完结”教会了我一件事:别把Bug留给下一道工序
架构·rust
烬羽3 天前
中英文 token 数量差一倍?两段 JS 代码搞懂 LLM 底层是怎么"读"文字的
javascript·程序员·架构