首页 科技问答 s5500怎么恢复出厂设置和导入备份

s5500怎么恢复出厂设置和导入备份

科技问答 283
1691594178,

问题描述:

s5500怎么恢复出厂设置和导入备份

组网及组网描述:


4小时前提问

<H3C>reset saved-configuration //清空交换机配置

The saved configuration file will be erased. Are you sure? [Y/N]:y //设备提示保存的配置将会被删除,是否继续。

Configuration file in flash: is being cleared. Please wait ... 

MainBoard:

 Configuration file is cleared. //配置已被清空



<H3C>reboot //重启交换机

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

 Current configuration may be lost after the reboot, save current configuration? [Y/N]:n //设备提示会在重启后丢失当前配置,是否保存当前配置,选择n

This command will reboot the device. Continue? [Y/N]:y //设备提示设备将会重启,是否继续,选择Y

4小时前回答

暂无

恢复出厂前:建议先保存配置;

参考:以下三种恢复出厂的方法;

恢复出厂会导致配置丢失,请谨慎操作;

1 配置需求或说明

1.1  适用产品系列

本案例适用于如S5130-28F-WiNet、S5500V2-24P-WiNet、S5500V2-48P-WiNet等的V7交换机,V5、V7交换机具体分类及型号可以参考“1.1 Comware V5、V7平台交换机分类说明”。

1.2  需要的工具环境及注意事项

恢复出厂配置模块提供将设备中的所有配置恢复到出厂时的缺省配置,删除当前的配置文件,并重新启动设备的功能。

2 组网图

3 配置步骤

3.1  WEB界面恢复方式

在导航栏中选择“设备 > 配置文件”。

点击“恢复出厂配置”的“》”按钮,进入如图3-1所示的页面。

单击<重置>按钮恢复出厂配置。

(4)弹出如图3-2所示的页面,单机“确定”即开始重置恢复出厂设置并重启。

图3-1


图3-2


 

3.2  命令恢复方式

3.2.1  删除配置文件,重启设备方式恢复

#查看设备当前已存在的配置文件

<H3C>dir

Directory of flash:

   0 -rw-        6244 Jan 08

   1 -rw-      136628 Jan 08

   2 -rw-       58704 Jan 03

 

#删除配置文件

<H3C>delete /unreserved startup.cfg   //删除startup.cfg并在回收站不保留
The contents cannot be restored!!! Delete flash:/startup.cfg?[Y/N]:y
Deleting a file permanently will take a long time. Please wait...
.
%Delete file flash:/startup.cfg...Done.

 

#重启设备
<H3C>reboot   //重启设备

Start to check configuration with next startup configuration file, please wait.........DONE!
 This command will reboot the device. Current configuration will be lost, save current configuration? [Y/N]:n
 This command will reboot the device. Continue? [Y/N]:y

当设备重新完成,那么设备就在出厂设置的状态

 

3.2.2  清除保存的配置,重启设备方式恢复

#清除已保存的配置

<H3C>reset save   //清除已保存的配置

The saved configuration file will be erased. Are you  sure? [Y/N]:Y

 

#重启设备

<H3C>reboot   //重启设备
 Start to check configuration with next startup configuration file, please wait.........DONE!
 This command will reboot the device. Current configuration will be lost, save current configuration? [Y/N]:n
 This command will reboot the device. Continue? [Y/N]:y

----------

导入配置的方法:

1、命令行下可以将配置刷入;

2、通过网页恢复;

登录设别管理页面;找到配置选项;选择导入配置;即可;


3、通过tftp 方式导入文件为starup.cfg 的文件;

指定下次启动的配置文件;

startup saved-configuration startup.cfg 

然后重启即可

或者进行配置回滚

configuration replace file flash:/startup.cfg  无需重启,即可生效; 

3小时前回答

暂无

你正在内容来源:知了社区,s5500怎么恢复出厂设置和导入备份