问题描述:我的 S5560 交换机 console 密码忘记了,如何在保留业务配置的前提下重置密码 说明:S5560 为 Comware V7 平台,该操作需要重启交换机,业务会短暂中断,建议业务低峰操作;原始业务配置文件不会被删除H3C。
Press Ctrl+B to access EXTENDED‑BOOTWARE MENU...提示时,立刻按下 Ctrl+B,进入 BootWare 扩展菜单;BootWare 默认密码一般为空直接回车,部分旧版本密码
000000/888888。
====================<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
=============================================================
Skip Current System Configuration(跳过当前系统配置),提示Flag Set Success;⚠️注意:如果 BootWare 提示
Password recovery capability is disabled(密码恢复功能被关闭),则无法跳过配置,只能恢复出厂,配置会全部丢失H3C知识...。
<H3C> system‑view
#加载flash中原有业务配置,n表示不保存当前空配置
[H3C] configuration replace file flash:/startup.cfg
Current configuration will be lost, save current configuration? [Y/N]:n
Info: Succeeded in replacing current configuration with the file startup.cfg.
[H3C] line console 0
[H3C‑line‑console0] authentication‑mode password
#设置新密码,simple后面填写你需要的密码
[H3C‑line‑console0] set authentication password simple Admin@123456
[H3C‑line‑console0] quit
[H3C] aaa
[H3C‑aaa] local‑user admin class manage
[H3C‑luser‑manage‑admin] password simple Admin@123456
[H3C‑luser‑manage‑admin] authorization‑attribute user‑role network‑admin
[H3C‑luser‑manage‑admin] service‑type terminal ssh
[H3C‑luser‑manage‑admin] quit
[H3C‑aaa] quit
[H3C] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
回车使用默认文件名flash:/startup.cfg
Skip Authentication for Console Login,该选项为仅跳过 Console 密码校验,直接加载完整业务配置,优先用这个选项可以免去configuration replace file加载配置步骤;不是所有 S5560 版本都有该选项,没有则用上面选 6 的方案H3C。Restore to Factory Default Configuration,会直接删除全部业务配置文件。password‑control密码强管控功能,密码会密文保存,不影响修改流程。
小结:
- 有选项 8:选 8 重启,直接进系统改密码,无需加载配置;
- 无选项 8:选 6 跳过配置启动 →
configuration replace file恢复业务配置 → 修改密码 → save 保存。
暂无评论
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论