< Home

Clear password for console user

Context

If you forget the password for logging in to the device using telnet or serial port, you cannot log in to the device. To address this issue, the BootLoad menu provides a submenu for deleting the password for logging in using the serial port.

Only S5731-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, S5735S-S, S6730S-H, and S6730-H support this function.

If multiple devices establish a stack and the console port password is unknown, you can log in to the stack system only after deleting the console port login password from the master switch. You are advised to start each member device and delete the console port login password on each device in sequence.

Procedure

  • In the BootLoad main menu, select 6.

            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):6
    
    Note: Clear password for console user? Yes or No(Y/N): y    
    Clear password for console user successfully. 
    Note: Choose "1. Boot with default mode" to boot, then set a new password.
    
    Note: If the device is restarted during startup, you need to perform this operation again.

    After the password is deleted, start the device using option 1 in the BootLoad menu. Do not select 7 or power off the device; otherwise, the configuration becomes invalid.

    Selecting the option to clear the console port login password actually sets the authentication mode for console port login users to non-authentication. After the device restarts, you can directly log in to the device without entering the user name and password. To ensure the console port usage security, it is recommended that you change the authentication mode for console port login users to AAA authentication after logging in to the device.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >