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

MIB Reference

AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R007

This document provides the function overview, relationships between tables, description of single objects, description of MIB tables, and description of alarm objects.
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).
Setting SNMP Parameters on a Managed Device

Setting SNMP Parameters on a Managed Device

Context

To ensure that the NMS can discover and manage a device using SNMP, ensure that SNMP parameters have been correctly set on the managed device and SNMP parameter settings on the NMS and managed device are consistent. After basic SNMP functions are configured, NMS-side devices can communicate with the managed device using the NMS software.

NOTE:

After the configuration is complete, the managed device can communicate with the NMS, but cannot send trap messages. For details on how to configure the managed device to send trap messages, see Setting Trap Parameters on a Managed Device.

For details on how to set NMS-side parameters, refer to the NMS documentation.

Procedure

  • Perform the following operations when the managed device runs SNMPv1 or SNMPv2c.
    1. Run the system-view command to enter the system view.
    2. (Optional) Run the snmp-agent command to enable the SNMP agent function.

      By default, executing the snmp-agent command can enable the SNMP agent function regardless of whether parameters are specified in the command.

    3. Run the snmp-agent sys-info version { { v1 | v2c } * } command to set the SNMP version to SNMPv1 or SNMPv2c.
    4. Run the snmp-agent community { read | write } community-name [ mib-view view-name | acl acl-number ] * command to configure a community name and a MIB view to which the community name can access.

      NOTE:

      In the ViewDefault view, you can perform operations for Internet object (OID: 1.3.6.1) and lagMIB object (OID: 1.2.840.10006.300.43).

  • Perform the following operations when the managed device runs SNMPv3.
    1. Run the system-view command to enter the system view.
    2. (Optional) Run the snmp-agent command to enable the SNMP agent function.

      By default, executing the snmp-agent command can enable the SNMP agent function regardless of whether parameters are specified in the command.

    3. (Optional) Run the snmp-agent sys-info version v3 command to set the SNMP version.
    4. Run the snmp-agent group v3 group-name { authentication | noauth | privacy } [ read-view read-view | write-view write-view | notify-view notify-view ] * command to configure an SNMPv3 user group.

      NOTE:

      When the NMS and managed devices are deployed on an insecure network such as the network prone to attacks, you are advised to specify authentication or privacy to enable authentication or encryption.

      By default, the read-only view of an SNMP group is ViewDefault, and the read, write, and notify views of the SNMP group are not specified.

    5. Run the snmp-agent usm-user v3 user-name [ group group-name | acl acl-name ] * command to configure an SNMPv3 user.

      user-name on the managed device must be consistent with Security user name of SNMP parameters on the NMS.

    6. Run the snmp-agent usm-user v3 user-name authentication-mode { md5 | sha } command to configure an SNMPv3 user authentication password.

      MD5 is an insecure encryption algorithm, so SHA is recommended.

      authentication-mode and password of the managed device must be consistent with Authentication protocol and password of SNMP parameters on the NMS.

    7. Run the snmp-agent usm-user v3 user-name privacy-mode { aes128 | des56 } command to configure an SNMPv3 user encryption password.

      DES56 is an insecure encryption algorithm, so AES128 is recommended.

      privacy-mode and password of the managed device must be consistent with Privacy protocol and password of SNMP parameters on the NMS.

      After the user group and user are configured, the NMS using the user name have rights of ViewDefault (1.3.6.1 and 1.2.840.10006.300.43).

Checking the Configuration

When the managed device uses SNMPv1/v2c to communicate with the NMS, run the following commands to check whether SNMP parameters are correctly set.

  • Run the display snmp-agent sys-info version command to check the SNMP version.
  • Run the display snmp-agent community { read | write } command to check the SNMP community name.
  • Run the display snmp-agent mib-view command to check the MIB view.

When the managed device uses SNMPv3 to communicate with the NMS, run the following commands to check whether SNMP parameters are correctly set.

  • Run the display snmp-agent sys-info version command to check the SNMP version.
  • Run the display snmp-agent group [ group-name ] command to check user group information.
  • Run the display snmp-agent usm-user [ user-name ] command to check user information.
  • Run the display snmp-agent mib-view command to check the MIB view.
Translation
Download
Updated: 2019-06-05

Document ID: EDOC1000097213

Views: 125043

Downloads: 688

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