Set IP address device via SNMP request

Set IP address device via SNMP request

Set IP address device via SNMP request
Set IP address device via SNMP request
2025-05-08 07:23:50 - last edited 2025-05-09 02:47:32
Hardware Version: V2
Firmware Version: 2.0.6 Build 20200805 Rel.57865

Hi all, can anybody share an OID`s sequences for setting the IP address, subnet mask, and Default Gateway via SNMP for a T1500G-10PS 2.0 device?

  0      
  0      
#1
Options
1 Accepted Solution
Re:Set IP address device via SNMP request-Solution
2025-05-09 02:47:23 - last edited 2025-05-09 02:47:32

Hi @Serhii29 

Thanks for posting in our business forum.

Go to the support page, you'll find it.

https://www.tp-link.com/en/support/download/t1500g-10ps/#MIBs_Files

Recommended Solution
  1  
  1  
#2
Options
5 Reply
Re:Set IP address device via SNMP request-Solution
2025-05-09 02:47:23 - last edited 2025-05-09 02:47:32

Hi @Serhii29 

Thanks for posting in our business forum.

Go to the support page, you'll find it.

https://www.tp-link.com/en/support/download/t1500g-10ps/#MIBs_Files

Recommended Solution
  1  
  1  
#2
Options
Re:Set IP address device via SNMP request
2025-05-09 06:33:53

  @Clive_A Hi Sir, I have investigated MIB files before writing here and didn't find a solution. 
I think I can change IP on oid .1.3.6.1.4.1.11863.6.6.1.1.1.1.4 (information from tplink-ipAddr.mib file.)
example of "walk" command stdout:
snmpwalk -v2c -c public 192.168.0.1  .1.3.6.1.4.1.11863.6.6.1.1.1.1.4
SNMPv2-SMI::enterprises.11863.6.6.1.1.1.1.4.1.192.168.0.1.0 = IpAddress: 192.168.0.1
But in mib file:
    tpVlanInterfaceIp OBJECT-TYPE
        SYNTAX  IpAddress  
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The IP address of the VLAN interface."
        ::= { tpVlanInterfaceConfigEntry 4 }

This oid has read-only status!!!!

I didn't find any other OID with an opportunity to set IP. That is why I ask about it here.

  0  
  0  
#3
Options
Re:Set IP address device via SNMP request
2025-05-09 07:29:27

Hi @Serhii29 

Thanks for posting in our business forum.

Serhii29 wrote

  @Clive_A Hi Sir, I have investigated MIB files before writing here and didn't find a solution. 
I think I can change IP on oid .1.3.6.1.4.1.11863.6.6.1.1.1.1.4 (information from tplink-ipAddr.mib file.)
example of "walk" command stdout:
snmpwalk -v2c -c public 192.168.0.1  .1.3.6.1.4.1.11863.6.6.1.1.1.1.4
SNMPv2-SMI::enterprises.11863.6.6.1.1.1.1.4.1.192.168.0.1.0 = IpAddress: 192.168.0.1
But in mib file:
    tpVlanInterfaceIp OBJECT-TYPE
        SYNTAX  IpAddress  
        MAX-ACCESS  read-only
        STATUS  current
        DESCRIPTION
            "The IP address of the VLAN interface."
        ::= { tpVlanInterfaceConfigEntry 4 }

This oid has read-only status!!!!

I didn't find any other OID with an opportunity to set IP. That is why I ask about it here.

Many are read-only. And we don't have plans to offer the option to modify.

If that's the case, unfortunately, there isn't a workaround.

  1  
  1  
#4
Options
Re:Set IP address device via SNMP request
2025-05-09 07:56:59

  @Clive_A Can you confirm or deny the information regarding the possibility of establishing an IP address via an SNMP request?

  0  
  0  
#5
Options
Re:Set IP address device via SNMP request
2025-05-09 08:00:41

  @Clive_A I`m working on writing scripts to manage TP-Link devices via SNMP, so this information will be useful. 

  0  
  0  
#6
Options