Got it

How to alter value of iBMC via SNMP protocol

203 0 1 0 0

[Issue Description]

[Problem Description] Customer asks, how to alter value "sysContact" via SNMP protocol in iBMC of Huawei server?

[Server model] RH1288 V3

[iBMC Version] 3.30


[Solution]

1.we queied the user guide of iBMC SNMP API description, then get the OID of this parameter. link:https://support.huawei.com/enterprise/en/doc/EDOC1100070049?idPath=23710424|251364409|21782478|9901873


001



2.then we queried the SNMP help document, we got the command to set the "sysContact" parameter, command:

this isthe command which query the value: 
snmpget -v3 -u root -l priv -a SHA -x AES -A 'yourbmcpassword' -X 'yourbmcpassword' .1.3.6.1.2.1.1.4.0 

this is the command which set a new value to "ChinaGSC"
snmpset -v3 -u root -l priv -a SHA -x AES -A 'yourbmcpassword' -X 'yourbmcpassword' .1.3.6.1.2.1.1.4.0 s 'ChinaGSC'

002











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.