zoukankan      html  css  js  c++  java
  • 华为交换机修改console密码

    在BootROM下清除Console口密码登录后,修改Console口密码

    设备的BootROM提供了清除Console口密码的功能,可以在用户使用Console口登录的时候跳过密码检查。这样系统启动后除了不需要输入Console密码外,与正常启动相同,也会完成所有配置加载。设备启动后重新配置验证方式和Console口密码,然后保存配置。

    注意:

    · 要进入到BootROM菜单需要重启设备,会导致业务中断,请视具体情况做好设备备份,并尽量选择业务量较少的时间操作。

    · 清除Console口密码登录后请马上配置新的密码。

    · 在此操作过程中不要对设备进行下电。

    1. 用串口线连接设备,然后重启。当出现“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. 清除Console口登录密码。
    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.

    3. 根据设备的提示,在BootROM主菜单下选择“1”启动设备。

    4. 完成系统启动后,通过Console口登录时不需要认证,登录后配置Console口密码,以修改为密码认证,并修改密码为“huawei@123”为例。
    <HUAWEI> 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

    5. 为了防止重启后配置丢失,保存配置。
    <HUAWEI> 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.

  • 相关阅读:
    登录功能实现
    JavaScript中的apply()方法和call()方法使用介绍
    导致JSON无法解析的问题
    git
    Xcode 与 macOS 系统版本的兼容问题
    创建多个Target
    验证合法身份证
    Xcode 6创建预编译头文件.pch
    About In-App Purchase
    Xcode 6制作通用framework库
  • 原文地址:https://www.cnblogs.com/newbee-yun/p/11525850.html
Copyright © 2011-2022 走看看