How can I configure an S series switch running SNMP to send traps to an NMS

Created: Jun 24, 2019 15:32:46Latest reply: Jun 24, 2019 15:33:10 47 1 0 0
  Rewarded Hi-coins: 0 (problem resolved)

How can I configure an S series switch running SNMP to send traps to an NMS

  • x
  • convention:

Featured Answers
Official Created Jun 24, 2019 15:33:10 Helpful(0) Helpful(0)

You can run the snmp-agent target-host trap command to configure an S series switch (except the S1700) running SNMP to send traps to a specified NMS.
Example:
1. SNMPv1
[HUAWEI] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname huawei123 v1
2. SNMPv2c
[HUAWEI] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname huawei123 v2c
3. SNMPv3
[HUAWEI] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname huawei123 v3
Note:
For SNMPv3, securityname in the command must be configured as the user name on the NMS and switch running SNMP. The NMS can receive traps from a switch running SNMP only after passing the securityname verification (including authentication and encryption modes).
For SNMPv1 and SNMPv2c, the NMS can receive traps from all switches running SNMP without verifying the securityname parameter. securityname is used to distinguish multiple switches running SNMP that send traps.
  • x
  • convention:

All Answers
All_About_Switch Official Created Jun 24, 2019 15:33:10 Helpful(0) Helpful(0)

You can run the snmp-agent target-host trap command to configure an S series switch (except the S1700) running SNMP to send traps to a specified NMS.
Example:
1. SNMPv1
[HUAWEI] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname huawei123 v1
2. SNMPv2c
[HUAWEI] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname huawei123 v2c
3. SNMPv3
[HUAWEI] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname huawei123 v3
Note:
For SNMPv3, securityname in the command must be configured as the user name on the NMS and switch running SNMP. The NMS can receive traps from a switch running SNMP only after passing the securityname verification (including authentication and encryption modes).
For SNMPv1 and SNMPv2c, the NMS can receive traps from all switches running SNMP without verifying the securityname parameter. securityname is used to distinguish multiple switches running SNMP that send traps.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top