如何清除con口密码
答案:1 悬赏:20 手机版
解决时间 2021-02-09 06:00
- 提问者网友:我一贱你就笑
- 2021-02-08 19:43
如何清除con口密码
最佳答案
- 五星知识达人网友:荒野風
- 2021-02-08 19:50
如何清除con口密码
适用产品:AR1200&2200&3200系列路由器
一、适用版本:V200R003及以后版本
以AR1200系列路由器为例:
//设备开始加电启动
BIOS Creation Date : Nov 15 2013, 14:25:32
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 //Ctrl+B进入Bootrom菜单
Enter Password:****** //密码huawei
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-7):7 //选择7,密码管理
PassWord Menu
1. Modify the menu password
2. Clear the console login password
0. Return
Enter your choice(0-2):2 //选择2,清除console口登录密码
Clear the console login password Succeed! //提示密码清除成功
PassWord Menu
1. Modify the menu password
2. Clear the console login password
0. Return
Enter your choice(0-2):0 //选择0,返回上级菜单
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-7):6 //选择6,重新启动设备
BIOS Creation Date : Nov 15 2013, 14:25:32
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 ... 1
Enter auto startup
Now boot from flash:/ar1220-v200r005c10.cc, please wait...
Check Bootrom version
Check CPLD Version
Get CPLD0 file CPLD_ar1220.bin in packet
CPLD0 version is 0x11072400
CPLD0 in packet version is 0x11072400
CPLD0 version match
Check rootfs version
Get Kernel File Done
Uncompress Kernel Done
Create monitor process
Create cap process
Create vrp process
Initializing SMI Bus:OK
Initializing I2C Bus:OK
Backup Bootrom : done
DOPRA initialize..................OK
IAS initialize....................OK
VRP_SockTm_Init create............OK
VRP initialize
Create tasks......................OK
Initialize tasks..................OK
Recovering configuration..........OK
Press any key to get started
//无需密码登录设备,原来的业务配置也已加载成功
system-view
[huawei]
二、适用版本:V200R001
1、设备重加电启动,按Ctrl+B进入bootrom菜单;(密码huawei)
BIOS Creation Date : Oct 7 2011, 17:25:43
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 ... 9 // 出现提示后,10秒钟内按Ctrl+B进入Bootrom菜单
Enter Password:****** //密码huawei
2、修改启动配置文件名称
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
Enter your choice(1-6):5 //选择5,文件管理
File Menu
1. Flash file system
2. SDCard file system
0. Return
Enter your choice(1-2):2 //AR1200系列路由器,选择1,Flash文件系统
//AR2200&3200系列路由器,选择2,SD1文件系统
//以下以AR2200系列路由器为例
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(1-5):1 //选择1,显示SD1中的文件列表
Files of the device:
AR2220_V200R001C00SPC200.cc
web.zip
private-data.txt
logfile
mon_file.txt
mon_lpu_file.txt
vrpcfg.zip
7 files found!
1973735424 Byte total, 1716006912 Byte free.
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(1-5):3 //选择修改文件名名
Please input the file name: vrpcfg.zip //输入原文件名
Please input the new name: vrpcfg_old.zip //输入目标文件名
Rename file[sd1:/vrpcfg.zip] to [sd1:/vrpcfg_old.zip], Yes or No(Y/N): y //选择y
Rename OK!
3、重新启动路由器,空配置启动后,无需密码登录设备
… …
Press any key to get started
//无需密码登录设备
==============================================================
以下为恢复业务配置的步骤,如不需要可以跳过。
4、解压缩.zip配置文件为.bat文件
unzip vrpcfg_old.zip vrpcfg_old.bat //解压缩已修改名称的配置文件
Extract sd1:/vrpcfg_old.zip to sd1:/vrpcfg_old.bat? (y/n)[n]:y
100% complete
more vrpcfg_old.bat //检查业务配置是否正确
5、通过执行.bat脚本恢复文件配置
system-view //进入系统视图
Enter system view, return user view with Ctrl+Z.
[Huawei]execute vrpcfg_old.bat //加载配置文件内容
[Huawei]sysname Huawei
[Huawei]ftp server enable
Info: Succeeded in starting the FTP server
[Huawei] board add 0/1 1SA
Error: Unrecognized command found at '^' position. //此报错为正常,因为board add命令无法手工配置。
[Huawei] board add 0/2 8AS
Error: Unrecognized command found at '^' position. //此报错为正常,因为board add命令无法手工配置。
//此处略去详细过程
Information:The script file has been executed completely
Success:98 item(s) Failure: 2 item(s)
6、更新console口密码配置及其他密码
[Huawei]user-interface con 0
[Huawei-ui-console0]authentication-mode none //清除Console口登录密码
7、save当前配置
save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
适用产品:AR1200&2200&3200系列路由器
一、适用版本:V200R003及以后版本
以AR1200系列路由器为例:
//设备开始加电启动
BIOS Creation Date : Nov 15 2013, 14:25:32
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 //Ctrl+B进入Bootrom菜单
Enter Password:****** //密码huawei
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-7):7 //选择7,密码管理
PassWord Menu
1. Modify the menu password
2. Clear the console login password
0. Return
Enter your choice(0-2):2 //选择2,清除console口登录密码
Clear the console login password Succeed! //提示密码清除成功
PassWord Menu
1. Modify the menu password
2. Clear the console login password
0. Return
Enter your choice(0-2):0 //选择0,返回上级菜单
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
7. Password Manager
Enter your choice(1-7):6 //选择6,重新启动设备
BIOS Creation Date : Nov 15 2013, 14:25:32
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 ... 1
Enter auto startup
Now boot from flash:/ar1220-v200r005c10.cc, please wait...
Check Bootrom version
Check CPLD Version
Get CPLD0 file CPLD_ar1220.bin in packet
CPLD0 version is 0x11072400
CPLD0 in packet version is 0x11072400
CPLD0 version match
Check rootfs version
Get Kernel File Done
Uncompress Kernel Done
Create monitor process
Create cap process
Create vrp process
Initializing SMI Bus:OK
Initializing I2C Bus:OK
Backup Bootrom : done
DOPRA initialize..................OK
IAS initialize....................OK
VRP_SockTm_Init create............OK
VRP initialize
Create tasks......................OK
Initialize tasks..................OK
Recovering configuration..........OK
Press any key to get started
[huawei]
二、适用版本:V200R001
1、设备重加电启动,按Ctrl+B进入bootrom菜单;(密码huawei)
BIOS Creation Date : Oct 7 2011, 17:25:43
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 ... 9 // 出现提示后,10秒钟内按Ctrl+B进入Bootrom菜单
Enter Password:****** //密码huawei
2、修改启动配置文件名称
Main Menu
1. Default Startup
2. Serial Menu
3. Network Menu
4. Startup Select
5. File Manager
6. Reboot
Enter your choice(1-6):5 //选择5,文件管理
File Menu
1. Flash file system
2. SDCard file system
0. Return
Enter your choice(1-2):2 //AR1200系列路由器,选择1,Flash文件系统
//AR2200&3200系列路由器,选择2,SD1文件系统
//以下以AR2200系列路由器为例
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(1-5):1 //选择1,显示SD1中的文件列表
Files of the device:
AR2220_V200R001C00SPC200.cc
web.zip
private-data.txt
logfile
mon_file.txt
mon_lpu_file.txt
vrpcfg.zip
7 files found!
1973735424 Byte total, 1716006912 Byte free.
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(1-5):3 //选择修改文件名名
Please input the file name: vrpcfg.zip //输入原文件名
Please input the new name: vrpcfg_old.zip //输入目标文件名
Rename file[sd1:/vrpcfg.zip] to [sd1:/vrpcfg_old.zip], Yes or No(Y/N): y //选择y
Rename OK!
3、重新启动路由器,空配置启动后,无需密码登录设备
… …
Press any key to get started
//无需密码登录设备
==============================================================
以下为恢复业务配置的步骤,如不需要可以跳过。
4、解压缩.zip配置文件为.bat文件
Extract sd1:/vrpcfg_old.zip to sd1:/vrpcfg_old.bat? (y/n)[n]:y
100% complete
5、通过执行.bat脚本恢复文件配置
Enter system view, return user view with Ctrl+Z.
[Huawei]execute vrpcfg_old.bat //加载配置文件内容
[Huawei]sysname Huawei
[Huawei]ftp server enable
Info: Succeeded in starting the FTP server
[Huawei] board add 0/1 1SA
Error: Unrecognized command found at '^' position. //此报错为正常,因为board add命令无法手工配置。
[Huawei] board add 0/2 8AS
Error: Unrecognized command found at '^' position. //此报错为正常,因为board add命令无法手工配置。
//此处略去详细过程
Information:The script file has been executed completely
Success:98 item(s) Failure: 2 item(s)
6、更新console口密码配置及其他密码
[Huawei]user-interface con 0
[Huawei-ui-console0]authentication-mode none //清除Console口登录密码
7、save当前配置
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
It will take several minutes to save configuration file, please wait......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯