WAS6124 交换机不能用恢复出厂设置及详细教程
WAS6124 交换机不能用恢复出厂设置及详细教程
(0)
最佳答案
本案例介绍使设备恢复到出厂状态的常用方法。
不同设备支持恢复到出厂状态方法可能不同,具体以设备的实际情况为准。
恢复出厂配置后,设备会清除所有用户的配置信息。因此,用户需要登录设备的Console口进行操作,不能通过SSH或Telnet方式远程登录设备。关于Console登录设备的方法,请参见“通过Console登录设备快速配置指南”。
· 执行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...
(0)
使用调试线的话可以参考如下
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. //配置已被清空
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)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论