1. Usage Scenario
Logging in to a switch through the console port is a local management mode that is most commonly used. Generally, a password is configured for logging in to a switch through the console port to ensure security. You can log in to the switch for configuration and management only after entering the correct password.
What What should you do if you forget the console port login password?
2. Solutions
2. Clear the console port login password using the BootROM menu. (Note that this solution requires a system reboot. Therefore, select a proper time to perform this operation.)
3. Configuration Procedure of the First Solution (Using Other Login Modes)
If the password authentication mode is used for console port login, the configuration procedure is as follows:
<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
<HUAWEI>save
If the AAA authentication mode is used for console port login, the configuration the procedure is as follows:
<HUAWEI>system-view
[HUAWEI]user-interface console 0
[HUAWEI-ui-console0]authentication-modeaaa
[HUAWEI-ui-console0]quit
[HUAWEI]aaa
[HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123
[HUAWEI-aaa] local-user admin123 service-type terminal
[HUAWEI-aaa] return
<HUAWEI>save
4. Configuration Procedure of the Second Solution (Using the BootROM Menu)
In V100R006C03 and later versions, the default BootROMpassword is Admin@huawei.com for both fixed and modular switches. However, in versions earlier than V100R006C03, the default BootROMpassword for fixed switches is huawei and that for modular switches is 9300.
@Farah_O @hemin88 @bek7 @MahMush @NTan33 @E.DR_91 @BAZ @Malik3000 @umaryaqub @sohaib.ansar @wissal @andersoncf1 @Sara_Obaid @Kevin_Thomas


