Got it

SNS FC switch SNMP v1 configuration example

515 0 13 0 8

First check the status of snmpv1. If it is disabled, you need to enable it manually (the snmpv1 status of the SNS switch is disabled by default).

admin> snmpconfig --show snmpv1

SNMPv1 community and trap recipient configuration:
Community 1: Huawei12#$ (rw)
No trap recipient configured yet
Community 2: Huawei12#$ (rw)
No trap recipient configured yet
Community 3: Huawei12#$ (rw)
No trap recipient configured yet
Community 4: Huawei12#$ (ro)
No trap recipient configured yet
Community 5: Huawei12#$ (ro)
No trap recipient configured yet
Community 6: Huawei12#$ (ro)
No trap recipient configured yet
SNMPv1:Disabled

Enable snmpv1:

admin> snmpconfig --enable snmpv1
Committing configuration.....done.

Configure Community 

admin> snmpconfig --set snmpv1

SNMP community and trap recipient configuration:
Community (rw): [Huawei12#$]
Trap Recipient's IP address : [0.0.0.0] 10.10.10.2
Trap recipient Severity level : (0..5) [0] 4
Trap recipient Port : (0..65535) [162] 162
Community (rw): [Huawei12#$]
Trap Recipient's IP address : [0.0.0.0]
Community (rw): [Huawei12#$]
Trap Recipient's IP address : [0.0.0.0]
Community (ro): [Huawei12#$]
Trap Recipient's IP address : [0.0.0.0]
Community (ro): [Huawei12#$]
Trap Recipient's IP address : [0.0.0.0]
Community (ro): [Huawei12#$]
Trap Recipient's IP address : [0.0.0.0]
Committing configuration.....done.

Test send trap:

admin> snmptraps --send
Number of traps sent : 26


Comment

You need to log in to comment 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 " 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.