Got it

Traps in standard format and private format

Created: Jan 27, 2022 06:44:36Latest reply: Jan 28, 2022 10:30:29 178 4 0 0 0
  HiCoins as reward: 0 (problem unresolved)

Hi team!


We use Huawei MA5600T and want to configure the system to use standard traps and private traps.

Version: V800R013


In addition, I would like to know how to distinguish the two trap formats.


Thanks.

Featured Answers

Recommended answer

Nino_Chou
Admin Created Jan 27, 2022 06:47:39

Hi friend.


You could use the huawei(config)#snmp-agent trap-format standard/private command to configure the system to use traps in standard format or private format.

When a Huawei NMS is used, the device needs to report traps in a private format. You can run this command to set the trap reporting format to a private format. When a non-Huawei NMS is used, the device needs to report traps in a standard format, you can run this command to set the trap reporting format to a standard format.


For more information about this command, click:

snmp-agent trap-format


The difference between the two formats is as follows: Each bound variable in a trap packet in the standard format has its own OID. The OID of the bound variable in a trap packet in the private format is the OID of the product type.


Thanks.

View more
  • x
  • convention:

simchamnan
simchamnan Created Jan 27, 2022 08:19:01 (0) (0)
 
All Answers

Hi friend.


You could use the huawei(config)#snmp-agent trap-format standard/private command to configure the system to use traps in standard format or private format.

When a Huawei NMS is used, the device needs to report traps in a private format. You can run this command to set the trap reporting format to a private format. When a non-Huawei NMS is used, the device needs to report traps in a standard format, you can run this command to set the trap reporting format to a standard format.


For more information about this command, click:

snmp-agent trap-format


The difference between the two formats is as follows: Each bound variable in a trap packet in the standard format has its own OID. The OID of the bound variable in a trap packet in the private format is the OID of the product type.


Thanks.

View more
  • x
  • convention:

simchamnan
simchamnan Created Jan 27, 2022 08:19:01 (0) (0)
 
good
View more
  • x
  • convention:

Nice
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.