Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change the IPAddress with SNMP ?

Status
Not open for further replies.

apolyxrono

Programmer
Oct 27, 2006
5
GR
Hi everyone ,

I have an Access Point(3Com 7250) and i want to change its IPAddress using SNMP SET command. I tried to change it from the 3Com-private mib.The ASN syntax of this object in the MIB is :

netConfigIPAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION "....description...."
::= { enterpriseApIpMgt 1 }

But when i send a SET request (SNMPV2) i get this response:
errorIndex=1 , errorStatus=wrongType(7)

Does any one know why is that happening?
Is there any other way to change the IPAddress using the SNMP?

thanks
 
Thanks for your intersting but i solved this problem...I am using the SNMP4J library and i did not notice something in the snmp4j_usage.txt file...Thanks a lot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top