永发信息网

如何清除con口密码

答案:1  悬赏:20  手机版
解决时间 2021-02-09 06:00
如何清除con口密码
最佳答案
如何清除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
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
动漫 冷美人是怎么个定义例如说桔梗灰原啊都
中间唱有【你的爱在心上】那首歌叫什么名字?
武清特产是什么
四海旅馆地址在哪,我要去那里办事
【对我而言】英语翻译求高手翻译成英文
我爸妈都有赌瘾,昨晚我爸喝了点酒,然后去下
叶子美甲美睫地址有知道的么?有点事想过去
想写诗感谢帮忙投票的朋友
驾照分扣完了15天没没去考试怎么办
铃木锋驭轮毂可改18寸,对安全问题,操控,油
旭旺超市在什么地方啊,我要过去处理事情
我给我女儿洗澡时洗她下面的时候流出了透明液
qq炫舞:炫舞52020怎么蹦传统
主音吉他弹的谱子
红楼梦读后感题目
推荐资讯
立信测绘仪器在什么地方啊,我要过去处理事情
约瑟芬洗衣馆(宿州旗舰店)地址在什么地方,我
洁丰干洗(香林·丽景湾西南)地址好找么,
求此图片出处的动漫
下载垃圾应用,手机被强制短信订购每月8元的
男主慕辰女主安若是什么小说,男主是官二代
台湾有什么牌子的锣机
《题临安邸》的诗意,思想感情?
有人欠几千元货款已有十几年,起诉到法院,法
UnderArmour(侨福芳草地购物中心店)地址有知
谋定三国好看吗
刚出娘胎的婴儿哭时只有声没有泪,是因为?
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?