• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

WAS6124 交换机不能用恢复出厂设置及详细教程

2025-01-02提问
  • 0关注
  • 0收藏,628浏览
粉丝:0人 关注:0人

问题描述:

WAS6124 交换机不能用恢复出厂设置及详细教程

组网及组网描述:

WAS6124 交换机不能用恢复出厂设置及详细教程

最佳答案

粉丝:32人 关注:1人

1  恢复出厂配置

1.1  简介

本案例介绍使设备恢复到出厂状态的常用方法。

1.2  配置注意事项

不同设备支持恢复到出厂状态方法可能不同,具体以设备的实际情况为准。

恢复出厂配置后,设备会清除所有用户的配置信息。因此,用户需要登录设备的Console口进行操作,不能通过SSH或Telnet方式远程登录设备。关于Console登录设备的方法,请参见“通过Console登录设备快速配置指南”。

1.3  配置步骤

·     执行restore factory-default命令行并重启设备

# 将设备恢复到出厂状态。

<Sysname> restore factory-default

This command will restore the system to the factory default configuration and clear the operation data. Continue [Y/N]:y

Restoring the factory default configuration. This process might take a few minutes. Please wait..........................................................................................................Done.

Please reboot the system to place the factory default configuration into effect.

# 重启设备,请不要选择保存当前配置。重启完成之后,设备将恢复到出厂状态。

<Sysname> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration will be lost after the reboot, save current configuration? [Y/N]:n

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

Now rebooting, please wait...

·     删除配置文件并重启设备

# 显示用于本次及下次启动的配置文件的名称。

<Sysname> 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

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

<Sysname> dir

Directory of flash:

   0 -rw-        6244 Jan 08 2013 07:26:03   startup.cfg

   1 -rw-      136628 Jan 08 2013 07:26:03   startup.mdb

   2 -rw-       58704 Jan 03 2013 07:56:22   diag_H3C_20130103-005605.tar.gz

...

# 删除下次启动的配置文件。

<Sysname> delete /unreserved startup.cfg

The file 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.

# 重启设备。重启完成之后,设备将恢复到出厂状态。

<Sysname> reboot

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

Current configuration will be lost after the reboot, save current configuration? [Y/N]:n

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

Now rebooting, please wait...

·     清除保存的配置并重启设备

说明

·     缺省情况下,本特性会将下次启动配置文件从所有的成员设备上彻底删除,请谨慎使用。如果只需从主设备上删除下次启动配置文件,请关闭配置文件同步功能。

·     重启设备时,请勿保存当前配置文件。

 

# 显示用于本次及下次启动的配置文件的名称。

<Sysname> 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

# 删除下次启动的主用配置文件。

<Sysname> reset saved-configuration

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

如果设备上存在备用配置文件,则需再执行reset saved-configuration backup命令,本例中不需要执行此命令。

# 重启设备。重启完成之后,设备将恢复到出厂状态。

<Sysname> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!

Current configuration will be lost after the reboot, save current configuration? [Y/N]:n

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

Now rebooting, please wait...

暂无评论

2 个回答

使用调试线的话可以参考如下

<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

Now rebooting, please wait... 

%Dec 14 20:48:39:352 2019 SW1 DEV/5/SYSTEM_REBOOT: System is rebooting now. 


暂无评论

粉丝:0人 关注:0人

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.
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
This command will reboot the device. Continue? [Y/N]:y
reboot第一次一定记着选择N,第二次再选择Y

暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明