How to delete the login password for the console port through the BootROM of S series switcheses

25

For S series switcheses (except S1700 switches), if you want to delete the console port login password on the BootROM menu

Other related questions:
Delete console port password on s series switch
When you log in to an S series switch (except S1700 switches) through the console port for the first time, the system prompts you to configure a login password. You can use either of the following methods to delete the console port login password: 1. Delete the console port login password on the console user interface. system-view [HUAWEI] user-interface console 0 [HUAWEI-ui-console0] undo authentication-mode Warning: After authentication-mode is deleted, users must configure a new password if users login through the user-interface ui-console0 or configure an authentication mode for current user-interface before next time login. Otherwise, users cannot login. Continue?[Y/N]:y Info: The password was cleared. [HUAWEI-ui-console0] return 2. Delete the console port login password on the BootROM menu. [Note]If a modular switch is used and configured with dual main processing units (MPUs), remove the slave MPU before performing the following operations. After the following operations are complete, install the slave MPU again, and then run the save command to ensure consistent configuration between the two MPUs. On the BootROM menu of the switch, you can clear the console port login password and set a new password after starting the switch. Perform the following operations: a. Connect to the console port of the switch and restart the switch. When the following information is displayed, press Ctrl+B and enter the BootROM password to enter the BootROM main menu: Information displayed on modular switches: Press Ctrl+B to enter boot menu ... 1 Password: //Enter the BootROM password. Information displayed on fixed switches: Press Ctrl+B or Ctrl+E to enter BootROM menu ... 2 password: //Enter the BootROM password. [Note] Some fixed switch models allow you to enter the BootROM main menu by pressing Ctrl+E. Perform operations as prompted. The default BootROM password is as follows: - For fixed S series switches running a version earlier than V100R006C05, the default BootROM password is huawei; for fixed switches running V100R006C05 or a later version, the default BootROM password is Admin@huawei.com. - The default BootROM password for S12700 switches is Admin@huawei.com. For S7700&S9700 series switches running a version earlier than V100R006C00, the default BootROM password is 9300; for S7700&S9700 series switches running V100R006C00 or a later version, the default BootROM password is Admin@huawei.com. b. Select Clear password for console user on the BootROM main menu to clear the password for console port login. c. Select Boot with default mode on the BootROM main menu to start the switch. d. After the switch is started, log in through the console port (authentication is not required), and set a password as prompted after login. e. After you log in to the switch, you can set an authentication mode and password for the console user interface if required.

On S series switches, if I forget the changed BootROM password, can I delete the login password for the console port using other methods
For S series switches, if you forget the BootROM password, log in to the device to delete the console port login password using other methods.
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
If you have no accounts for login in other modes, you cannot delete the configured console port login password. In this case, return the device to Huawei. For details, consult the Huawei local office or distributor.

Check whether the AR routers Console login has a default password.
The AR routers Console password for logging in to the default support status: -all models AR equipment in V200R005C20 and previous versions have no default password. -all models AR equipment after V200R005C20 version has a default password, the default user name is admin, by default, the password is:Admin@huawei.

How to configure or change the password for console port login on an AR
You can use either of the following methods to configure or change the password for console port login on an AR: Method 1: Log in to the AR using Telnet or other remote login modes, and configure and change the console port login password. The following is an example (using Telnet): If you have a Telnet account and administrator rights, log in to the AR using Telnet, change the console port login password, and save the configuration. 1. Log in to the AR using a Telnet account. 2. Change the console port login password. The following example changes the authentication mode to password authentication and the password to huawei@123. [Huawei] user-interface console 0 [Huawei-ui-console0] authentication-mode password [Huawei-ui-console0] set authentication password cipher huawei@123 //Enter the password in interactive mode (V200R005C00 and later versions). [Huawei-ui-console0] return The following example changes the authentication mode to AAA authentication, user name to admin123, and password to Huawei@123. [Huawei] user-interface console 0 [Huawei-ui-console0] authentication-mode aaa [Huawei-ui-console0] quit [Huawei] aaa [Huawei-aaa] local-user admin123 password irreversible-cipher Huawei@123 [Huawei-aaa] local-user admin123 privilege level 15 [Huawei-aaa] local-user admin123 service-type terminal [Huawei-aaa] return 3. Run the save command to save the configuration to prevent configuration loss after a restart. Method 2: Clear the console port login password on the BootROM menu and change the password. You can clear the password for console port login on the BootROM menu. The system can skip password check when you log in to it through the console port. After the AR restarts, change the console port login password and save the configuration. // After the password is cleared, no password is required for the first login through the serial port. If you do not promptly change the password, you cannot re-login through the serial port after logout. 1. Connect a serial cable to the AR and restart it. When the message "Press Ctrl+B to break auto startup ..." is displayed, press Ctrl+B and enter the default password ("huawei" for V200R003C01 and earlier versions, and "Admin@huawei" for V200R005C00 and later versions) to enter the BootROM main menu. 2. Choose Password Manager > Clear the console login password > Return > Default Startup on the BootROM main menu. On the page that is displayed, clear the console port login password. Note: When you log in through the console port after the system is started, you will encounter three conditions depending on the device model. Perform the following operations as required: a. If the system prompts you to enter the password when you log in, set a password. b. If the AR is running V200R005C30 or a later version, enter the default user name (admin) and password (Admin@huawei). c. If no authentication is required when you log in, configure the console port password after the login.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top