Overview & Thematic Scope
For network engineers and IT administrators, being locked out of a Huawei S5700 series switch due to a forgotten password is a common but critical issue. This FAQ provides authoritative, step-by-step technical solutions for clearing and resetting passwords on the S5700. We address the most frequent pre-sales and post-sales queries, covering everything from physical console access and BootROM procedures to web interface recovery and default credential lookups. This guide aims to help you quickly regain access while preserving your configuration.

Frequently Asked Questions
- Q1: What is the most reliable method to clear a forgotten password on a Huawei S5700 switch?
- The most reliable and standard method is to clear the password via the BootROM menu using a physical console connection. This procedure does not erase the entire configuration but removes the console login credential, allowing you to set a new one .
- Q2: What is the default username and password for a Huawei S5700 after a factory reset?
- For most S5700 switches running V200R007 and later versions, the default login credentials are username: admin and password: Admin@huawei.com (case-sensitive) .
- Q3: How do I access the BootROM menu on a Huawei S5700 switch to clear the password?
- To access the BootROM menu, connect via the console port and restart the switch. During startup, immediately press Ctrl+B within 3 seconds when the prompt appears. You will then need to enter the BootROM password (default is often Admin@huawei.com) to access the main menu .
- Q4: After I clear the console password in the BootROM menu, what is the next step?
- After successfully clearing the password (by selecting the “Clear password for console user” option), you must restart the switch. In the BootROM menu, choose “Boot with default mode” to start the system. The switch will then restart, and you can log in through the console without entering a password to set a new one .
- Q5: Can I reset the Huawei S5700 password using the PNP button?
- Yes, if your S5700 switch has a PNP button, you can press and hold it for more than 6 seconds to restore the switch to factory settings and clear all passwords. However, this action deletes all configuration data and restores the default settings, so it should be used with caution .
- Q6: Is it necessary to use a console cable to recover the password on an S5700?
- Yes, using a physical console cable is mandatory. Password recovery requires access to the BootROM menu during the boot process, a privilege that is only accessible via the console port. This cannot be done remotely through Telnet, SSH, or the web interface .
- Q7: What are the serial communication parameters for connecting to the S5700 console port?
- The required settings are: Baud rate: 9600, Data bits: 8, Stop bits: 1, Parity: None, and Flow control: None. These settings are standard for all Huawei S5700 series switches .
- Q8: How do I set a new password after clearing the old one via the console?
- Once you have regained access without a password, enter the system view by typing system-view. Then, navigate to the console user interface with user-interface console 0 and set a new password using the set authentication password cipher command. Finally, save the configuration with the save command to prevent losing the new password after a reboot .
Leave a comment