清除Console口和Telnet密码教程
組網(wǎng)圖形
規(guī)格
適用于所有版本、所有形態(tài)的AR路由器。
組網(wǎng)需求
RouterA的管理網(wǎng)口與用戶側(cè)主機PC相連。要求通過BootROM菜單清除console口密碼以及telnet密碼。
操作步驟
1.用串口線連接并通過Console口登錄設備。
2.重啟設備,在設備出現(xiàn)“Press Ctrl+B to break auto startup ...”打印信息時,按下“Ctrl+B”并鍵入密碼后進入BootROM主菜單。
BIOS Creation Date :?Nov 10 2011, 14:41:12? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
DDR DRAM init :?OK? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Start Memory Test ? ('t' or 'T' is test):skip? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
Copying Data : Done? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
Uncompressing : Done? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
USB2 Host Stack Initialized.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
USB Hub Driver Initialized? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
USBD? Wind River Systems, Inc. 562 Initialized? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Octeon Host Controller Initialize......Done.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Press Ctrl+B to break auto startup ... 2? ?
3、進入BootROM菜單后,選擇第4項,進入Startup Select菜單。
????????Main?Menu??? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
1. Default Startup? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
2. Serial Menu? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
3.Network Menu? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
4. Startup Select? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
5. File Manager? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
6.Password Manager? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
7. Reboot? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Enter your choice(1-6):4? ? ?
4、查看系統(tǒng)使用的配置信息,進入Startup Select菜單后,選擇第1項。
V200R001C01SPC300及之后版本可以通過如下方式查詢系統(tǒng)使用的配置文件信息。V200R001C01SPC300版本上的菜單選項為“Startup Information”,V200R001C01SPC300之后版本為“Display Startup”。
??????Startup?Select
1. Display Startup
2. Set Boot File
3. Set Config File
4. Startupfile Check Manage
0. return? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
Enter your choice(0-4):1? ?
? ? ? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
*****Current Startup info*****
V200R001C01SPC200及之前版本,無法查詢到系統(tǒng)使用的配置文件信息,但系統(tǒng)使用的配置文件一般為vrpcfg.zip,如果沒有vrpcfg.zip,則為iascfg.zip。
Valid Flag State : Vaild
Boot File Name: sd1:/software.cc
Config File Name: sd1:/vrpcfg.cfg
Licence File Name :
Patch State: Deactivate
Patch File Name:
Voice File Name:? ? ??
5、重命名系統(tǒng)使用的配置文件。
??????Startup?Select
????1.?Display Startup
????2.?Set Boot File
????3.?Set Config File
????4.?Startupfile Check Manage
????0.?return
Enter your choice(0-4):0
????????Main?Menu
????1.?Default Startup
????2.?Serial Menu
????3.?Network Menu
????4.?Startup Select
????5.?File Manager
????6.?Password Manager
????7.?Reboot
Enter your choice(1-7):5
????????File?Menu
????1.?Flash file system
????2.?SDCard file system
????0.?Return
Enter your choice(0-2):2
????????SDCard?file system MENU
????1.?List file in SDCard[1]
????2.?Delete file in SDCard[1]
????3.?Rename file in SDCard[1]
????4.?Format SDCard[1]
????5.?Check SDCard[1]
????0.?Return
Enter your choice(0-5):3
Please input the file name: vrpcfg.cfg
Please input the new name: vrpcfg_cpy.cfg
Rename file[sd1:/vrpcfg.cfg] to [sd1:/vrpcfg_cpy.cfg], Yes or No(Y/N): y
Rename OK!
6、啟動設備。
???????SDCard?file system MENU
????1.?List file in SDCard[1]
????2.?Delete file in SDCard[1]
????3.?Rename file in SDCard[1]
????4.?Format SDCard[1]
????5.?Check SDCard[1]
????0.?Return
Enter your choice(0-5):0
????????File?Menu
????1.?Flash file system
????2.?SDCard file system
????0.?Return
Enter your choice(0-2):0
????????Main?Menu
????1.?Default Startup
????2.?Serial Menu
????3.?Network Menu
????4.?Startup Select
????5.?File Manager
????6.?Password Manager
????7.?Reboot
Enter your choice(1-7):1
7、停止Auto-Config。
V200R002C00以及更低版本無需設置密碼。
V200R002C01到V200R003C01版本顯示如下
Please configure the login password (maximum length 16):
Huawei@123???//??設置首次Console登錄密碼
V200R005C00以及更高版本顯示如下。
Please configure the login password (<8-128>)?//?設置首次Console登錄密碼
Enter Password:
Confirm Password:
8、將重命名的配置文件改為可執(zhí)行文件。
根據(jù)文件格式,選擇其中一種。
rename vrpcfg_cpy.cfg vrpcfg_cpy.bat? ?//? 當文件是cfg結(jié)尾的時候,需要重命名為以bat結(jié)尾的可執(zhí)行文件
Rename sd1:
/vrpcfg_cpy.cfg to sd1:/vrpcfg_cpy.bat? (y/n)[n]:y
Info:?
Rename file sd1:
/vrpcfg_cpy.cfg to sd1:/vrpcfg_cpy.bat ......Done
unzip vrpcfg_cpy.zip vrpcfg_cpy.bat? ?//? 當文件是zip結(jié)尾的時候,需要解壓為以bat結(jié)尾的可執(zhí)行文件
Extract sd1:
/vrpcfg_cpy.zip to sd1:/vrpcfg_cpy.bat? (y/n)[n]:y
100%? complete
%Decompressed file sd1:
/vrpcfg_cpy.zip sd1:/vrpcfg_cpy.bat.
9、恢復配置。
[Huawei]board add 0/1 1E1-MFT??? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
Error: Unrecognized command found at '^' position.
[Huawei]execute vrpcfg_cpy.bat
Information:The script file has been executed completely.
10、重新設置Console口密碼(V200R002C01及之后的版本在上面已經(jīng)設置)和Telnet密碼,并記錄好設置的密碼。執(zhí)行“save”命令保存配置。
?
總結(jié)
以上是生活随笔為你收集整理的清除Console口和Telnet密码教程的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 一定要用虚拟化服务器吗?
- 下一篇: 一看就会的OSPF路由协议综合实验