Comware Based
1832927 Members
3094 Online
110048 Solutions
New Discussion

Re: Failed to obtain the current configuration.

 
RS-ES
Occasional Visitor

Failed to obtain the current configuration.

Hello, 

 

we have actually 2 IRF groups each containing of three 5900AF-48G-4XG-2QSFP Switches.

Both IRFs are in usage for about more than 3 years and this is the first time I occur this error:

<IRF99>display current-configuration
<IRF99>display current-configuration diff
Failed to obtain the current configuration.
<IRF99>display saved-configuration
#
version 7.1.045, Release 2422P01
#
sysname IRF99
#

.......

I am also not able to see the current configuration via web (https).

I just noticed that the flash contains no "iccrunning.cfg" file anymore.

How could this happen and is there a way without reboot to restore or recreate th running config?

 

Thanks in advance

Erik

7 REPLIES 7
akg7
HPE Pro

Re: Failed to obtain the current configuration.

Hi Erik,

Can you try to generate 'display diagnostic-information' and check if  there is any config inside the output?

Also what is the output of 'display irf'?

Thanks!

 

 

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the companyAccept or Kudo
jmpk
HPE Pro

Re: Failed to obtain the current configuration.

Hi @RS-ES 

Have to tried to console to the switch and checked ? What is the impact you are seeing due to this ? Please share"display IRF" output here


I work for HPEAccept or Kudo
RS-ES
Occasional Visitor

Re: Failed to obtain the current configuration.

@akg7 qakg7 display diagnostic-information still shows me the complete config, yes

@jmpk not connected via console so far, but with "terminal monitor"via ssh I just can see a PVID mismatch on a port of the IRF99 (which I doubt is that big of a deal)

 

<IRF98>dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 32 00e0-fc0f-8c02 ---
2 Standby 16 00e0-fc0f-8c03 ---
3 Standby 1 00e0-fc0f-8c04 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.

The bridge MAC of the IRF is: cc3e-5f09-a204
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
IRF mode : normal

 

<IRF99>dis irf
MemberID Role Priority CPU-Mac Description
*+1 Master 32 00e0-fc0f-8c02 ---
2 Standby 31 00e0-fc0f-8c03 ---
3 Standby 30 00e0-fc0f-8c04 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.

The bridge MAC of the IRF is: 4431-9260-592f
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 100
IRF mode : normal

akg7
HPE Pro

Re: Failed to obtain the current configuration.

Hi Erik,

Both IRF status looks good.

Hopefully you have taken the backup of the config.

Have you  saved the config:  'save' or  'save safely force'? Try and check the status?

Let us know if any error reflects.

Also can you try to connect each switch with console and check the current config or config file in flash?

Thanks!

 

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the companyAccept or Kudo
RS-ES
Occasional Visitor

Re: Failed to obtain the current configuration.

The iccrunning.cfg is missing on all devices (as I mentioned in my first post).

I did not try to save so far because I am not sure if the "empty" current-configuration overwrites the saved-configuration.

The saved-configuration looks fine right now, it is just the current-configuration which is missing.

 

So is it safe for me to save force?

 

<IRF98>dir /all-filesystems
Directory of flash:
0 -rw- 420288 Nov 22 2019 12:02:39 2019-11-22-irf2-tech.tar.gz
1 -rw- 7308288 Jan 01 2011 01:15:53 5900_5920-cmw710-boot-r2311p06.bin
2 -rw- 11305984 Feb 28 2016 15:59:50 5900_5920-cmw710-boot-r2422p01.bin
3 -rw- 54290432 Jan 01 2011 01:17:48 5900_5920-cmw710-system-r2311p06.bin
4 -rw- 69196800 Feb 28 2016 15:55:23 5900_5920-cmw710-system-r2422p01.bin
5 drw- - Jan 01 2011 02:52:57 diagfile
6 -rw- 1311 Apr 14 2016 15:39:00 hostkey
7 -rw- 341666 Sep 03 2020 00:02:22 iccrunning.mdb
8 -rw- 5116 Sep 09 2020 00:02:18 ifindex.dat
9 -rw- 25360 Aug 24 2020 14:52:00 irf98.cfg
10 -rw- 341666 Aug 24 2020 14:52:02 irf98.mdb
11 -rw- 0 Nov 22 2019 12:01:45 lauth.dat
12 drw- - Jan 01 2011 01:00:27 license
13 drw- - Jan 01 2011 02:50:17 logfile
14 drw- - Apr 14 2016 15:38:59 pki
15 drw- - Jan 01 2011 02:52:57 seclog
16 -rw- 591 Apr 14 2016 15:39:02 serverkey
17 -rw- 21769 Jul 30 2020 21:24:00 startup.cfg
18 -rw- 278108 Jul 30 2020 21:24:02 startup.mdb
19 drw- - Feb 28 2016 16:07:58 versionInfo

akg7
HPE Pro

Re: Failed to obtain the current configuration.

Hi Erik,

I hope you have checked all slots. This output is showing only slot1.

Can you run:
<HPE>display startup
<HPE>more startup.cfg <Verify if this is matching with running current config. You can verify from display diag or dis current-configuration configuration>
<H3C>reset recycle-bin <Press 'N' and see which file is available>

Normally current config exists in startup.cfg.
Do you know what the data was in 'iccrunning.cfg'?

Device is running on 4 years old software and not found any such bug in new software relase.

Thanks!

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the companyAccept or Kudo
akg7
HPE Pro

Re: Failed to obtain the current configuration.

Hi,

Has my post helped you to answer your query?

Thanks!

 

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the companyAccept or Kudo