Password mac dinh của switch huawei s5700
IntroductionHave you ever forgotten the switch passwords? Have you ever failed to log in to your switch because of a lost login password? Show
This document describes how to clear the old password or set a new password when you forget the console port login password, STelnet/Telnet login password, BootROM/BootLoad password, or web login password. This ensures that you can log in to your switch even when you forget these passwords. For details about how to log in to a switch, see Switches Typical Login Configuration Examples. PrerequisitesThis document uses S series switches of V200R020C00 as an example to describe how to clear the old password or set a new password. The operations to be performed may vary depending on the device model and version. For details, see the corresponding product documentation. This document is written based on device information obtained under lab conditions. If your device is running on the live network, ensure that you understand the potential impact of all commands. Scenario 1: All Default Passwords Are Changed and All Passwords Are ForgottenIf you change all default passwords and forget the console port login password, all STelnet/Telnet login accounts and passwords, and BootROM/BootLoad passwords:
For details about mandatory configurations of the switch after factory settings are restored, see Restoring the Factory Settings of S5700 Series Switches. After factory settings are restored, all configuration data is deleted and cannot be restored. Therefore, exercise caution when restoring the factory settings of the switch. Scenario 2: Default Passwords Are ForgottenFor S series switches running V200R020 and later versions, no passwords are configured for default accounts, and users must configure new passwords for logging in to the switches. In this situation, scenario 2 is not involved. However, for S series switches running versions earlier than V200R020, there is no default STelnet/Telnet login password, but there are default console port login password, default BootROM/BootLoad password, and default web login password. These default passwords may vary according to the switch version. If you always use the default passwords and have not changed the passwords, you can obtain the default accounts and passwords according to S Series Switches Default Usernames and Passwords (for enterprise users or carrier users). The permission level of this document is C (customer support level). If you need to upgrade the permission level, see the help document on the website. To ensure device security, you are advised not to use the default passwords and to change the passwords periodically. Scenario 3: The Console Port Login Password Is ForgottenThree methods are available to recover the console port login password.
Method 1 is recommended. Use method 2 if you also forget the STelnet or Telnet login password. STelnet V2 is recommended because it is more secure than Telnet. Method 1: Log in to the device using STelnet or Telnet and change the console port login password.If you have an STelnet or Telnet account and administrator permissions, you can log in to the device through STelnet or Telnet, change the console port login password, and save the configuration. The following describes how to change the console port login password after logging in to the device using STelnet.
Method 2: Clear the console port login password in the BootROM/BootLoad menu and change the console port login password.If you remember the BootROM/BootLoad password and can access the BootROM/BootLoad menu, clear the console port login password in the BootROM/BootLoad menu, set a new console port login password after the device restarts, and save the configuration.
Perform the following operations.
Scenario 4: The STelnet/Telnet Login Password Is Forgotten
Method 1: Use an STelnet/Telnet Account with Administrator Rights to Log In to the Device and Reset the Password
Method 2: Log In to the Device Through the Console Port and Set a New STelnet/Telnet Login PasswordIf you forget the STelnet/Telnet login password but remember the console port login password, log in to the switch through the console port and set a new STelnet/Telnet login password. STelnet V2 is recommended because it is more secure than Telnet.
Scenario 5: The BootROM/BootLoad Password Is Forgotten but the Console Port/STelnet/Telnet Login Is AvailableIf you can log in to the switch through the console port, STelnet, or Telnet, log in to the switch and restore the default BootROM/BootLoad password. You can obtain the default accounts and passwords according to S Series Switches Default Usernames and Passwords (for enterprise users or carrier users). The permission level of this document is C (customer support level). If you need to upgrade the permission level, see the help document on the website.
To ensure device security, you are advised not to use the default passwords and to change the passwords periodically. Changing the BootROM PasswordTo change the BootROM password, you need to restart the device and access the BootROM main menu.
Changing the BootLoad PasswordTo change the BootLoad password, you need to restart the device and access the BootLoad main menu.
Scenario 6: The Web Login Password Is Forgotten but the Console Port/STelnet/Telnet Login Is AvailableIf you can log in to the switch through the console port, STelnet, or Telnet, log in to the switch and reset the web login password. In the following example, the web login user name is admin123 and the password is test@123.
Scenario 7: The Web Login Password Is Forgotten (Applicable Only to Switches That Can Be Configured Only Through the Web System but Not the CLI, Such As S200 and Some S1700 Switches)For a switch that can be configured only through the web system but not the CLI, if you forget the web login password, restore the factory settings of the switch and reset the password. The procedure is as follows:
|