S5735S-L24T4S-A1(智选 / CloudEngine)

一、准备工作(COM/Console 连接)

  1. RJ45 Console 线(或 USB 转 Console)

    • 一端插交换机 Console 口

    • 另一端插电脑串口 / USB

  2. 电脑设备管理器 → 端口(COM 和 LPT),记下 COM 号(如 COM3)。

  3. 打开终端软件(SecureCRT / PuTTY / Xshell):

    • 协议:Serial

    • 端口:选刚才的 COM

    • 波特率:9600

    • 数据位:8,停止位:1,校验:无,流控全部关闭

    • 连接


二、进入 BootROM 清除密码(关键步骤)

  1. 交换机断电 → 重新上电

  2. 上电瞬间盯着串口窗口,出现类似提示:

    Press Ctrl+B to enter BootROM menu...
    May 29 2021, 17:55:34
    Last reset type: Watchdog
    Press Ctrl+B or Ctrl+E to enter BootLoad menu: 1 
    Password:(这是 BootLoad(BootROM)密码,不是 console 密码。)
    
    
    出现故障:
    he password is wrong.
    Password: 
    
    The password is wrong.
    Password: 
    
    The password is wrong.
    The password is wrong, system will reboot...
    starting pid 778, tty '': '/etc/rc.d/rc.shutdowUnmounting all filesystems:
    

    立刻连续按 Ctrl+B(只有 3 秒左右窗口期,错过就断电重来)。

lease Press ENTER.

An initial password is required for the first login via the console.
Set a password and keep it safe. Otherwise you will not be able to login via the console.

Please configure the login password (8-16)
Enter Password:
Error: The password is invalid.

(现在是恢复出厂后,第一次进 Console,系统强制让你设初始密码,但你输的密码不符合复杂度规则,所以一直报错:)



User interface con0 is available



Please Press ENTER.

An initial password is required for the first login via the console.
Set a password and keep it safe. Otherwise you will not be able to login via the console.

Please configure t


一、必须遵守的密码规则(8–16 位)华为
必须同时满足:
长度 8–16 字符
至少包含 2 种字符类型:
大写字母(A–Z)
小写字母(a–z)
数字(0–9)
特殊符号:! @ # $ % ^ & * _ - + = 等(不能有空格、?)华为
❌ 错误示例:
123456(纯数字、太短)
admin(太短、只有小写)
Admin123(只有大写 + 数字,两种其实可以,但有时新版强制三种)
Admin@123 ✅(大写 + 小写 + 数字 + 符号,最稳)

Warning: The authentication mode was changed to password authentication and the user level was changed to 15 on con0 at the first user login.
Warning: There is a risk on the user-interface which you login through. Please change the configuration of the user-interface as soon as possible. 

Info: Smart-upgrade is currently disabled. Enable Smart-upgrade to get recommended version information.
<FutureMatrix>
现在已经正常登录设备了,这两条告警是首次配置密码后的常规提示,不用紧张,下面一步步处理:
1. 告警说明
第一条:Console 口自动改成密码认证、用户权限设为最高 15 级,属于出厂默认行为,正常。
第二条:智能升级功能未开启,忽略即可,不影响使用。

  1. 提示输入密码:

    Enter password:

    输入 BootROM 默认密码

    Admin@huawei.com
    

    (A 大写,不要输错)

  2. 进入 BootROM 菜单:

    New password: 
    Verify: 
    
    Modify password ok.
            BootLoad Menu 
    
         1. Boot with default mode
         2. Enter startup submenu
         3. Enter ethernet submenu
         4. Enter filesystem submenu
         5. Enter password submenu
         6. Clear password for console user
         7. Reboot
        (Press Ctrl+E to enter diag menu)
    
    Enter your choice(1-7):
    
  3. 输入 6 → 回车:

    Enter your choice(1-7):6
    
    Please configure the login password (8-16)
    Enter Password:
    Confirm Password:
    Warning: The authentication mode was changed to password authentication and the user level was changed to 15 on con0 at the first user login.
    Warning: There is a risk on the user-interface which you login through. Please change the configuration of the user-interface as soon as possible. 
    
    Info: Smart-upgrade is currently disabled. Enable Smart-upgrade to get recommended version information.
    <FutureMatrix>

    输入 Y → 回车,提示清除成功。

  4. 输入 1 → 回车:Boot with default mode,交换机正常启动。


三、开机后重新设置 Console 密码

启动完直接进入用户视图(不需要密码):

<HUAWEI>

设置新密码(示例密码 Admin@123,建议复杂度高一点):

<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher Admin@123
[HUAWEI-ui-console0] quit
[HUAWEI] save

保存后重启就用新密码登录。


常见问题

  • 按 Ctrl+B 没反应

    • 波特率必须 9600、流控全关

    • 上电后立刻按,不要等看到完整日志

    • 线是好的、COM 号选对

  • BootROM 密码也被改了

    • 只能联系华为售后,提供设备 SN 做解锁。



方案一:恢复出厂(清空所有配置,可正常使用,推荐现场应急

该机型 BootLoad 密码被修改,无法单独清 Console 密码,只能整机恢复出厂,配置会全部丢失。

  1. 设备重启过程中,再次抓紧时机按 Ctrl+B/Ctrl+E 进入 BootLoad 菜单

  2. 若还是要求输密码、进不去菜单:

    持续断电上电反复尝试,依旧无法绕过密码,直接走长按复位键物理恢复出厂:

    • 找到交换机面板上 RESET 复位小孔

    • 交换机正常通电运行状态下,用针 / 牙签按住复位键 10~15 秒

    • 看到面板所有指示灯同时闪烁后松开,设备自动恢复出厂并重启

  3. 重启完成后,设备恢复出厂状态:

    • Console 登录无需密码

    • 管理 IP 恢复默认(华为智选 S5737 默认通常为 192.168.1.253

恢复出厂后重新配置 Console 密码(必做)

<HUAWEI> system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher 你的新密码
[HUAWEI-ui-console0] quit
[HUAWEI] save


查看交换机配置:

直接在当前视图执行对应命令,按需查看即可:

1. 查看当前运行配置(最常用,实时生效配置)

cli

display current-configuration

2. 查看保存的出厂 / 启动配置(设备重启后加载的配置)

cli

display saved-configuration

3. 常用分项查看(按需选用)

  • 查看设备版本、型号、SN:

cli

display version
  • 查看接口状态、端口 UP/DOWN:

cli

display interface brief
  • 查看 VLAN 信息:

cli

display vlan
  • 查看 IP 地址、VLANIF 配置:

cli

display ip interface brief
  • 查看 Console、VTY 登录相关配置:

cli

display user-interface

小提示:输出内容多可按 空格 翻页,Ctrl+C 终止查看。