What should I do if I forget an SNMP community field for S series switches


For S series switches (except the S1700), if you forget an SNMP community, delete it and reconfigure a new one. The configuration procedure is as follows:
Deleting a community name in plaintext
Keep the community name secure. If you enter an incorrect community name, deletion fails.
[Quidway] undo snmp-agent community community001
Deleting a community name in ciphertext

Before deleting a community name in ciphertext, query the encrypted community name.
[Quidway] display snmp-agent community
Community name:%^%#v_@eE"TW3Yw"7"Q2Vd!"/$XsX|}+GOBz8V.pEh>=x9)J,Tuy}3Mp#+X4QV5CAI^:Z;NlA3*&ta4}a53-%^%#
Group name:%^%#v_@eE"TW3Yw"7"Q2Vd!"/$XsX|}+GOBz8V.pEh>=x9)J,Tuy}3Mp#+X4QV5CAI^:Z;NlA3*&ta4}a53-%^%#
Storage-type: nonVolatile
[Quidway] undo snmp-agent community %^%#v_@eE"TW3Yw"7"Q2Vd!"/$XsX|}+GOBz8V.pEh>=x9)J,Tuy}3Mp#+X4QV5CAI^:Z;NlA3*&ta4}a53-%^%#

Other related questions:
How do I delete the community name in ciphertext on an S series switch
S series switches (except S1700) support deleting community names in ciphertext. The method is as follows: Step 1: Query the community name in ciphertext. [HUAWEI] display snmp-agent community Community name:%^%#zvy$/Fpfs9pqOl'}(1"LgiAKQY\4DVfs~r'w-!s~wDe&LlFsJ4VUjk")m7<.IT!FQ5Bc%27w3BJWjMb7%^%# Group name:%^%#zvy$/Fpfs9pqOl'}(1"LgiAKQY\4DVfs~r'w-!s~wDe&LlFsJ4VUjk")m7<.IT!FQ5Bc%27w3BJWjMb7%^%# Storage-type: nonVolatile Step 2: Delete the community name in ciphertext. [HUAWEI] undo snmp-agent community %^%#zvy$/Fpfs9pqOl'}(1"LgiAKQY\4DVfs~r'w-!s~wDe&LlFsJ4VUjk")m7<.IT!FQ5Bc%27w3BJWjMb7%^%#

What should I do if I forget the Telnet login password of CE series switches
If you forget the Telnet login password of a CE series switch, log in to the switch through the console port and set a new password for Telnet login.

# Take password authentication for VTY0 login as an example. Set the password to Huawei@123. The configuration is as follows:
<HUAWEI> system-view
[~HUAWEI] user-interface vty 0
[~HUAWEI-ui-vty0] authentication-mode password
[*HUAWEI-ui-vty0] set authentication password
Please configure the login password (8-16)
Enter Password:   \\Enter the password. Huawei@123
Confirm Password:   \\Enter the password again. Huawei@123
[*HUAWEI-ui-vty0] user privilege level 15
[*HUAWEI-ui-vty0] commit
[~HUAWEI-ui-vty0] return
<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]: y

# Take AAA authentication for VTY0 login as an example. Set the user name to admin123 and password to Huawei@123. The configuration is as follows:
<HUAWEI> system-view
[~HUAWEI] user-interface vty 0
[~HUAWEI-ui-vty0] authentication-mode aaa
[*HUAWEI-ui-vty0] quit
[*HUAWEI] aaa
[*HUAWEI-aaa] local-user admin123 password irreversible-cipher Huawei@123
[*HUAWEI-aaa] local-user admin123 service-type telnet
[*HUAWEI-aaa] local-user admin123 level 15
[*HUAWEI-aaa] commit
[~HUAWEI-aaa] return
<HUAWEI> save
Warning: The current configuration will be written to the device. Continue? [Y/N]: y

How do I configure SNMP community name on S series switches
The snmp-agent community { read | write } community-name command can be used to configure community names on S series switches (except S1700). read indicates the read permission and write indicates the write permission. If the same community name is configured, the latter configuration overwrites the earlier community name. The following provides an example: [HUAWEI] snmp-agent community write community001 Community complexity check needs to be performed when SNMP community names are configured on S series switches (except S1700) in versions after V200R002. Community complexity requirements are as follows: 1. The community name must contain at least eight characters. The set password min-length command sets the value of minimum password length which must equal to or be larger than 8. 2. The community must be a combination of at least two of the following: uppercase letters A to Z, lowercase letters a to z, digits, and special characters (excluding question masks). You can use the snmp-agent community complexity-check disable command to disable community name complexity check on a switch. After community name complexity check is disabled, the value of community name length is an integer in the range 1 to 32. The configuration method is as follows: [HUAWEI] snmp-agent community complexity-check disable Note: If a configured community name does not meet complexity requirements, the system is prone to attacks including password cracking from malicious users, affecting system security. Therefore, it is recommended that community name complexity check be enabled.

What should I do if I forget the BMU administrator password?
If you forget the BMU administrator password, reinstall the BMU, change the password, and keep the new password secure.

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