用com线连上电脑,用超级终端进入,然后重启交换机,看提示按ctrl+b进入bootrom模式,然后按照菜单提示删除flash中的.cfg文件,然后重启就可以了。
(0)
<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)
暂无评论
(1)在导航栏中选择“设备 > 配置文件”。
(2)点击“恢复出厂配置”的“》”按钮,进入如图3-1所示的页面。
(3)单击<重置>按钮恢复出厂配置。
(4)弹出如图3-2所示的页面,单机“确定”即开始重置恢复出厂设置并重启。
图3-1
图3-2
#查看设备当前已存在的配置文件
<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
当设备重新完成,那么设备就在出厂设置的状态
#清除已保存的配置
<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
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论