最佳答案
# 进入用户视图
<H3C> restore factory-default
This command will restore the system to the factory default configuration and clear the operation data. Continue [Y/N]:y
# 提示完成后重启
<H3C> reboot
# 重启提示是否保存当前配置,输入 N 不保存
Current configuration will be lost after the reboot, save current configuration? [Y/N]:n
This command will reboot the device. Continue? [Y/N]:y
<H3C> reset saved-configuration
The saved configuration file will be erased. Are you sure? [Y/N]:y
<H3C> reboot
# 保存配置选 N
Press Ctrl-B to enter Extended Boot menu... 立刻按 Ctrl+B(快速启动模式仅 1 秒窗口期,动作要快);5. Restore to factory default configuration,输入 Y 确认清空出厂;0 重启交换机,所有配置、账号密码全部清空。192.168.0.233/24restore factory-default + reboot,保存选 N;(0)
Directory of flash:
0 drw- - Dec 14 2019 20:37:24 diagfile
1 -rw- 1554 Dec 14 2019 20:50:06 ifindex.dat
2 -rw- 21632 Dec 14 2019 20:37:24 licbackup
3 drw- - Dec 14 2019 20:37:24 license
4 -rw- 21632 Dec 14 2019 20:37:24 licnormal
5 drw- - Dec 14 2019 20:48:38 logfile
6 -rw- 0 Dec 14 2019 20:37:24 s5820v2_5830v2-cmw710-boot-a7514.bin
7 -rw- 0 Dec 14 2019 20:37:24 s5820v2_5830v2-cmw710-system-a7514.bin
8 drw- - Dec 14 2019 20:37:24 seclog
9 -rw- 6118 Dec 14 2019 20:50:06 startup.cfg //这个是启动的交换机配置,我们要删除此文件
10 -rw- 110464 Dec 14 2019 20:50:06 startup.mdb
1046512 KB total (1046300 KB free)
Delete flash:/startup.cfg? [Y/N]:y //设备提示是否要删除,选择Y
Deleting file flash:/startup.cfg... Done. //设备提示startup.cfg这个文件已删除完成
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...
暂无评论
H3C S5024PV3 EI 交换机恢复出厂设置主要有三种方法,你可以根据当前是否记得密码、能否登录等情况来选择。
这是最常规的方法,适用于能正常通过Console或Telnet/SSH登录交换机命令行的情况。
进入用户视图:通过Console或远程方式登录交换机,确保处于用户视图(提示符为 <H3C>)。
系统会提示
This command will restore the system to the factory default configuration...,输入Y确认。
重启交换机:恢复完成后,需要重启设备使配置生效。
关键一步:重启过程中,系统会询问
Save current configuration?,务必输入N不保存。之后再次确认重启,输入Y。
此方法适用于忘记所有登录密码,无法通过命令行操作的情况。需要用Console线连接交换机。
连接Console线:使用Console线连接电脑和交换机的Console口。终端软件(如PuTTY、Xshell)的串口参数设置为:波特率9600,数据位8,停止位1,无校验,无流控。
重启并进入BootWare菜单:给交换机重新上电。密切关注终端窗口,当出现 Press Ctrl-B to enter Extended Boot menu... 提示时,立即按下 Ctrl 和 B 键。
确保交换机已通电。
找到复位孔:在交换机面板上找到标有 RESET 的小圆孔。
等待重启:交换机将自动重启并恢复出厂设置。
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论