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).
Setting the SNMP Version and Community Name

Setting the SNMP Version and Community Name

SNMP has three versions: v1, v2c and v3. v1 and v2c support community name, whereas v3 does not support. When the community name is configured, ACL can be used to restrict the access of NMS to the device.

  • SNMPv1

    SNMP version is v1, read/write community name is community001, and access control is configured.

    <HUAWEI> system-view
    [HUAWEI] snmp-agent sys-info version v1
    [HUAWEI] snmp-agent community write community001 mib-view alliso acl 2001
  • SNMPv2c

    SNMP version is v2c, read/write community name is community001, and access control is configured.

    <HUAWEI> system-view
    [HUAWEI] snmp-agent sys-info version v2c
    [HUAWEI] snmp-agent community write community001 mib-view alliso acl 2001
Translation
Download
Updated: 2018-09-03

Document ID: EDOC1000057410

Views: 91269

Downloads: 12230

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