最佳答案
如果用户设置的console登录口令丢失,又不能通过telnet方式修改口令,可以使用以下解决方法:删除启动文件。具体操作步骤如下:
1. 进入BOOTROM菜单
…
Press Ctrl+B to enter Boot Menu...4
Please input BootRom password:
BOOT MENU
1. Download application file to device
2. Select application file to boot
3. Display all files in device
4. Delete file from device
5. Modify BootRom password
0. Reboot
Enter your choice(0-5):
键入Ctrl+B组合键进入BOOTROM菜单。
2、导出设备配置文件到外部TFTP/FTP服务器
BOOT MENU
1. Download application file to device
2. Select application file to boot
3. Display all files in device
4. Delete file from device
5. Modify BootRom password
0. Reboot
Enter your choice(0-5): //此处输入CTRL+Y键后敲击ENTER
Please select application file upload choices:
1. Upload file from Flash via TFTP protocol
2. Upload file from CF card via TFTP protocol
0. Return to boot menu
Enter your choice(0-2): 1 //选择1,使用TFTPF方式导出配置文件
Load File name :sda startup.cfg
Switch IP address :192.168.0.36 172.16.0.1
Server IP address :192.168.0.30 172.16.0.2
//根据实际情况输入配置文件名称,设备地址、TFTP服务器地址
Are you sure to upload file to server? Yes or No (Y/N):Y
//选择Y
Load file from flash to sdram...done!
Uploading...done!
在BOOTROM菜单下,按CTRL+Y键后敲击ENTER,按照提示设置TFTP服务器,导出用户配置。
3、删除当前启动配置文件
Please select application file upload choices:
1. Upload file from Flash via TFTP protocol
2. Upload file from CF card via TFTP protocol
0. Return to boot menu
Enter your choice(0-2): 0 //回到Bootrom菜单
BOOT MENU
1. Download application file to device
2. Select application file to boot
3. Display all files in device
4. Delete file from device
5. Modify BootRom password
0. Reboot
Enter your choice(0-5): 4 //删除当前启动配置文件
Flash:/
Number. Size(B) Time Name
===============================================================================
1 4588 Nov/05/2014 08:08:27 private-data.txt
2 864024 Jul/19/2012 09:23:35 io_mon.txt
3 12610 Aug/13/2012 13:46:44 patch_mpu.bin
4 970 Aug/09/2013 09:07:44 patchstate
5 62930 Nov/05/2014 08:08:51 config.cwmp
6 4 Oct/12/2014 11:47:27 snmpboots
7 33367493 Oct/15/2014 10:06:24 s7500e-cmw520-r6708p09.app
8 21413 Nov/05/2014 08:09:19 startup.cfg
9 735 Aug/07/2012 10:17:45 hostkey
10 4843 Dec/06/2010 17:15:40 config.cfg
11 591 Aug/07/2012 10:17:53 serverkey
12 2954 Sep/11/2012 07:03:21 irf.cfg
13 7918 Jun/20/2000 04:37:39 triple.cfg
14 3807 Nov/05/2014 08:09:09 system.xml
15 1411 Feb/24/2010 15:07:49 startupwangchen.cfg
16 16413 Nov/05/2014 08:08:37 qosindex
17 429436 Sep/22/2014 13:30:03 lsqsrp2xb05301.btw
18 6524 Nov/01/2012 15:58:55 mplstest.cfg
19 7345 May/15/2012 12:21:26 iccrunning.cfg
Free space: 29672448 bytes
The current application file is:cfa0:/s7500e-cmw520-r6708p08.app
The backup application file is:cfa0:/s7500e-cmw520-r6105.app
Please input the file number to delete :8 //启动配置文件对应序号8
The file you selected is flash:/startup.cfg, delete it? Yes or No(Y/N)Y
Deleting.....done! //选择Y
在导出用户配置之后,此步骤用以删除启动文件,让设备重新以空配置启动(如果设备配置无需保存,可以直接删除设备启动文件,无需进行第二步的配置备份)。
BOOT MENU
1. Download application file to device
2. Select application file to boot
3. Display all files in device
4. Delete file from device
5.
(0)
<H3C>system-view //进入系统视图
[H3C]local-user admin //进入admin用户
[H3C-luser-admin]password simple 123456 //修改密码为123456
[H3C-luser-admin]quit //退出当前视图
重新登入界面之后使用新的用户密码登录确认修改成功,点击右上角保存配置。
(0)
暂无评论
您好,请知:
可以console登录修改,修改的参考命令为:
local-user admin
password simple admin
quit
如果console也无法登录了,只能重启并按ctrl+b进入到bootware选择跳过console密码启动,进入设备后修改密码即可。
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论