两台H3C S6850-56HF交换机为堆叠不成功,一直折腾了几天,请求大神出手相救
有两台H3C S6850-56HF交换机,已经将固件刷新到-R6715
第一台:SW1(Member 1)完整配置
system-view
sysname SW1
# 设置IRF域,两台保持一致
irf domain 10
# 主设备高优先级
irf member 1 priority 32
# 堆叠端口先关闭
interface HundredGigE 1/0/25
shutdown
quit
interface HundredGigE 1/0/26
shutdown
quit
# 绑定IRF逻辑端口
irf-port 1/1
port group interface HundredGigE 1/0/25
quit
irf-port 1/2
port group interface HundredGigE 1/0/26
quit
# 开启堆叠端口
interface HundredGigE 1/0/25
undo shutdown
quit
interface HundredGigE 1/0/26
undo shutdown
quit
# 激活IRF配置
irf-port-configuration active
# 保存
save force
第二台:SW2(Member 2)分步操作
system-view
sysname SW2
irf domain 10
# 修改成员编号为2,输入Y确认
irf member 1 renumber 2
save force
reboot
步骤 2:重启完成后重新登录 SW2,执行 IRF 端口配置
system-view
# 备机优先级
irf member 2 priority 10
# 关闭两个100G堆叠口
interface HundredGigE 2/0/25
shutdown
quit
interface HundredGigE 2/0/26
shutdown
quit
# 绑定IRF逻辑口
irf-port 2/1
port group interface HundredGigE 2/0/25
quit
irf-port 2/2
port group interface HundredGigE 2/0/26
quit
# 开启端口
interface HundredGigE 2/0/25
undo shutdown
quit
interface HundredGigE 2/0/26
undo shutdown
quit
# 激活IRF
irf-port-configuration active
save force
两台交换机全部断电
按交叉规则接好两根 100G 堆叠线缆
第一交换机25接第二个的26端口
第一交接机26接第二个的25端口
开机后
dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 32 f010-90db-7402 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The bridge MAC of the IRF is: 58c7-ac49-ccce
Auto upgrade : yes
Mac persistent : 12 min
Domain ID : 10
dis irf configuration
MemberID NewID IRF-Port1 IRF-Port2
1 1 HundredGigE1/0/25 HundredGigE1/0/26
dis irf link
Member 1
IRF Port Interface Status
1 HundredGigE1/0/25 UP
2 HundredGigE1/0/26 UP
另一台交换机状态也是UP
开机后,报错日志
The Switch-routing-mode configurations should be the same on devices in one IRF.Please check them on the neighbor device connected to IRF-port 2
日志不停地报如下错:
%Jan 1 00:08:53:017 2001 SW1 DRVPLAT/4/DrvDebug:
The port HG1/0/25 can't receive irf pkt, please check.
%Jan 1 00:08:53:017 2001 SW1 DRVPLAT/4/DrvDebug:
The port HG1/0/26 can't receive irf pkt, please check.
你这套 IRF 端口绑定和交叉接线方向基本没问题。真正卡住的是这条日志:
The Switch-routing-mode configurations should be the same on devices in one IRF
这不是线缆优先问题,而是两台设备的某个“交换/路由模式、硬件资源模式、工作模式”不一致,IRF 合并检查直接拒绝邻居加入。所以后面的:
can't receive irf pkt
大概率是合并前一致性检查失败后的伴随告警,不要先盯着线缆。
按这个顺序处理:
# 两台都执行,先对比
display current-configuration | include routing-mode
display current-configuration | include switch
display current-configuration | include system-working-mode
display current-configuration | include hardware-resource
display current-configuration | include l3
display saved-configuration | include routing-mode
display saved-configuration | include switch
display version
display boot-loader重点找两台输出里是否有类似下面这些配置不一致:
switch-routing-mode ...
system-working-mode ...
hardware-resource ...哪台要做主,就以 SW1 为准。把 SW2 改成和 SW1 完全一致。此类模式改动通常需要保存并重启:
system-view
# 按 SW1 的实际配置改,不要凭空照抄参数
<把 switch-routing-mode / system-working-mode / hardware-resource 改成和 SW1 一样>
save force
reboot如果你查不到具体差异,最快的办法是把 SW2 清配置后只做最小 IRF 配置,避免残留模式配置:
reset saved-configuration
reboot重启后只配:
system-view
sysname SW2
irf domain 10
irf member 1 renumber 2
save force
reboot再次起来后:
system-view
irf member 2 priority 10
interface HundredGigE 2/0/25
shutdown
quit
interface HundredGigE 2/0/26
shutdown
quit
irf-port 2/1
port group interface HundredGigE 2/0/25
quit
irf-port 2/2
port group interface HundredGigE 2/0/26
quit
interface HundredGigE 2/0/25
undo shutdown
quit
interface HundredGigE 2/0/26
undo shutdown
quit
irf-port-configuration active
save force然后先只接一根线测试:
SW1 25 -> SW2 26确认 display irf 能看到成员 1 和 2 后,再接第二根:
SW1 26 -> SW2 25你最终应该看到类似:
MemberID Role Priority
*+1 Master 32
2 Standby 10结论:你的 IRF 口配置不像主因,主因就是两台的 Switch-routing-mode 类配置不一致。先把 SW2 清干净或对齐 SW1,再做 IRF。
均一一排查,还是不成功
均一一排查,还是不成功
首要故障:两台交换机 switch-routing-mode 转发模式不一致,必须两台统一并重启;
次要告警:转发模式不匹配导致 IRF 协议报文丢弃,系统提示端口收不到 IRF 包;
修复顺序:统一转发模式重启 → 清空重建 IRF 端口配置 → 断电重插堆叠线缆上电验证。
switch-routing-mode 两台都是standard
switch-routing-mode 两台都是standard
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明