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 09

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 group v3 snmpv3group privacy //snmpv3group is the specified user group.
    huawei(config)#snmp-agent usm-user v3 snmpv3user snmpv3group //snmpv3user is the specified user name.
    huawei(config)#snmp-agent usm-user v3 snmpv3user snmpv3group authentication-mode sha authkey123 //Set the authentication password.
    huawei(config)#snmp-agent usm-user v3 snmpv3user snmpv3group privacy-mode aes128 prikey123 //Set the encryption password.
    huawei(config)#snmp-agent trap enable standard
    huawei(config)#snmp-agent target-host trap-paramsname aaa v3 securityname bbb authentication //Assume aaa is the list name, bbb is the security name, and the trap packet is authenticated but is not encrypted.
    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 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.
Download
Updated: 2019-05-17

Document ID: EDOC1100011877

Views: 287240

Downloads: 551

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