试试
system-view
local-user admin class manage
password simple 新密码
service-type http https terminal ssh
authorization-attribute user-role network-admin
quit
save forcesystem-view
local-user 用户名 unlock
quit⚠️ 密码复杂度需满足设备策略(长度、大小写、数字、特殊字符等)。
Press Ctrl+B to enter BootWare menu... 提示时立刻按 Ctrl+B(不是 Ctrl+3,很多人在这里踩坑)。8. Skip Authentication for Console Login 选项:BootWare Operation Menu
0. Boot System
...
6. Skip Current System Configuration
8. Skip Authentication for Console Login
9. Rebootsystem-view
# 重置 admin 密码
local-user admin class manage
password simple 新密码
service-type http https terminal ssh
authorization-attribute user-role network-admin
quit
# 清掉 Console 口的认证(可选)
user-interface console 0
authentication-mode none
quit
save force6. Skip Current System Configuration:Flag Set Success
system-view
local-user admin class manage
password simple 新密码
service-type http https terminal ssh
authorization-attribute user-role network-admin
quit
save forcestartup.cfg 导出到电脑:# 在 BootWare 菜单按 Ctrl+Y 进入 TFTP 上传/下载子菜单
# 上传 startup.cfg 到 TFTP 服务器startup.cfg,找到 local-user admin 段落,把密码行改成:password simple 新密码5. Restore to Factory Default Configuration → 确认 → Reboot⚠️ 恢复出厂会清空所有业务配置,生产环境慎用。操作前如果配置还能通过 TFTP 导出,务必先备份。
H3C SecPath F1005 忘记登录密码重置流程
说明:F1005 是 Comware V7 平台横向防火墙,机身没有硬件复位小孔,不能长按按钮恢复出厂;需要 Console 串口操作进入 BootWare 菜单处理。
BootWare 默认密码:Admin@h3c;若被修改,需要联系 400 凭设备 SN 解密。
终端串口参数:9600‑8‑N‑1,无流控。
前置条件
PC 接防火墙 Console 口;断电重启防火墙,看到提示Press Ctrl+B to access EXTENDED‑BOOTWARE MENU...,立刻按Ctrl+B进入扩展 BootWare 菜单。
菜单开头会打印一行关键提示:Password recovery capability is enabled/disabled(密码恢复功能开启 / 关闭),两种情况操作不一样。
场景一:Password‑recovery‑capability enabled(默认出厂状态,优先,可保留全部业务配置)
BootWare 菜单选择选项 【8】Skip Authentication for Console Login(跳过 Console 认证,一次性生效)。
选【0】Reboot 重启设备。
防火墙启动完成,Console 直接进入用户视图,原有 startup.cfg 业务配置完整保留,不会丢失。
修改本地管理员账号密码:
plaintext
system‑view
#修改admin账号密码
local‑user admin class manage
password simple Admin@123456
service‑type terminal http https ssh telnet
authorization‑attribute user‑role network‑admin
quit
save force
⚠️必须save force保存;本次跳过认证仅本次重启生效,不保存配置下次依旧需要密码。
改完密码后 Web/SSH/Telnet 就可以使用新密码登录。
场景二:Password‑recovery‑capability disabled(管理员关闭密码恢复能力)
该安全模式下:不能只跳过密码,只能清除整机启动配置文件,所有业务配置全部丢失,恢复出厂状态。
BootWare 菜单选择【5】Restore to Factory Default Configuration 恢复出厂配置。确认删除 startup.cfg。
Reboot 重启。
重启后设备回到出厂状态,Console 登录需要手动新建管理员账号。
plaintext
system‑view
local‑user admin class manage
password simple Admin@123456
service‑type terminal http https ssh telnet
authorization‑attribute user‑role network‑admin
quit
save force
重要踩坑点
F1005 没有 RESET 硬件按键,牙签捅设备无法复位密码。
BootWare 密码如果也被修改,必须联系 H3C‑400‑810‑0504,提供设备 SN 序列号获取临时解密密码。
Skip Authentication for Console Login是一次性操作,只对本次重启生效;修改密码后一定要 save force 保存,否则下次重启依旧需要旧密码。
若后续想重新打开密码恢复能力,正常登录设备后执行:
plaintext
system‑view
password‑recovery enable
save force
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论