How to clear the console password of a WLAN device

19

If the console password of an AC is forgotten, start up the device without entering the console password in BIOS mode, and then change the console password to clear it. The procedure is as follows:
1. Use a serial cable to connect and restart the device. When the message "Press CTRL+B to enter BIOS menu" is displayed, press Ctrl+B and enter the password (the default password is admin@huawei.com). The BIOS main menu is displayed.
2. Log in to the device without entering the console password.
a. Enter the corresponding serial number for Clear password for console user in the BIOS menu to clear the console password.
b. Enter the corresponding serial number for Boot with default mode in the BIOS menu to start the device in default mode.
3. After the system is started, authentication is not required for console login. Change the console password after login.
a. In the console user view, run the authentication-mode password command to configure the console user authentication mode to password authentication.
b. In the console user view, run the authentication password cipher command to set the console password.
4. To prevent the configurations from being lost after the system is restarted, run the save command to save the configurations.
If the console password of an AP is forgotten, start up the AP without entering the console password in Uboot mode, and then change the console password to clear it. The procedure is as follows:
1. Use a serial cable to connect and restart the device. When the message "Press f or F to stop Auto-Boot ......" is displayed, press f and enter the password (the default password is admin@huawei.com). The Uboot view is displayed.
2. In the Uboot view, run the defaultuser command to clear the console password.
3. In the Uboot view, run the reset command to restart the device.
4. After the system is started, authentication is not required for console login. Change the console password after login.
a. In the console user view, run the authentication-mode password command to configure the console user authentication mode to password authentication.
b. In the console user view, run the authentication password cipher command to set the console password.
5. To prevent the configurations from being lost after the system is restarted, run the save command to save the configurations.

Other related questions:
Clear the password for console port login
You can use the two methods described on the right to clear the password for console port login. Method 1 is recommended.Method 1: Starting a Switch Through the BIOS Menu After starting a switch through the BIOS menu, 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. 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 3 seconds and enter the BIOS password to access the BIOS main menu. Select Modify console password and enter y. The switch will restart. Press CTRL+B to enter BIOS menu: 1 Password: //The default BIOS password is Admin@huawei.com. Info: The entered password is the same as the default one. You are advised to change the password to ensure security. BIOS Menu (Version: 333) 1. Continue to boot 2. Update from serial interface 3. Update from ethernet interface 4. Modify startup parameters 5. File system 6. Modify stack parameters 7. Modify BIOS password 8. Modify console password 9. Restore factory defaults 10. Reboot Enter your choice(1-10): 8 Caution: A new console password must be set after the restart. Continue now? Yes(y) or No(n): y 2.When the following information is displayed, enter n, that is, do not set the password for logging in to the switch through the console port for the first time. An initial password is required for the first login via the console. Continue to set it? [Y/N]: n Warning: There is a risk on the user-interface which you login through. Please change the configuration of the user-interface as soon as possible. Method 2: Configuring the Non-Authentication Mode The non-authentication mode allows users to log in to the switch through the console port without authentication. Because this mode has security risks, you are advised to configure AAA or password authentication to enhance device security. system-view [~HUAWEI] user-interface console 0 [~HUAWEI-ui-console0] authentication-mode none [*HUAWEI-ui-console0] commit

How to configure or change the password for console port login on an AR
You can use either of the following methods to configure or change the password for console port login on an AR: Method 1: Log in to the AR using Telnet or other remote login modes, and configure and change the console port login password. The following is an example (using Telnet): If you have a Telnet account and administrator rights, log in to the AR using Telnet, change the console port login password, and save the configuration. 1. Log in to the AR using a Telnet account. 2. Change the console port login password. The following example changes the authentication mode to password authentication and the password to huawei@123. [Huawei] user-interface console 0 [Huawei-ui-console0] authentication-mode password [Huawei-ui-console0] set authentication password cipher huawei@123 //Enter the password in interactive mode (V200R005C00 and later versions). [Huawei-ui-console0] return The following example changes the authentication mode to AAA authentication, user name to admin123, and password to Huawei@123. [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 privilege level 15 [Huawei-aaa] local-user admin123 service-type terminal [Huawei-aaa] return 3. Run the save command to save the configuration to prevent configuration loss after a restart. Method 2: Clear the console port login password on the BootROM menu and change the password. You can clear the password for console port login on the BootROM menu. The system can skip password check when you log in to it through the console port. After the AR restarts, change the console port login password and save the configuration. // After the password is cleared, no password is required for the first login through the serial port. If you do not promptly change the password, you cannot re-login through the serial port after logout. 1. Connect a serial cable to the AR and restart it. When the message "Press Ctrl+B to break auto startup ..." is displayed, press Ctrl+B and enter the default password ("huawei" for V200R003C01 and earlier versions, and "Admin@huawei" for V200R005C00 and later versions) to enter the BootROM main menu. 2. Choose Password Manager > Clear the console login password > Return > Default Startup on the BootROM main menu. On the page that is displayed, clear the console port login password. Note: When you log in through the console port after the system is started, you will encounter three conditions depending on the device model. Perform the following operations as required: a. If the system prompts you to enter the password when you log in, set a password. b. If the AR is running V200R005C30 or a later version, enter the default user name (admin) and password (Admin@huawei). c. If no authentication is required when you log in, configure the console port password after the login.

Method used to retrieve the console account password for the USG6000 series
If you have a Telnet or web account with permissions higher than Level 3, you can change the password to the console port after logging in through Telnet or the web UI. Telnet login is used as an example: 1. Log in to the device using a Telnet account. 2. Change the password of the console user. For example, change the user name and password to admin and Password@123, respectively: system-view [sysname] user-interface console 0 [sysname-ui-console0] authentication-mode local user admin password cipher Password@123 [sysname-ui-console0] return

How can I clear logs on a WLAN device
Logs generated on a WLAN device are saved in the log buffer. After the number of logs reaches the specified threshold, the logs are saved to the syslogfile or logfile folder in the device's flash memory. When the WLAN device has been running for a long time, it generates a large number of logs. In this case, you can run the info-center max-logfile-number command to set the maximum number of logs to be saved on the device. You can clear all logs in the buffer and the flash memory. 1. Clear logs in the log buffer or trap buffer. - Run the reset logbuffer command in the user view to clear logs in the log buffer. - Run the reset trapbuffer command in the user view to clear traps in the trap buffer. 2. Clear log files in the flash memory. Run the delete command in the user view to delete log files in the flash memory. To delete logs in the logfile folder, perform the following operations: - delete flash:/logfile/xxx //Delete a log record. xxx specifies the log file name saved in the flash memory. - delete /unreserved flash:/logfile/xxx //Permanently delete a log record, which cannot be restored. - reset recycle-bin //Empty the recycle bin.

How can I clear alarms on a WLAN device
To clear alarms on a WLAN device, run the clear alarm active { all | sequence-number sequence-number } command in the alarm management view.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top