Recovering the Password of an AT
An AT device supports only one local user account, which can be a console, Telnet, or SSH account. If the password is lost, enter the Uboot view and recover the default user name and password.
- You must restart the device to enter the Uboot view, which results in service interruption. Back up service configuration and perform this operation in off-peak hours.
- Do not power off the device during the operation.
- 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 to enter the Uboot view.
For details on how to connect a PC to the device with a serial cable, see Logging In to a Device Through the Console Port.
The BootROM password may vary in different software versions. For details, see List of Default User Names and Passwords.
- Run the defaultuser command to recover the default user name and 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>
- Run the reset command to restart the device.
ar7240> reset Resetting...
- After the device restarts, use the default user name and password to log in and set a new user name and password. The following example sets the user name to huawei and password to huawei@123.
<AT815SN> system-view [AT815SN] local-user huawei password cipher New Password(<8-16>/<56>): Confirm Password: [AT815SN] quit
- Run the save command to save the configuration so that the new password will not be lost after a system restart.