How to Recover Login Passwords of WLAN ACs and APs | What Are Their Default User Names and Passwords?
- Introduction
- Prerequisites
- Default User Names and Passwords for WLAN ACs and APs
- Recovering the Console Password
- Logging In to a Device Using Telnet or STelnet and Changing the Console Password
- Clearing the Console Password in the BIOS Menu and Changing the Console Password
- Changing the Password of a Fit AP on an AC
- Changing the Password of a Fit AP in the Uboot View
- Clearing the Console Port Password in the Uboot View and Changing the Console Password
- Recovering the Password for Bluetooth Serial Port Login After Skipping the Startup Based on the Bluetooth Serial Port Password
- Recovering the Password of an AT
- Recovering a Telnet Password
- Recovering the BootROM Password
- Related Information: How to Log In to a WLAN AC or AP
Introduction
This document describes the default user names and passwords of WLAN devices and provides the detailed password recovery method for different passwords. If you forget the login password, refer to this document to recover your password.
Prerequisites
You need to know how to log in to a device through the console port.
Logging In to a Device Through the Console Port
- Prepare a console cable.
- Install the terminal emulation software on your PC.
You can use the terminal emulation software of the operating system on the PC. If the operating system does not provide terminal emulation software, install third-party terminal emulation software according to user guide or online help of the software.
- Use a console cable to connect your PC to the console port of the device. Connect the DB9 female connector of the console cable to the 9-pin serial port on the PC, and connect the RJ45 connector to the console port on the device.
- Start the terminal emulation software on the PC, create a connection, select a serial port, and set communication parameters.
The parameter settings are as follows:
- Bits per second: 9600
- Data bits: 8
- Parity: None
- Stop bits: 1
- Flow control: None
Table 1-1 lists the default settings of a console port.
- Press Enter, and then type the password or both the user name and password as prompted.
Connecting to an AP Through the Bluetooth Serial Port
- In the Bluetooth coverage of an AP, enable Bluetooth on the user's terminal and start the CloudCampus app.
- Choose Tool > Manufacturer Customization and enable Bluetooth Serial Port.
- Find the target AP based on the MAC address and touch Connect.
- In the dialog box that is displayed, enter the pairing code 123456 and touch OK.
When the message "Successful connection" is displayed, touch Enter. The AP login page is displayed.
The pairing code is needed only for mobile terminals running Android 9.0 and later versions. For mobile terminals running versions earlier than Android 9.0, the pairing code is not required because they will automatically connect to the AP after you touch Connect.
- Enter the user name and password as prompted to log in to the user view.
If the login dialog box is not displayed after you touch Enter, touch any key on the terminal keyboard to activate the screen.
Default User Names and Passwords for WLAN ACs and APs
The default username and password are available in WLAN Default Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained the access permission of the document, see Help on the website to find out how to obtain it.
After logging in to the device using the default user name and password, change the password and keep it carefully.
If you forget all passwords and the device has a Default button, hold down the button more than 3s to recover the device configuration. The user name and password of the device are then reset to the default values; if the device has no Default button, please contact technical support personnel.
Recovering the Console Password
The following table provides the methods that you can use to recover the console password.
No. |
Method |
Applicable Product |
Applicable Version |
---|---|---|---|
1 |
Logging In to a Device Using Telnet or STelnet and Changing the Console Password |
AC, Fat AP, and cloud AP |
AC: V200R001C00 and later versions Fat AP: V200R003C00 and later versions Cloud AP: V200R007C10 and later versions |
2 |
Clearing the Console Password in the BIOS Menu and Changing the Console Password |
AC |
V200R003C00 and later versions |
3 |
Fit AP |
All versions |
|
4 |
Fit AP |
V200R003C00 and later versions |
|
5 |
Clearing the Console Port Password in the Uboot View and Changing the Console Password |
Fat AP and cloud AP |
Fat AP: V200R003C00-V200R019C00 Cloud AP: V200R007C10-V200R019C00 |
6 |
Fat AP, Fit AP, and cloud AP |
V200R019C10 and later versions |
|
7 |
AT |
V200R005C10 and later versions |
- For an AC, method 1 is preferred. Use method 2 if you forget the Telnet or STelnet password.
- For a Fit AP, use method 3 if the AP has successfully connected to an AC and use method 4 or 6 if the AP has not connected to an AC.
- For a Fat AP or a cloud AP, method 1 is preferred. Use method 5 or 6 if you forget the Telnet or STelnet password.
Logging In to a Device Using Telnet or STelnet and Changing the Console Password
If you have a Telnet or STelnet account with a privilege level of 15 for a device, you can change the console password after logging in to the device using Telnet or STelnet. Then save the configuration of the new password. The following procedure uses Telnet login as an example.
In V200R002 and earlier versions, a user with a privilege level of 3 or higher can change the console password after logging in.
- Use a Telnet account with a privilege level of 15 to log in to the device.
- 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
- Run the save command to save the configuration so that the new password will not be lost after a system restart.
Clearing the Console Password in the BIOS Menu and Changing the Console Password
You can clear the console password in the BIOS menu (if the device provides this function). Then the system can start and load all configurations normally, except that it does not prompt you to enter the console password. After the device starts, change the console password and save the configuration.
- Clearing the console password brings security risks. Keep the BootROM password safe to ensure system security.
- You must restart the device to display the BIOS menu, which results in service interruption. Back up service configuration and perform this operation in off-peak hours.
- If you clear the console password, configure a new password immediately after you log in to the device. Otherwise, you must clear the console password again to log in if the login timeout timer expires or the device restarts.
- 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 CTRL+B to enter BIOS menu" is displayed, press Ctrl+B and enter the password to display the BIOS main menu.
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 Default User Names and Passwords for WLAN ACs and APs.
- Clear the console password.
- Enter the number of the Clear password for console user option in the BIOS menu to clear the console password.
- Enter the number of the Boot with default mode option to start the system with the default mode.
- 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.
Different software versions provide different commands for changing the authentication password:
- V200R002 and earlier versions: set authentication password [ cipher password ]
- V200R003 and later versions: set authentication password cipher
<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
- Run the save command to save the configuration so that the new password will not be lost after a system restart.
Changing the Password of a Fit AP on an AC
V200R005C10 and Earlier Versions
A Fit AP supports only one local user account, which can be a console, Telnet, or SSH account.
If the password of a Fit AP is lost but the AP has connected to an AC successfully, change the password or recover the default password:
- Run the wlan ap username command on the AC to configure a new user name and password, and deliver the configuration to the Fit AP.
- Run the undo wlan ap username command on the AC to recover the default user name and password, and deliver the configuration to the Fit AP.
The preceding operations may affect other APs connected to the AC. For example, if configuration needs to be delivered to other APs or new APs connect to the AC, the password configuration delivered from the AC will change the user name and password on these APs.
The following example changes the password of AP1 on an AC6605.
If a WS6603 is used, run the following commands to enter the WLAN view.
WS6603>enable WS6603#config WS6603(config)#wlan ac
- Change the password of AP1.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] wlan ap username admin password cipher Enter the password (plain-text password of 8-32 characters or cipher-text passwo rd of 32 or 56 characters): Confirm password: [AC6605-wlan-view] commit ap 1 //Run the display ap command to obtain the AP ID beforehand. Warning: Committing configuration may cause service interruption, continue?[Y/N] :y
- Recover the default user name and password of AP1.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] undo wlan ap username [AC6605-wlan-view] commit ap 1 //Obtain the AP ID beforehand. Warning: Committing configuration may cause service interruption, continue?[Y/N] :y
V200R006C10 and Later Versions
A Fit AP supports only one local user account, which can be a console, Telnet, or SSH account.
If the password of a Fit AP is lost but the AP has connected to an AC successfully, change the password or recover the default password:
- Run the ap username command on the AC to configure a new user name and password, and deliver the configuration to the Fit AP.
- Run the undo ap username command on the AC to recover the default user name and password, and deliver the configuration to the Fit AP.
The preceding operations may affect other APs connected to the AC. The AC automatically delivers the modified user name and password to all APs. The delivered configuration takes effect on all APs.
The following example changes the password of an AP on an AC6605.
- Change the password of the AP.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] ap username admin password cipher Enter the password (plain-text password of 8-32 characters or cipher-text password of 48 or 68 characters): Confirm password:
- Recover the default user name and password of the AP.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] undo ap username
Changing the Password of a Fit AP in the Uboot View
A Fit AP supports only one local user account, which can be a console, Telnet, or SSH account. If the password of a Fit AP is lost and the AP has not joined an AC, 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 Default User Names and Passwords for WLAN ACs and APs.
- 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...
The user name and password are recovered when the restart is complete.
Clearing the Console Port Password in the Uboot View and Changing the Console Password
You can clear the console password in the Uboot view (if the device provides this function). Then the system can start and load all configurations normally, except that it does not prompt you to enter the console password. After the device starts, change the console password and save the configuration.
- Clearing the console password brings security risks. Keep the BootROM password safe to ensure system security.
- 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.
- If you clear the console password, configure a new password immediately after you log in to the device. Otherwise, you must clear the console password again to log in if the login timeout timer expires or the device restarts.
- 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 Default User Names and Passwords for WLAN ACs and APs.
- 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>
- Run the reset command to restart the device.
ar7240> reset Resetting...
- 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
- Run the save command to save the configuration so that the new password will not be lost after a system restart.
Recovering the Password for Bluetooth Serial Port Login After Skipping the Startup Based on the Bluetooth Serial Port Password
The BootLoader of a device allows you to skip the password check when you log in to the device through the Bluetooth serial port. In this way, after the system is started, you can load all configurations without entering the password of the Bluetooth serial port. After the device starts, you can change the password of the Bluetooth serial port and save the configuration.
- Security risks exist if you skip the password check. Keep your BootLoader password secure.
- You must restart the device to enter the BootLoader menu, which results in service interruption. Back up device data and perform this operation during off-peak hours.
- If you remove the password of the Bluetooth serial port, configure a new password immediately after you log in to the device. Otherwise, you still need to perform this password removal operation upon a device restart or login timeout.
- Do not power off the device during the operation.
- Use the CloudCampus app on the mobile phone to connect to the device through the Bluetooth serial port and restart the device. When the message "Press CTRL+B to enter BOOT menu" is displayed, press Ctrl+B within 3 seconds and enter the BootLoader password to access the BootLoader main menu. Note that you need to configure the password upon your first login to the BootLoader menu.
For details about how to connect to a device through the Bluetooth serial port, see Connecting to an AP Through the Bluetooth Serial Port.
- Configure the device to skip the password check through the Bluetooth serial port.
- Enter the number corresponding to Password manager submenu in the BootLoader main menu to access the password management submenu.
- Enter the number corresponding to Clear the console login password in the password management submenu to remove the login password of the Bluetooth serial port.
After you press y, the device automatically restarts.
Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n): y Clear Console Lockword Successfully.
- After the device is started, you can directly log in through the Bluetooth serial port without the password check and then change the password of the Bluetooth serial port.
- For Fat APs and cloud APs, run the following commands to change the password of the Bluetooth serial port. (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 irreversible-cipher New Password: //The information displayed here is for reference only. Confirm New Password: [Huawei-ui-console0] return
- For Fit APs, run the reset login password command in the diagnostic view to recover the default user name and password. Then log in to the device using the default user name and password and configure a new password of the Bluetooth serial port as prompted.
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset login password Warning: The password used for login through the console port, Telnet, HTTP and SSH will be restored to the factory default. Continue? [Y/N]y Info: Succeeded in setting password to default password. Username:admin Password: //Enter the default password. Warning: The default password poses security risks. It is recommended that the user name and password of the AP be changed using the 'ap username' command in the WLAN view of the AC. Alternatively, directly change the command here. Enter the password (plain-text password of 8-128 characters or cipher-text password of 48-188 characters that must contain at least one lowercase letter, one uppercase letter, and one digit): //Enter a new password. Confirm New Password:
- For Fat APs and cloud APs, run the following commands to change the password of the Bluetooth serial port. (The following example changes the authentication mode to password authentication and the password to huawei@123.)
- Run the save command to save the configuration so that the new password will not be lost after a system restart.
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.
Recovering a Telnet Password
The following table provides the methods that you can use to recover the password of a Telnet or STelnet account.
No. |
Method |
Applicable Product |
Applicable Version |
---|---|---|---|
1 |
AC, Fat AP, and cloud AP |
AC: V200R001C00 and later versions Fat AP: V200R003C00 and later versions Cloud AP: V200R007C10 and later versions |
|
2 |
Fit AP |
All versions |
|
3 |
Fit AP |
V200R003C00-V200R019C00 |
|
4 |
Fit AP |
V200R019C10 and later versions |
|
5 |
WS6603 |
V100R003 |
|
6 |
AT |
V200R005C10 and later versions |
For a Fit AP, use method 2 if the AP has successfully connected to an AC and use method 3 or 4 if the AP has not connected to an AC.
Configuring a New Telnet Password
The Telnet or STelnet protocol can be to manage and maintain a device remotely. If the password of a Telnet or STelnet account is lost, use either of the following methods to configure a new password:
- Log in to the device using a user account with a higher privilege level (at least level 3) than the previous user account, and configure a new password for the previous user account.
- Log in to the device through the console port and configure a new password.
Two authentication modes can be used for Telnet or STelnet login:
- AAA mode: Enter a user name and password to log in.
- Password mode: Enter only the password to log in.
The following examples configure the same password for VTY user interfaces 0 to 4.
AAA Mode
- Create a Telnet user huawei and set its password to huawei@123.
<Huawei> system-view [Huawei] telnet server enable [Huawei] user-interface vty 0 4 [Huawei-ui-vty0-4] authentication-mode aaa [Huawei-ui-vty0-4] protocol inbound all [Huawei-ui-vty0-4] quit [Huawei] aaa [Huawei-aaa] local-user huawei password cipher huawei@123 [Huawei-aaa] local-user huawei service-type telnet ssh [Huawei-aaa] local-user huawei privilege level 15
After completing the configuration, you can enter the user name huawei and password huawei@123 to log in to the device.
- Run the save command to save the configuration so that the new password will not be lost after a system restart.
Password Mode
- Set the authentication mode to password authentication and the password to huawei@123 for VTY user interfaces 0 to 4.
Different software versions provide different commands for changing the authentication password:
- V200R002 and earlier versions: set authentication password [ cipher password ]
- V200R003 and later versions: set authentication password cipher
<Huawei> system-view [Huawei] telnet server enable [Huawei] user-interface vty 0 4 [Huawei-ui-vty0-4] authentication-mode password [Huawei-ui-vty0-4] protocol inbound all [Huawei-ui-vty0-4] set authentication password cipher Enter Password(<6-16>): //The actual display may be different. Confirm Password: [Huawei-ui-vty0-4] return
After completing the configuration, you can enter password huawei@123 to log in to the device.
- Run the save command to save the configuration so that the new password will not be lost after a system restart.
Changing the Password of a Fit AP on an AC
V200R005C10 and Earlier Versions
A Fit AP supports only one local user account, which can be a console, Telnet, or SSH account.
If the password of a Fit AP is lost but the AP has connected to an AC successfully, change the password or recover the default password:
- Run the wlan ap username command on the AC to configure a new user name and password, and deliver the configuration to the Fit AP.
- Run the undo wlan ap username command on the AC to recover the default user name and password, and deliver the configuration to the Fit AP.
The preceding operations may affect other APs connected to the AC. For example, if configuration needs to be delivered to other APs or new APs connect to the AC, the password configuration delivered from the AC will change the user name and password on these APs.
The following example changes the password of AP1 on an AC6605.
If a WS6603 is used, run the following commands to enter the WLAN view.
WS6603>enable WS6603#config WS6603(config)#wlan ac
- Change the password of AP1.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] wlan ap username admin password cipher Enter the password (plain-text password of 8-32 characters or cipher-text passwo rd of 32 or 56 characters): Confirm password: [AC6605-wlan-view] commit ap 1 //Run the display ap command to obtain the AP ID beforehand. Warning: Committing configuration may cause service interruption, continue?[Y/N] :y
- Recover the default user name and password of AP1.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] undo wlan ap username [AC6605-wlan-view] commit ap 1 //Obtain the AP ID beforehand. Warning: Committing configuration may cause service interruption, continue?[Y/N] :y
V200R006C10 and Later Versions
A Fit AP supports only one local user account, which can be a console, Telnet, or SSH account.
If the password of a Fit AP is lost but the AP has connected to an AC successfully, change the password or recover the default password:
- Run the ap username command on the AC to configure a new user name and password, and deliver the configuration to the Fit AP.
- Run the undo ap username command on the AC to recover the default user name and password, and deliver the configuration to the Fit AP.
The preceding operations may affect other APs connected to the AC. The AC automatically delivers the modified user name and password to all APs. The delivered configuration takes effect on all APs.
The following example changes the password of an AP on an AC6605.
- Change the password of the AP.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] ap username admin password cipher Enter the password (plain-text password of 8-32 characters or cipher-text password of 48 or 68 characters): Confirm password:
- Recover the default user name and password of the AP.
<AC6605> system-view [AC6605] wlan [AC6605-wlan-view] undo ap username
Changing the Password of a Fit AP in the Uboot View
A Fit AP supports only one local user account, which can be a console, Telnet, or SSH account. If the password of a Fit AP is lost and the AP has not joined an AC, 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 Default User Names and Passwords for WLAN ACs and APs.
- 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...
The user name and password are recovered when the restart is complete.
Recovering the Password for a Fit AP Using the BootLoader
A Fit AP supports only one local user account, which can be a Bluetooth, Telnet, or SSH user account. If the password of a Fit AP is lost and the AP has not joined an AC, enter the BootLoader and recover the default user name and password.
- You must restart the device to enter the BootLoader menu, which results in service interruption. Back up device data and perform this operation during off-peak hours.
- Do not power off the device during the operation.
- Use the CloudCampus app on the mobile phone to connect to the device through the Bluetooth serial port and restart the device. When the message "Press CTRL+B to enter BOOT menu" is displayed, press Ctrl+B within 3 seconds and enter the BootLoader password to access the BootLoader main menu. Note that you need to configure the password upon your first login to the BootLoader menu.
For details about how to connect to a device through the Bluetooth serial port, see Connecting to an AP Through the Bluetooth Serial Port.
- Configure the device to skip the password check through the Bluetooth serial port.
- Enter the number corresponding to Password manager submenu in the BootLoader main menu to access the password management submenu.
- Enter the number corresponding to Clear the console login password in the password management submenu to remove the login password of the Bluetooth serial port.
After you press y, the device automatically restarts.
Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n): y Clear Console Lockword Successfully.
- Run the reset login password command in the diagnostic view to recover the default user name and password. Then log in to the device using the default user name and password and configure a new password of the Bluetooth serial port as prompted.
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset login password Warning: The password used for login through the console port, Telnet, HTTP and SSH will be restored to the factory default. Continue? [Y/N]y Info: Succeeded in setting password to default password. Username:admin Password: //Enter the default password. Warning: The default password poses security risks. It is recommended that the user name and password of the AP be changed using the 'ap username' command in the WLAN view of the AC. Alternatively, directly change the command here. Enter the password (plain-text password of 8-128 characters or cipher-text password of 48-188 characters that must contain at least one lowercase letter, one uppercase letter, and one digit): //Enter a new password. Confirm New Password:
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.
Configuring a New Password for a WS6603
A super administrator or administrator can change the password of itself or a user with a lower level. When changing the password of a user with a lower level, the super administrator or administrator does not need to enter the old password of this user.
A common user or operator can only change its own password and must enter the old password before setting a new password.
- Create a user account operator and set the user level to operator, number of login attempts to 2, and appended information to operator.
WS6603> enable WS6603# terminal user name User Name(length<6,15>):operator User Password(length<6,15>): Confirm Password(length<6,15>): User profile name(<=15 chars)[root]: User's Level: 1. Common User 2. Operator 3. Administrator:2 Permitted Reenter Number(0--4):2 User's Appended Info(<=30 chars):operator Adding user succeeds
- Use an administrator account to log in to the system, and set the password for the operator user to huawei@123.
WS6603> enable WS6603# terminal user password User Name(length<6,15>):operator New Password(length<6,15>): Confirm Password(length<6,15>): Information takes effect
Recovering the BootROM Password
The following table provides the methods that you can use to recover the BootROM password.
No. |
Method |
Applicable Product |
Applicable Version |
---|---|---|---|
1 |
AC |
V200R002C00-V200R021C10 |
|
2 |
Fit AP, Fat AP, cloud AP, and AT |
Fit AP: V200R003C00-V200R019C00 Fat AP: V200R003C00-V200R019C00 Cloud AP: V200R007C10-V200R019C00 AT: V200R005C10 and later versions |
|
3 |
Fit AP, Fat AP, and cloud AP |
V200R019C10-V200R021C10 |
Recovering the BIOS Password
The basic input/output system (BIOS) of a device provides configuration recovery, system software upgrade, and other functions to enhance system security and facilitate maintenance. The BIOS password is important for system security and must be kept safe. If you forget your BIOS password, recover the default password and then configure a new password.
Use a serial cable to connect a PC to the device and perform the following operations.
- Recover the default BIOS password and restart the device.
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 Default User Names and Passwords for WLAN ACs and APs.
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset boot password The password used to enter the BootROM menu will be restored to the factory setting, continue? [Y/N] y Info: Succeeded in setting password of boot to default. [Huawei-diagnose] return <Huawei> reboot Info: The system is comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait.......... Configuration file had been saved successfully Note: The configuration file will take effect after being activated System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...
- Change the password in the BIOS menu.
When the message "Press CTRL+B to enter BIOS menu" is displayed, press Ctrl+B and enter the password to display the BIOS main menu.
BIOS Menu (Version: 072) 1. Boot with default mode 2. Enter serial submenu 3. Enter startup submenu 4. Enter ethernet submenu 5. Enter file system submenu 6. Modify BOOTROM password 7. Clear password for console user 8. Config HigMem to Flash Flag 9. Reboot(Press CTRL+E to enter Diag menu)Enter your choice(1-9):6 Confirm old password : //Enter the old password. Please enter new password : //Enter the new password. Please confirm new password : //Enter the new password again. The password is changed successfully.
Recovering the Uboot Password
The Uboot password is important for system security and must be kept safe. If you forget your Uboot password, recover the default password and then configure a new password.
Use a serial cable to connect a PC to the device and perform the following operations.
- Recover the default Uboot password and restart the device.
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 Default User Names and Passwords for WLAN ACs and APs.
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset boot password The password used to enter the BootROM menu will be restored to the factory setting, continue? [Y/N] y Info: Succeeded in setting password of boot to default. [Huawei-diagnose] return <Huawei> reboot Info: The system is comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait.......... Configuration file had been saved successfully Note: The configuration file will take effect after being activated System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...
- Change the Uboot password in Uboot view.
When the message "Press f or F to stop Auto-Boot" is displayed, press F and enter the password to enter the Uboot view.
ar7240> passwd Start modify boot password..... Confirm old password : The password must be '0'~'9' , 'a'~'z' , 'A'~'Z' , or '@'! Please enter new password : Please confirm new password : The password is changed successfully.
Recovering the BootLoader Password
The BootLoader is the basis for device security and maintenance, and provides functions such as configuration recovery and system software upgrade. The BootLoader password is important for system security and must be kept safe. If you forget the BootLoader password, recover the default password and then configure a new password.
Use a serial cable to connect a PC to the device and perform the following operations.
- Configure a new BootLoader password and restart the device.
For details about how to connect to a device through the Bluetooth serial port, see Connecting to an AP Through the Bluetooth Serial Port.
<Huawei> system-view [Huawei] diagnose [Huawei-diagnose] reset boot password The password used to enter the BootROM menu will be restored to the factory setting, continue? [Y/N] y Info: Succeeded in setting password of boot to default password. [Huawei-diagnose] return <Huawei> reboot Info: The system is comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait.......... Configuration file had been saved successfully Note: The configuration file will take effect after being activated System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...
- Configure a new BootLoader password.
- Restart the device. When the message "Press CTRL+B to enter BOOT menu" is displayed, press Ctrl+B within 3 seconds to access the BootLoader main menu.
By default, there is no BootLoader password. You need to configure a new BootLoader password.
- Enter and confirm the new BootLoader password.
Info: The password is empty. For security purposes, change the password. New password: //Enter the new password. Confirm password: //Confirm the new password. The password is changed successfully.
- Restart the device. When the message "Press CTRL+B to enter BOOT menu" is displayed, press Ctrl+B within 3 seconds to access the BootLoader main menu.
Related Information: How to Log In to a WLAN AC or AP
For the method of logging in to a WLAN device, see the following:
- Introduction
- Prerequisites
- Default User Names and Passwords for WLAN ACs and APs
- Recovering the Console Password
- Logging In to a Device Using Telnet or STelnet and Changing the Console Password
- Clearing the Console Password in the BIOS Menu and Changing the Console Password
- Changing the Password of a Fit AP on an AC
- Changing the Password of a Fit AP in the Uboot View
- Clearing the Console Port Password in the Uboot View and Changing the Console Password
- Recovering the Password for Bluetooth Serial Port Login After Skipping the Startup Based on the Bluetooth Serial Port Password
- Recovering the Password of an AT
- Recovering a Telnet Password
- Recovering the BootROM Password
- Related Information: How to Log In to a WLAN AC or AP