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

Configuration Guide - Basic Configuration

S9300, S9300E, and S9300X V200R011C10

This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
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).
What If I Forget the Password for Console Port Login?

What If I Forget the Password for Console Port Login?

When you forget the password for logging in through the console port, use either of the following two methods to set a new password.

Logging In to the Device Through STelnet/Telnet to Set a New Password

It is recommended that you use STelnet V2 to log in to the device.

Ensure that you have an STelnet/Telnet account and administrator rights. The following uses the command lines and outputs of logging in to the device using STelnet as an example. After logging in to the device through STelnet, perform the following operations.

# Take password authentication as an example. Set the password to Huawei@123.

<Quidway> system-view
[Quidway] user-interface console 0
[Quidway-ui-console0] authentication-mode password
[Quidway-ui-console0] set authentication password cipher Huawei@123
[Quidway-ui-console0] return
<Quidway> save

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

<Quidway> system-view
[Quidway] user-interface console 0
[Quidway-ui-console0] authentication-mode aaa
[Quidway-ui-console0] quit
[Quidway] aaa
[Quidway-aaa] local-user admin123 password irreversible-cipher Huawei@123
[Quidway-aaa] local-user admin123 privilege level 15
[Quidway-aaa] local-user admin123 service-type terminal
[Quidway-aaa] return
<Quidway> save

Clearing the Lost Password Using the BootROM/BootLoad Menu

You can use the BootROM/BootLoad menu of the device to clear the lost password for console port login. After starting the switch, set a new password and save your configuration. Perform the following steps:

  1. Connect the terminal to the console port of the device and restart the device. When the following message is displayed, press Ctrl+B and enter the BootROM/BootLoad password to enter the BootROM/BootLoad menu.

    Press Ctrl+B to enter boot menu ...  1 
    
    Password:       //Enter the BootROM/BootLoad password.
  2. Select Clear password for console user on the BootROM/BootLoad menu to clear the password for console port login.
  3. Select Boot with default mode on the BootROM/BootLoad menu to start the device as prompted.
  4. After the device is started, log in through the console port. Authentication is not required when you log in. Set a password as prompted after login.
  5. You can set an authentication mode and password for the console user interface according to service requirements. The configuration is similar to that of Logging In to the Device Through STelnet/Telnet to Set a New Password, and is not provided here.
Translation
Download
Updated: 2019-04-17

Document ID: EDOC1000178413

Views: 68611

Downloads: 109

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