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

eSight V300R009C00 Operation Guide 10

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 Protocol Parameters on the Device

Setting Protocol Parameters on the Device

This topic describes how to set protocol parameters on the device. The following uses MA5600T V800R017C10 as an example to describe the configuration. For commands of other device models, see the configuration manual.

Configuring the SNMP Protocol

The SNMP protocol is used to add devices to eSight.

NOTE:

SNMP v3 is recommended because its security level is higher than that of SNMP v1 and SNMP v2c.

  • SNMP v3
    huawei(config)#snmp-agent sys-info version v3
    huawei(config)#snmp-agent mib-view View_ALL include iso   //View_ALL indicates the name of the MIB view. To ensure that eSight can properly manage devices (for example, discover device links through the LLDP protocol), the MIB view must contain the iso node.
    huawei(config)#snmp-agent group v3 snmpv3group privacy write-view View_ALL notify-view View_ALL   //snmpv3group is the configured user group. The write view name and notification view name is specified as View_ALL. By default, the write view has the read permission. Therefore, you do not need to set the read-view. The notification view is used to limit the MIB node of the device for sending alarms to eSight. 
    huawei(config)#snmp-agent group v3 snmpv3group privacy   //snmpv3group is the specified user group.
    huawei(config)#snmp-agent usm-user v3 snmpv3user group snmpv3group   //snmpv3user is the configured user name, which is consistent with the security name of eSight. The security level of a user cannot be lower than the security level of the user group to which the user belongs. Otherwise, the user cannot perform communication normally. For example, if the security level of the user group snmpv3group is privacy, the security level of the user snmpv3user must be authentication and encryption. 
    huawei(config)#snmp-agent usm-user v3 snmpv3user snmpv3group authentication-mode sha authkey123 privacy-mode aes128 prikey123   //Set the encryption protocol and password of the user, and ensure that the encryption protocol and password are the same as those of eSight.
    huawei(config)#snmp-agent trap enable snmp-agent target-host trap-paramsname aaa v3 securityname snmpv3user authentication   //Assume aaa is the list name, snmpv3user is the security name, and the trap packet is authenticated but is not encrypted.
    huawei(config)#snmp-agent target-host trap-hostname V3 address 10.10.10.10 udp-port 162 trap-paramsname aaa   //Assume user is the host name, 10.10.10.10 is the destination IP address of the target host that receives the trap packet. 162 is the port, aaa is the name of the sending parameter list of the trap packet.
  • SNMP v2c
    huawei(config)#snmp-agent community read public123 //public123 is the specified read community.
    huawei(config)#snmp-agent community write private123 //private123 is the specified write community.
    huawei(config)#snmp-agent trap enable standard
    huawei(config)#snmp-agent target-host trap-paramsname aaa v2c securityname bbb //Assume aaa is the list name, bbb is the security name.
    huawei(config)#snmp-agent target-host trap-hostname user address 10.10.10.10 udp-port 162 trap-paramname aaa //Assume user is the host name, 10.10.10.10 is the destination IP address of the target host that receives the trap packet. 162 is the port, aaa is the name of the sending parameter list of the trap packet.
  • SNMP v1
    huawei(config)#snmp-agent community read public123 //public123 is the specified read community.
    huawei(config)#snmp-agent community write private123 //private123 is the specified write community.
    huawei(config)#snmp-agent trap enable standard
    huawei(config)#snmp-agent target-host trap-paramsname aaa v1 securityname bbb //Assume aaa is the list name, bbb is the security name.
    huawei(config)#snmp-agent target-host trap-hostname user address 10.10.10.10 udp-port 162 trap-paramname aaa //Assume user is the host name, 10.10.10.10 is the destination IP address of the target host that receives the trap packet. 162 is the port, aaa is the name of the sending parameter list of the trap packet.
Translation
Download
Updated: 2019-09-07

Document ID: EDOC1100011877

Views: 335946

Downloads: 673

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