No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Common Operation Guide

CloudEngine 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Recovering the Console Port Login Password

Recovering the Console Port Login Password

There is no default password for console port login. When you log in to the switch through the console port for the first time, the system prompts you to configure a login password.

If you forget the password for logging in through the console port, use either of the following two methods to set a new password. Method 1 is recommended. Use method 2 if you forget the STelnet/Telnet login password.

Method 1: Logging In to the Switch Through STelnet/Telnet to Set a New Password

NOTE:

Telnet has security vulnerabilities. You are advised to log in to the switch using STelnet V2.

Ensure that you have an STelnet/Telnet account and administrator (level 3 or higher) rights. After logging in to the switch through STelnet/Telnet, perform the following operations.

# Take password authentication as an example. Set the password to Huawei@123.
<HUAWEI> system-view
[~HUAWEI] user-interface console 0
[~HUAWEI-ui-console0] authentication-mode password
[*HUAWEI-ui-console0] set authentication password
Please configure the login password (8-16)
Enter Password:   //Enter the password Huawei@123.
Confirm Password:   //Enter the password Huawei@123 again.
[*HUAWEI-ui-console0] user privilege level 15
[*HUAWEI-ui-console0] commit
[~HUAWEI-ui-console0] return
<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]:y

# Take AAA authentication as an example. Set the user name and password to admin123 and Huawei@123, respectively.

<HUAWEI> system-view
[~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 service-type terminal
[*HUAWEI-aaa] local-user admin123 level 15
[*HUAWEI-aaa] commit
[~HUAWEI-aaa] return
<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]: y

After the password is configured, you can enter the new password for authentication when logging in to the switch through the console port.

Method 2: Setting a New Console Port Login Password Through the BIOS Menu

You can use the switch's BIOS menu to change the console port login password and save the configuration after starting the switch. Perform the following operations.

NOTICE:
  • You must restart the switch to enter the BIOS menu. You can power off and then power on the switch to restart the switch. Restarting the switch interrupts services. Back up services and perform this operation in off-peak hours. Do not power off the switch when the switch restarts.

  • If the switch has two MPUs, remove the standby MPU before performing the following operations. After performing the following operations, install the standby MPU and run the save command to ensure that the configurations on the active and standby MPUs are the same.

  • After performing the following operations to restart the switch, you can log in to the switch through the console port without entering the password only this time. The original console port login password is still saved in the configuration file. After logging in to the switch, configure a new console port login password immediately; otherwise, you still need to enter the original password when logging in to the switch through the console port the next time.

  1. Connect the PC to the console port of the switch and restart the switch. When the following information is displayed, press Ctrl+B within three seconds and enter the BIOS password to enter the BIOS menu.

    Press CTRL+B to enter BIOS menu or CTRL+E to boot DFX:  1
    
    Password:   //Enter the BIOS password. The default BIOS password is Admin@huawei.com.
  2. Select Modify console password in the BIOS menu as prompted. When the following information is displayed, enter y. The switch will restart.
    Caution: A new console password must be set after the restart.
    Continue now? Yes(y) or No(n): y
  3. After the switch starts, you can log in to the switch through the console port without entering the password only this time. After logging in to the switch, configure a new console port login password immediately. You can set an authentication mode and password for the console user interface according to service requirements. The configuration is similar to that of Method 1: Logging In to the Switch Through STelnet/Telnet to Set a New Password, and is not provided here.
Translation
Download
Updated: 2018-10-08

Document ID: EDOC1000102369

Views: 139506

Downloads: 3153

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next