专业IT设备第三方维保_IT设备维保服务_IT备件服务_IT基础架构运维_IT设备维修-网度通信

H3C核心交换机密码过期全锁定应急方案:BootROM跳过配置恢复实操

2025-07-02 14:26
分享到:
        H3C核心交换机密码过期全锁定应急方案:BootROM跳过配置恢复实操
        问题描述:
        核心交换机做了堆叠,配置了密码有效期。没有及时改密码,导致console线,ss,telnet都无法进入配置界面。
         
        解决步骤:
        1重新启动交换机 ,在不影响业务的情况下断电,使交换机重启 
        2 在交换机完成自检后,在下面的界面键入<Ctrl+B>,并根据提示输入BootRom菜单登录密码,进入BootRom菜单。
 
        Starting......
 
            ***********************************************************
            *                                                         *
            *        H3C S7506E BOOTROM, Version 509        *
            *                                                         *
            ***********************************************************
            Copyright (c) 2004-2009 Hangzhou H3C Tech. Co., Ltd.
            Creation date   : Jan  9 2009, 10:44:09
            CPU Clock Speed : 533MHz
            BUS Clock Speed : 133MHz
            Memory Size     : 256MB
            Mac Address     : 002389294f70
 
 
        Press Ctrl-B to enter Boot Menu... 1  
        Password:
        缺省情况下,进入BootRom菜单的密码为空.
 
        3        进入BootRom菜单后,请键入“7”,选择“跳过配置文件启动”功能,并在系统提示时输入“y”进行确认。
         BOOT  MENU 
        1. Download application file to flash
        2. Select application file to boot
        3. Display all files in flash
        4. Delete file from flash
        5. Modify bootrom password
        6. Enter bootrom upgrade menu
        7. Skip current configuration file
        8. Set bootrom password recovery
        9. Set switch startup mode
        0. Reboot
 
        Enter your choice(0-9): 7
        The current setting is running configuration file when reboot.
        Are you sure to skip current configuration file when reboot? Yes or No(Y/N) y
        Setting......done! 
 
 
        4        回到BootRom菜单后,输入“0”重新启动交换机。
         BOOT  MENU 
 
        1. Download application file to flash
        2. Select application file to boot
        3. Display all files in flash
        4. Delete file from flash
        5. Modify bootrom password
        6. Enter bootrom upgrade menu
        7. Skip current configuration file
        8. Set bootrom password recovery
        9. Set switch startup mode
        0. Reboot
 
        Enter your choice(0-9): 0
        ^@System rebooting...    
       
        5     再次启动时,交换机会跳过配置文件,即跳过对控制台密码的配置,您可以直接登录交换机。
        ****************************************************************************
        * Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.*
        * Without the owner's prior written consent,                               *
        * no decompiling or reverse-engineering shall be allowed.                  *
        ****************************************************************************
 
        Configuration file is skipped.
        User interface aux0 is available.
 
        Press ENTER to get started.
        <H3C>      
                
        6       进入命令行接口后,您可以使用display startup命令查看启动配置文件,并使用more命令查看该配置文件中的控制台密码配置。
        <H3C> display startup
                  Current startup saved-configuration file:          NULL
          Next startup saved-configuration file:             flash:/startup.cfg 
        <H3C> more startup.cfg
l              如果认证方式是Password方式,请关注配置文件中的以下部分,即配置控制台登录密码的配置命令。
        配置密码为明文方式的显示效果:
        #
        user-interface aux 0
         authentication-mode password
         set authentication password simple test
        配置密码为密文方式的显示效果:
        #
        user-interface aux 0
         authentication-mode password
         set authentication password cipher .]@USE=B,53Q=^Q`MAF4<1!! 
 
 
        建议:
        如果您设置的登录密码为明文,则密码将直接显示在“set authentication password simple”一行中,您可以选择修改登录密码或继续使用原有密码登录;如果您设置的登录密码为密文,则密码将显示为转换后的密文字符,此时建议您修改登录密码。


上一篇:存储设备稳定无忧运行的守护者:网度专业维保服务全解
下一篇:没有了