Common SNMP Operations : Configuring User Group and User Name

Latest reply: Aug 24, 2016 08:45:53 1969 1 0 0

Only v3 supports the configuration of user group and user name. By default, SNMPv3 is enabled on a device.

The security level of a user cannot be lower than the security level of the user group to which the user belongs. Security levels in the descending order are as follows:

  • privacy: authentication and encryption
  • authentication: authentication and no encryption
  • none: no authentication and no encryption

If a user group is at the privacy level, the users and trap hosts of the user group must be at the privacy level. If a user group is at the authentication level, the users and trap hosts of the user group must be at the privacy or authentication level.

  • In the versions earlier than V200R003C00:

    # Set the user group name to group001 and security level to privacy, and configure access control to restrict the access of the NMS to the device.

    <HUAWEI> system-view
    [HUAWEI] snmp-agent group v3 group001 privacy write-view alliso acl 2001
    

    # Set the user name to user001, authentication password to Authe1234 and encryption password to Priva1234.

    <HUAWEI> system-view
    [HUAWEI] snmp-agent usm-user v3 user001 group001 authentication-mode sha Authe1234 privacy-mode des56 Priva1234
    
  • V200R003C00 and later versions:

    # Set the user group name to group001 and security level to privacy, and configure access control to restrict the access of the NMS to the device.

    <HUAWEI> system-view
    [HUAWEI] snmp-agent group v3 group001 privacy write-view alliso acl 2001
    

    # Set the user name to user001, authentication password to Authe@1234 and encryption password to Priva@1234.

    <HUAWEI> system-view
    [HUAWEI] snmp-agent usm-user v3 user001 group group001
    [HUAWEI] snmp-agent usm-user v3 user001 authentication-mode sha
    Please configure the authentication password (8-64)                             
    Enter Password:                  // Enter authentication password Authe@1234.
    Confirm Password:                // Enter authentication password Authe@1234.
    [HUAWEI] snmp-agent usm-user v3 user001 privacy-mode aes256
    Please configure the privacy password (8-64)                                    
    Enter Password:                  // Enter encryption password Priva@1234.                                               
    Confirm Password:                // Enter encryption password Priva@1234.
 
 

  • x
  • convention:

user_1763575
Created Aug 24, 2016 08:45:53 Helpful(0) Helpful(0)

Common SNMP Operations : Configuring User Group and User Name

thanks

  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login