华为S5700忘记console密码

1、进入BootROM主菜单

用串口线连接设备,然后重启。

当出现Press Ctrl+B to enter BootROM menu…(V200R002及V200R003版本)或者Press Ctrl+B or Ctrl+E to enter BootROM menu …(V200R005及以后发布的版本)打印信息时
按下Ctrl+B或者Ctrl+E并键入密码(缺省为Admin@huawei.com,V100R006C03之前版本可能为huawei),进入BootROM主菜单。

2、清除密码

BootROM MENU

  1. Boot with default mode
  2. Enter serial submenu
  3. Enter startup submenu
  4. Enter ethernet submenu
  5. Enter filesystem submenu
  6. Modify BootROM password //V200R006及之前版本:Modify BootROM password V200R007及之后版本:Enter password submenu
  7. Clear password for console user
  8. Reboot

(Press Ctrl+E to enter diag menu)
Enter your choice(1-8): 7
Note: Clear password for console user? Yes or No(Y/N): y
Clear password for console user successfully. Choose “1” to boot, then set a new password.
Note: Do not choose “8. Reboot” or power off the device, otherwise this operation will not take effect.

然后根据设备的提示,在BootROM主菜单下选择 1 启动设备。

3、设置登录密码(可选)

完成系统启动后,通过Console口登录时不需要认证,登录后配置Console口密码,修改密码为huawei@123为例。

system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher huawei@123
[HUAWEI-ui-console0] return

为了防止重启后配置丢失,保存配置。

save
The current configuration will be written to the device.
Are you sure to continue?[Y/N]y
Now saving the current configuration to the slot 0.
Save the configuration successfully.

4、取消登录密码(可选)

完成系统启动后,有的设备会默认要求设置登录密码,在有些地方没有设置密码的需要,忘记密码反而带来了很多不方便。

system-view
[HUAWEI] user-interface console 0
[HUAWEI-ui-console0] authentication-mode none
[HUAWEI-ui-console0] quit

设置完成后必要忘了保存配置。

文章来源:https://www.cnaaa.net,转载请注明出处:https://www.cnaaa.net/archives/8155

(0)
郭靖的头像郭靖
上一篇 2023年5月9日 下午3:53
下一篇 2023年5月10日 下午4:02

相关推荐

  • GPG入门教程

    一、什么是GPG GPG有许多用途,本文主要介绍文件加密。至于邮件的加密,不同的邮件客户端有不同的设置,请参考Ubuntu网站的介绍。 本文的使用环境为Linux命令行。 二、安装 GPG有两种安装方式。可以下载源码,自己编译安装。   ./configure  make  make install 也可以安装编译好的二进制包。   # Debian / U…

    2023年6月15日
    83800
  • Cisco交换机与路由器命令

    1.查看信息show version 查看版本及引导信息show running-config 查看运行设置show startup-config 查看开机设置show interface g0/1 显示端口信息show ip router 显示路由信息show clock 查看系统时钟show log 查看日志show interface counters…

    2023年12月12日
    80300
  • nginx的反向代理

    代理原理 代理配置 启用 nginx proxy 代理 环境两台nginx真实服务器 a、nginx-1 启动网站(内容) b、nginx-2 启动代理程序 c、nginx proxy 具体配置详解 注意:proxy_pass http:// 填写nginx-1服务器的地址。 d、 使用PC客户端访问nginx-2服务器地址 浏览器中输入http://192…

    2023年3月22日
    89800
  • Docker神器NPM的安装

    准备工作 目录管理 配置yml文件 创建新文件docker-compose.yml并添加内容如下: 你可以使用默认端口或者自定义。 一般地,对于VPS来说,80和443端口应该使用默认的。可以使用80和443端口也是玩VPS的优势之一呀!想想你每次访问互联网服务都要加个端口号,看着就很难受。你的家用NAS一般是你或者你的家人等少数人用,有一些端口号也无伤大雅…

    2023年4月26日
    1.4K00
  • Centos7.6下SSH服务默认端口修改

    一般服务端的ssh端口默认是22,我们可以通过修改服务端的ssh配置文件,来修改ssh访问服务端的端口号 1、连接linux服务器 2、用编辑器(Vim,Emacs,Nano…)打开服务器上的/etc/ssh/sshd_config文件 vi /etc/ssh/sshd_config 2、修改对应位置的端口为你想要端口,修改完成后先按ESC键,再按shift…

    2022年6月8日
    1.1K00

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

在线咨询: QQ交谈

邮件:712342017@qq.com

工作时间:周一至周五,8:30-17:30,节假日休息

关注微信