How do I control the PoE ports on my TP-SWxG-2SFP PoE switch using SNMP?

The TP-SW4G-2SFP and TP-SW8G-2SFP are fully manageable PoE switches.

You can turn the PoE ports on and off through SNMP.

Requirement:

Firmware must be V2.1 or newer. You can get the latest firmware at tyconsystems.com on the support page.

MIB files are also available on tyconsystems.com support page. The MIB for PoE port control is titled VTSS-POE-MIB.  The OID for POE Port control is: 1.3.6.1.4.1.6603.1.43.1.2.3.1.1.2.

  1. Port numbers are designated as follows:
  2. Port 1 = 1000001
  3. Port 2 = 1000002
  4. Port 3 = 1000003
  5. Port 4 = 1000004 etc.

The values to use to set the port action are as follows:

  1. disable = 0
  2. 802.3af = 1
  3. 802.3at = 2

So to turn off the power to port 4 Set value of 1.3.6.1.4.1.6603.1.43.1.2.3.1.1.2.1000004 = 0

To turn on power to port 4 with mode = 802.3at Set value of 1.3.6.1.4.1.6603.1.43.1.2.3.1.1.2.1000004 = 2