进不去wed界面但是可以连接console所以请问怎么通过命令行恢复出厂设置,网上命令都试了,不识别。
(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)
The saved configuration file will be erased. Are you sure? [Y/N]:Y //确定删除保存的配置文件
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 //继续重启
(0)
暂无评论
查看设备当前已存在的配置文件
<H3C>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
#删除配置文件
<H3C>delete /unreserved 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
当设备重新完成,那么设备就在出厂设置的状态
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论