Got it

Clear console password for FAT AP

Created: Apr 26, 2020 08:44:15Latest reply: Apr 26, 2020 08:57:16 565 2 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello all,

We have an AP6010 work in FAT mode. Can we clear the password of the console port  in the BootROM menu as we do on the routers? Thanks.

Featured Answers
Popeye_Wang
Admin Created Apr 26, 2020 08:48:36

Hello,

For Fat AP and cloud AP, you can clear the Console port password in the Uboot view and change the console password. The process is as follows.

1. Use a serial cable to connect a PC to the device and restart the device. When the message "Press f or F to stop Auto-Boot" is displayed, press F and enter the password (admin@huawei.com by default) to enter the Uboot view.

2. Run the defaultuser command to clear the console port password.

ar7240> defaultuser Start setting whether to Change Password.....  

Current Bootup Change PW is N   

Do you Want To Change The Default password, Y or N : Y

ar7240>

3. Run the reset command to restart the device.

ar7240> reset Resetting...

4. Log in to the system through the console port without entering the password. Change the console password. The following example changes the authentication mode to password authentication and 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 cipher Enter Password(<6-16>):    //The actual display may be different.  

Confirm Password:  

[Huawei-ui-console0] return

5. Run the save command to save the configuration so that the new password will not be lost after a system restart.

I hope this helps.

View more
  • x
  • convention:

All Answers

Hello,

For Fat AP and cloud AP, you can clear the Console port password in the Uboot view and change the console password. The process is as follows.

1. Use a serial cable to connect a PC to the device and restart the device. When the message "Press f or F to stop Auto-Boot" is displayed, press F and enter the password (admin@huawei.com by default) to enter the Uboot view.

2. Run the defaultuser command to clear the console port password.

ar7240> defaultuser Start setting whether to Change Password.....  

Current Bootup Change PW is N   

Do you Want To Change The Default password, Y or N : Y

ar7240>

3. Run the reset command to restart the device.

ar7240> reset Resetting...

4. Log in to the system through the console port without entering the password. Change the console password. The following example changes the authentication mode to password authentication and 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 cipher Enter Password(<6-16>):    //The actual display may be different.  

Confirm Password:  

[Huawei-ui-console0] return

5. Run the save command to save the configuration so that the new password will not be lost after a system restart.

I hope this helps.

View more
  • x
  • convention:

Recovering the Console Port Password


Three methods are provided to recover the console port password.
  • Method 1: Log in to the device using Telnet and change the console port password.

  • Method 2: Clear the console login password in BootROM and change the console port password.Method 3: Rename the current startup configuration file in BootROM, restart the device with no configuration, and change the console port password.

1. Logging In to the Device Using Telnet and Modifying the Console Port Password

If you have a Telnet account and your user right is level 3 or higher, log in to the device using Telnet, change the console port password, and save the configuration.

  1. Log in to the device using Telnet. Ensure that your user right is level 3 or higher.

    Run the display users command to display all the users that have logged into the device. The item with a "+" mark indicates your user account on user interface VTY1.

    Run the display user-interface command to display the user right of all users. VTY1 has a corresponding user right 15; therefore, you have the right to change the console port password.

2.Change the console port password. In this example, you set the authentication mode to password authentication and the password to huawei@123.

3. Save the configuration to prevent configuration loss after a restart.


Clearing the Console Login Password in BootROM and Changing the Console Port Password

The BootROM allows you to clear the console port password so that the device does not check the password when you log in through the console port. When the device starts, you do not need to enter the console port password and all configurations are loaded as normally. After the device starts, change the console port password and save the configuration.

  1.  Connect a PC to the device with a serial cable and restart the device. When the message "Press Ctrl+B to break auto startup ..." is displayed, press Ctrl+B and enter the password (huawei by default) to display the BootROM main menu.

  2. Clear console login password.

  3. Log in to the device through the console port. Authentication is not required when you log in. Change the console port password. In this example, you set the authentication mode to password authentication and the password to huawei@123.

  4. Save the configuration.

Renaming the Current Startup Configuration File in BootROM, Starting the Device with No Configuration, and Changing the Console Port Password

Rename the current startup configuration file in BootROM and restart the device with an empty configuration file. Export the configuration file to the PC, change the console port password, and replace the configuration file on the device with the new configuration file.

Note:

  • You must restart the device to display the BootROM menu, which results in service interruption. Migrate services to a backup device and perform this operation at leisure time.

  • Do not power off the device during the operation.

1. Connect a PC to the device with a serial cable and restart the device. When the message "Press Ctrl+B to break auto startup ..." is displayed, press Ctrl+B and enter the password to display the BootROM main menu.

2. Rename the current startup configuration file.

3. After the device starts, it restores the default factory settings and prompts you to set the console port password. In this example, you set the password to huawei@123.

4. Configure the device as an FTP server. Create an FTP path that is the same as the path where the renamed configuration file is saved.

5. Download the renamed configuration file to the PC.

6. Decompress the file on the PC and use the text editor to open the file. (The built-in text editor of the system is recommended.) Delete the configuration about console port authentication and compress the file to a .zip file.

7. Upload the configuration file to the device and overwrite the original configuration file.

8. Specify the new configuration file for next startup. Restart the device without saving the configurations.

9. Set the console port password as prompted. For example, set the password to huawei@123.

10. Save the configuration to prevent configuration loss after the next restart.


https://support.huawei.com/enterprise/en/doc/EDOC1000079719/5303df4e/recovering-the-console-port-password










View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.