重启到bootware恢复密码
通过conlse线和crt软件连接并登陆设备,然后把设备断电重启。控制台上会打印如下信息,当出现“press Ctrl+B”的时候快速按住“Ctrl+B” 进入botroom菜单
System is starting...
Press Ctrl+D to access BASIC-BOOTWARE MENU
Booting Normal Extend BootWare
The Extend BootWare is self-decompressing.......................Done!
BootWare Validating...
Press Ctrl+B to enter extended boot menu...
BotWare password: Not required. Please press Enter to continue.
Password recovery capability is enabled.
Note: The current operating device is flash
Enter < Storage Device Operation > to select device.
按住“Ctrl+B”进入如下菜单。选择“<6> Skip Current System Configuration”跳过当前配置启动,不同设备可能不是数字6,
===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
============================================================================
Ctrl+Z: Access EXTEND-ASSISTANT MENU
Ctrl+F: Format File System
Enter your choice(0-9): 6
Flag Set Success.
然后输入0重启设备
===========================<EXTEND-BOOTWARE MENU>===========================
|<1> Boot System |
|<2> Enter Serial SubMenu |
|<3> Enter Ethernet SubMenu |
|<4> File Control |
|<5> Restore to Factory Default Configuration |
|<6> Skip Current System Configuration |
|<7> BootWare Operation Menu |
|<8> Clear Super Password |
|<9> Storage Device Operation |
|<0> Reboot |
============================================================================
Ctrl+Z: Access EXTEND-ASSISTANT MENU
Ctrl+F: Format File System
Enter your choice(0-9): 0
System is starting...
Press ENTER to get started.
操作步骤:跳过启动文件后直接保存当前配置,再重启。
<H3C>save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):(输入回车)
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Configuration is saved to device successfully.
<H3C>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration may be lost after the reboot, save current configuration? [Y/N]:y
This command will reboot the device. Continue? [Y/N]:y
<H3C>
#Apr 26 12:02:07:166 2000 H3C SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console
%Apr 26 12:02:07:306 2000 H3C SHELL/5/SHELL_LOGIN: Console logged in from aux0.
<H3C>dir %查看设备配置文件
Directory of flash:/
1 drw- - Apr 26 2000 12:00:20 logfile
2 -rw- 1666 Apr 26 2000 12:05:39 startup.cfg
3 -rw- 1556 Apr 26 2000 12:05:33 _startup_bak.cfg
4 -rw- 151 Apr 26 2000 12:05:30 system.xml
29106 KB total (16876 KB free)
给设备和电脑配置成同网段IP地址(举例:WAC配置成192.168.100.1,电脑配置成192.168.100.2),在电脑上通过3CD软件搭建tftp服务器。



可以到本地相关路径(此例子中是E盘)查看到相关文件。
需要恢复之前配置
解决方法:删除密码恢复之前配置文件
使用记事本打开startup.cfg文件

删除aux0口下的认证方式和密码并保存文件

覆盖当前配置文件
<H3C>tftp 192.168.100.20 get startup.cfg
The file startup.cfg exists. Overwrite it? [Y/N]:y
Verifying server file...
Deleting the old file, please wait...
...
File will be transferred in binary mode
Downloading file from remote TFTP server, please wait....
TFTP: 1166 bytes received in 0 second(s)
File downloaded successfully.
<H3C>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration may be lost after the reboot, save current configuration? [Y/N]:n 不保存配置
This command will reboot the device. Continue? [Y/N]:y 确定继续重启
暂无评论
暂无评论
Press Ctrl+B to access EXTENDED-BOOTWARE MENU... 的提示时,迅速按下 Ctrl+B 组合键。h3c 或者直接按回车尝试。)8 选择 Skip Authentication for Console Login(跳过 Console 口登录认证),然后按回车确认。0 选择 Reboot 重启设备。1<H3C> system-view
2[H3C] local-user admin class manage // 进入默认管理用户admin的配置视图(如果用户名不是admin请替换)
3[H3C-luser-manage-admin] password simple 你的新密码 // 设置新的Web登录密码
4[H3C-luser-manage-admin] quit
5[H3C] quit
6<H3C> save force // 务必保存配置,否则重启后失效暂无评论
你这种情况(Web + Console 密码全忘),只能走 BootWare 跳过认证 → 改密码 → 保存配置。下面给你 WX3510H 最稳、可直接照着做的完整步骤(业务会短暂中断,选维护窗口操作)。
一、准备工作
Console 线:USB 转 RJ45,接 AC 的 Console 口和电脑 USB。
终端软件:SecureCRT / PuTTY / Xshell
参数:波特率 9600、数据位 8、停止位 1、无校验、无流控。
电脑设个静态 IP(比如 192.168.1.100),后面改完密码方便登 Web。
二、重启进 BootWare,跳过密码
设备断电→上电,在屏幕刚滚动时,会提示:
plaintext
Press Ctrl+B to access EXTENDED-BOOTWARE MENU...
立刻按 Ctrl+B,进入 BootWare 菜单。
默认 BootWare 密码:空(直接回车);少数版本是 h3capadmin。
看到类似菜单:
plaintext
<1> Boot System
<2> Enter Serial SubMenu
<3> Enter Ethernet SubMenu
<4> File Control
<5> Restore to Factory Default Configuration
<6> Skip Current System Configuration
<7> BootWare Operation Menu
<8> Skip Authentication for Console Login
<0> Reboot
选 8(Skip Authentication for Console Login)→ 回车。
再选 0(Reboot)→ 回车,设备重启。
三、Console 免密登录,改 Web/Console 密码
重启后,Console 口直接进,不需要密码:
bash
运行
# 1. 进系统视图
<H3C> system-view
# 2. 改 Web 登录密码(默认用户名 admin)
[H3C] local-user admin class manage
[H3C-luser-manage-admin] password simple 新密码 # 例如 H3C@123456
[H3C-luser-manage-admin] service-type http https # 确保支持 Web
[H3C-luser-manage-admin] authorization-attribute user-role network-admin
[H3C-luser-manage-admin] quit
# 3. 改 Console 密码(避免下次再忘)
[H3C] line console 0
[H3C-line-console0] authentication-mode password
[H3C-line-console0] set authentication password simple 新密码
[H3C-line-console0] user-role network-admin
[H3C-line-console0] quit
# 4. 保存配置(关键!不然重启又变回旧密码)
[H3C] save force
四、验证 Web 登录
浏览器输入 AC 的管理 IP(默认常见 192.168.0.50,如果改过就用你网段的)。
用户名 admin,密码用刚才设的 新密码,即可登录。
五、极端情况(BootWare 密码也改了且忘)
自己无法处理,只能联系 H3C 售后 / 400,走返厂解密。
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论