No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S1720, S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Common Operation Guide

This document describes the CLI-based configurations of universal protocols and common features for Huawei switches on basic networks.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring User Group and User Name

Configuring User Group and User Name

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.
Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 84396

Downloads: 12101

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next