#將交換機重啟運行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)
暫無評論
親~登錄後才可以操作哦!
確定你的郵箱還未認證,請認證郵箱或綁定手機後進行當前操作
舉報
×
侵犯我的權益
×
侵犯了我企業的權益
×
抄襲了我的內容
×
原文鏈接或出處
誹謗我
×
對根叔社區有害的內容
×
不規範轉載
×
舉報說明
暫無評論