#将交换机重启运行BootRom程序,终端屏幕上显示如下信息(以S3100V3-20TP-PWR-SI为例)
<H3C>
Starting......
Press Ctrl+D to access BASIC BOOT MENU
Booting Normal Extend BootWare....
********************************************************************************
* *
* H3C S3100V3-20TP-PWR-SI Switch BOOTROM, Version 143 *
* *
********************************************************************************
Copyright (c) 2004-2021 New H3C Technologies Co., Ltd.
Creation Date : Jul 15 2021, 14:58:11
CPU Clock Speed : 800MHz
Memory Size : 512MB
Flash Size : 256MB
CPLD Version : 001
PCB Version : Ver.A
Mac Address : 0440a931afac
#当显示信息出现“Press Ctrl+B to access EXTENDED BOOT MENU...”时,键入<Ctrl+B>,系统将进入扩展BootRom主菜单。如果没有及时键入<Ctrl+B>需要重启设备重复之前操作。
Press Ctrl+B to access EXTENDED BOOT MENU...0
Password recovery capability is enabled.
注:当出现提示“Password recovery capability is enabled.”说明密码恢复功能开启。
密码恢复功能开启时,用户可以使用扩展BootRom菜单中除选项5以外的所有菜单项,选择7恢复出厂;
密码恢复功能关闭时,不支持选择7,选择5恢复出厂;
EXTENDED BOOT MENU
1. Download image to flash
2. Select image to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set switch startup mode
9. Set The Operating Device
0. Reboot
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format file system
Ctrl+P: Change authentication for console login
Ctrl+R: Download image to SDRAM and run
Ctrl+C: Display Copyright
Enter your choice(0-9): 7 //由于设备密码恢复功能开启,此处选择7
The current setting will run with current configuration file when reboot.
Are you sure you want to skip current configuration file when reboot? Yes or No
(Y/N):Y //选择Y跳过当前配置文件重启
Setting...Done.
EXTENDED BOOT MENU
1. Download image to flash
2. Select image to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set switch startup mode
9. Set The Operating Device
0. Reboot
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format file system
Ctrl+P: Change authentication for console login
Ctrl+R: Download image to SDRAM and run
Ctrl+C: Display Copyright
Enter your choice(0-9): 0 //此处选择0重启设备
Starting......
Press Ctrl+D to access BASIC BOOT MENU
Booting Normal Extend BootWare....
********************************************************************************
* *
* H3C S3100V3-20TP-PWR-SI Switch BOOTROM, Version 143 *
* *
********************************************************************************
Copyright (c) 2004-2021 New H3C Technologies Co., Ltd.
Creation Date : Jul 15 2021, 14:58:11
CPU Clock Speed : 800MHz
Memory Size : 512MB
Flash Size : 256MB
CPLD Version : 001
PCB Version : Ver.A
Mac Address : 0440a931afac
Press Ctrl+B to access EXTENDED BOOT MENU...1 0 0
Loading the main image files...
Loading file flash:/s3100v3_si-cmw710-system-r6333.bin..........................
..........................Done.
Loading file flash:/s3100v3_si-cmw710-boot-r6333.bin.........Done.
Image file flash:/s3100v3_si-cmw710-boot-r6333.bin is self-decompressing........
................................................................................
................................................................................
................................................................................
................................................................................
..........................................................................Done.
System is starting...
Cryptographic algorithms tests passed.
Configuration file is skipped.
Performing automatic configuration... Press CTRL_C or CTRL_D to break.
Automatic configuration attempt: 1.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration attempt: 2.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration attempt: 3.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration attempt: 4.
Not ready for automatic configuration: no interface available.
Waiting for the next...
#按“CTRL+C”或者“CTRL+D”停止
Automatic configuration is aborted.
Line aux0 is available.
#按回车键进入设备命令行
Press ENTER to get started.
(0)
要将 H3C LS-5130P-28P-HPWR-EI 交换机恢复出厂设置,你可以根据是否可以登录设备,选择以下两种方法之一:
如果你能登录到交换机控制台(通过 Console/Telnet/SSH),可按以下步骤操作:
<H3C> reset saved-configuration
# 提示是否确认,输入 y
<H3C> reboot
# 提示是否保存当前配置,输入 n(不要保存)
交换机重启后就会回到出厂设置了。
如果你忘记密码无法进入系统,可以通过 Console 控制台 + 开机中断启动流程,手动删除配置文件。
Console 线连接交换机 Console 口
使用串口工具(如 SecureCRT / Tera Term / Putty),波特率设置为:9600 8N1
重启交换机
启动过程中看到提示(如“Press Ctrl+B to enter Boot Menu”)时,立即按 Ctrl+B
输入 Boot Menu 密码:默认是 admin
或直接回车(有些版本无密码)
出现如下菜单(Boot Menu):
1. Boot with default mode
2. Enter serial submenu
3. Enter filesystem submenu
4. Modify boot file
5. Enter password recovery
6. Reboot
选择 选项 3(Enter filesystem submenu)
输入命令:dir flash:
看看配置文件名(通常是 config.cfg
或 startup.cfg
)
删除配置文件:
delete flash:/config.cfg
确认删除。
然后输入 reboot
重启设备。
⚠️ 重启后,设备会没有任何配置,相当于“出厂状态”。
内容 | 默认值 |
---|---|
用户名 | 无 |
密码 | 无 |
IP 地址 | 无(需手动配置) |
Telnet | 未开启 |
Console | 可登录,无密码 |
可以通过 Boot Menu 进入选项 5:
5. Enter password recovery
进去后选择跳过配置文件启动,等进入系统后再删除配置。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论