Print

某局点S10508-V 查看配置文件为空问题处理经验案例

4天前 发表

组网及说明

组网不涉及

问题描述

查看当前配置文件显示为空


过程分析

以往案例:https://zhiliao.h3c.com/Theme/details/124253

设备未进行主备倒换:

  ===============display irf=============== 

MemberID  Slot  Role    Priority  CPU-Mac         Description

*+1      4     Master  10        00e0-fc0f-8c05  ---

   1      5     Standby 10        00e0-fc0f-8c06  ---

   2      4     Standby 1         00e0-fc0f-8c17  ---

   2      5     Standby 1         00e0-fc0f-8c18  ---

保存过程无报错:

WUH-NZ-HX-S10508-ST-01 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=X.X.X.X-User=wuhadmin; Command is save startup.cfg all

WUH-NZ-HX-S10508-ST-01 SHELL/6/SHELL_CMD_CONFIRM: Confirm option of command save startup.cfg all is yes.

WUH-NZ-HX-S10508-ST-01 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=X.X.X.X-User=wuhadmin; Command is display startup

WUH-NZ-HX-S10508-ST-01 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=X.X.X.X-User=wuhadmin; Command is save startup.cfg chassis 1 slot 4

WUH-NZ-HX-S10508-ST-01 SHELL/6/SHELL_CMD_CONFIRM: Confirm option of command save startup.cfg chassis 1 slot 4 is yes.


解决方法

设备空配置启动的情况下是正常现象

Current Startup saved-configuration file

当前启动使用的配置文件

若该字段后有“*”标识,则表示当前的启动配置文件为二进制类型

Next main startup saved-configuration file

下一次启动时使用的主用配置文件

Next backup startup saved-configuration file

下一次启动时使用的备用配置文件

验证:

[H3C]display startup

MainBoard:

Current startup saved-configuration file: NULL

Next main startup saved-configuration file: NULL

Next backup startup saved-configuration file: NULL

[H3C]qu

<H3C>save force

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

<H3C>sys

System View: return to User View with Ctrl+Z.

[H3C]display startup

MainBoard:

Current startup saved-configuration file: NULL

Next main startup saved-configuration file: flash:/startup.cfg

Next backup startup saved-configuration file: NULL

[H3C]qu

<H3C>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait....%May 31 10:05:03:222 2023 H3C DEV/5/SYSTEM_REBOOT: System is rebooting now.

..Cryptographic algorithms tests passed.

 

Line con0 is available.

 

 

Press ENTER to get started.

******************************************************************************

* Copyright (c) 2004-2022 New H3C Technologies Co., Ltd. All rights reserved.*

* Without the owner's prior written consent,                                 *

* no decompiling or reverse-engineering shall be allowed.                    *

******************************************************************************

 

<H3C>%May 31 10:05:50:936 2023 H3C SHELL/5/SHELL_LOGIN: Console logged in from con0.

sys

System View: return to User View with Ctrl+Z.

[H3C]display startup

MainBoard:

Current startup saved-configuration file: flash:/startup.cfg(*)

Next main startup saved-configuration file: flash:/startup.cfg

Next backup startup saved-configuration file: NULL