现场4台S5560X-EI堆叠,环境异常掉电,重新上电后slot2无法加入堆叠组。
1、重新上电后检查配置,发现slot2d的irf-port相关的配置丢失。
2、查看诊断信息,发现slot2的配置文件时间异常,slot1的时间是4/16,slot3和slot4时间是4/13
===============dir /all slot 1===============
Directory of flash:
0 -rw- 220684 Jan 01 2013 08:00:01 defaultfile.zip
1 drw- - Jan 01 2013 08:00:35 diagfile
2 -rw- 735 Jan 01 2013 10:16:33 hostkey
3 -rw- 6094 Apr 16 2026 20:59:11 ifindex.dat
4 -rw- 0 Nov 19 2024 16:00:55 lauth.dat
5 drw- - Jan 01 2013 08:00:38 license
6 drw- - Jan 01 2013 08:25:32 logfile
7 drw- - Jan 01 2013 08:00:53 pki
8 -rw- 5395456 Aug 09 2008 04:00:00 s5560x_ei-cmw710-boot-r1118p07.bin
9 -rw- 5396480 Jan 01 2013 08:22:03 s5560x_ei-cmw710-boot-r1119p09.bin
10 -rw- 1052672 Jan 01 2013 08:24:35 s5560x_ei-cmw710-freeradius-r1119p09.bin
11 -rw- 71542784 Aug 09 2008 04:00:00 s5560x_ei-cmw710-system-r1118p07.bin
12 -rw- 86925312 Jan 01 2013 08:24:32 s5560x_ei-cmw710-system-r1119p09.bin
13 drw- - Jan 01 2013 08:00:35 seclog
14 -rw- 591 Jan 01 2013 10:16:41 serverkey
15 -rw- 73728 Apr 24 2026 11:59:12 ssh_141.1.255.15_s5560x-54c-ei_20260424115809.gz
16 -rw- 70196 Apr 16 2026 20:59:15 startup.cfg
17 -rw- 602938 Apr 16 2026 20:59:17 startup.mdb
18 drw- - Jan 01 2013 08:27:41 versionInfo
19 -rwh 20 Apr 24 2026 10:25:55 .snmpboots
20 drwh - Jan 01 2013 08:25:12 .trash
514048 KB total (243848 KB free)
===============================================================
===============dir /all slot 2===============
Directory of slot2#flash:
0 -rw- 220684 Jan 01 2013 12:55:48 defaultfile.zip
1 drw- - Jan 01 2013 08:00:35 diagfile
2 -rw- 735 Apr 24 2026 10:26:18 hostkey
3 -rw- 1531 Jan 01 2013 12:54:38 ifindex.dat
4 -rw- 0 Jan 01 2013 08:03:48 lauth.dat
5 drw- - Jan 01 2013 08:00:38 license
6 drw- - Jan 01 2013 08:28:14 logfile
7 drw- - Apr 24 2026 10:26:14 pki
8 -rw- 5395456 Aug 09 2008 04:00:00 s5560x_ei-cmw710-boot-r1118p07.bin
9 -rw- 5396480 Jan 01 2013 08:24:56 s5560x_ei-cmw710-boot-r1119p09.bin
10 -rw- 1052672 Jan 01 2013 08:27:28 s5560x_ei-cmw710-freeradius-r1119p09.bin
11 -rw- 71542784 Aug 09 2008 04:00:00 s5560x_ei-cmw710-system-r1118p07.bin
12 -rw- 86925312 Jan 01 2013 08:27:26 s5560x_ei-cmw710-system-r1119p09.bin
13 drw- - Jan 01 2013 08:00:35 seclog
14 -rw- 591 Apr 24 2026 10:26:21 serverkey
15 -rw- 4816 Jan 01 2013 12:54:39 startup.cfg
16 -rw- 109309 Jan 01 2013 12:54:40 startup.mdb
17 drw- - Jan 01 2013 08:30:23 versionInfo
18 -rwh 20 Apr 24 2026 10:25:55 .snmpboots
19 drwh - Jan 01 2013 08:27:46 .trash
514048 KB total (254536 KB free)
===============================================================
===============dir /all slot 3===============
Directory of slot3#flash:
0 -rw- 220684 Jan 01 2013 08:00:01 defaultfile.zip
1 drw- - Jan 01 2013 08:00:35 diagfile
2 -rw- 735 Jan 01 2013 08:03:50 hostkey
3 -rw- 6094 Apr 16 2026 20:59:12 ifindex.dat
4 -rw- 0 Jan 01 2013 08:03:31 lauth.dat
5 drw- - Jan 01 2013 08:00:38 license
6 drw- - Jan 01 2013 08:27:38 logfile
7 drw- - Jan 01 2013 08:04:00 pki
8 -rw- 5395456 Aug 09 2008 04:00:00 s5560x_ei-cmw710-boot-r1118p07.bin
9 -rw- 5396480 Jan 01 2013 08:24:11 s5560x_ei-cmw710-boot-r1119p09.bin
10 -rw- 1052672 Jan 01 2013 08:26:43 s5560x_ei-cmw710-freeradius-r1119p09.bin
11 -rw- 71542784 Aug 09 2008 04:00:00 s5560x_ei-cmw710-system-r1118p07.bin
12 -rw- 86925312 Jan 01 2013 08:26:40 s5560x_ei-cmw710-system-r1119p09.bin
13 drw- - Jan 01 2013 08:00:35 seclog
14 -rw- 591 Jan 01 2013 08:03:58 serverkey
15 -rw- 70196 Apr 13 2026 09:45:49 startup.cfg
16 -rw- 602938 Apr 13 2026 09:46:13 startup.mdb
17 drw- - Jan 01 2013 08:29:48 versionInfo
18 -rwh 20 Apr 24 2026 10:26:00 .snmpboots
19 drwh - Jan 01 2013 08:27:26 .trash
514048 KB total (254128 KB free)
===============================================================
===============dir /all slot 4===============
Directory of slot4#flash:
0 -rw- 220684 Jan 01 2013 08:00:01 defaultfile.zip
1 drw- - Jan 01 2013 08:00:35 diagfile
2 -rw- 735 Jan 01 2013 08:03:26 hostkey
3 -rw- 6094 Apr 16 2026 20:59:12 ifindex.dat
4 -rw- 0 Jan 01 2013 08:03:20 lauth.dat
5 drw- - Jan 01 2013 08:00:38 license
6 drw- - Jan 01 2013 08:15:01 logfile
7 drw- - Jan 01 2013 08:03:37 pki
8 -rw- 5395456 Aug 09 2008 04:00:00 s5560x_ei-cmw710-boot-r1118p07.bin
9 -rw- 5396480 Jan 01 2013 08:11:44 s5560x_ei-cmw710-boot-r1119p09.bin
10 -rw- 1052672 Jan 01 2013 08:14:16 s5560x_ei-cmw710-freeradius-r1119p09.bin
11 -rw- 71542784 Aug 09 2008 04:00:00 s5560x_ei-cmw710-system-r1118p07.bin
12 -rw- 86925312 Jan 01 2013 08:14:14 s5560x_ei-cmw710-system-r1119p09.bin
13 drw- - Jan 01 2013 08:00:35 seclog
14 -rw- 591 Jan 01 2013 08:03:36 serverkey
15 -rw- 70196 Apr 13 2026 09:45:49 startup.cfg
16 -rw- 602938 Apr 13 2026 09:46:23 startup.mdb
17 drw- - Jan 01 2013 08:17:11 versionInfo
18 -rwh 20 Apr 24 2026 10:26:03 .snmpboots
19 drwh - Jan 01 2013 08:14:44 .trash
514048 KB total (254140 KB free)
3、进一步查看日志信息发现,4/16保存操作时没过多久就ssh登出了
%@4343915%Apr 16 20:59:11:514 2026 NN-USR-AL-F15-SW-IRF SHELL/6/SHELL_CMD_INPUT: Input string for the save command is the Enter key.
%@4343916%Apr 16 20:59:11:609 2026 NN-USR-AL-F15-SW-IRF SHELL/6/SHELL_CMD_CONFIRM: Confirm option of command save is yes.
%@4343917%Apr 16 20:59:18:941 2026 NN-USR-AL-F15-SW-IRF SSHS/6/SSHS_DISCONNECT: SSH user nnadmin (IP: 102.209.1.18) disconnected from the server.
%@4343918%Apr 16 20:59:20:066 2026 NN-USR-AL-F15-SW-IRF SSHS/6/SSHS_LOG: Accepted password for nnadmin from 102.209.1.18 port 57840.
4、分析是触发该已知问题:关于H3C部分产品保存配置时退出登录导致配置丢失的技术公告 - 知了社区
堆叠环境保存配置是一台一台执行的,涉及该问题的版本建议保存配置时预留2分钟时间,如果堆叠成员数量越多,需要预留的时间越长。