We didn't support the enable/disable PoE function in private MIB.
However, user may enable/disable PoE function via standard MIB - POWER-ETHERNET-MIB.
[SNMPSET command format]
snmpset -v 2c -c public {switch ip} { pethPsePortAdminEnable }.{ pethPsePortGroupIndex }.{ pethPsePortIndex } {integer} {value}
For pethPsePortAdminEnable, OID 1.3.6.1.2.1.105.1.1.1.3
Set OID 1.3.6.1.2.1.105.1.1.1.3 to true(1) to enable PoE function.
Set OID 1.3.6.1.2.1.105.1.1.1.3 to false(2) to disable PoE function.
For pethPsePortGroupIndex:
This variable uniquely identifies the group containing the port to which a power Ethernet PSE is connected. Group means box in the stack, module in a rack and the value 1 MUST be used for non-modular devices.
For pethPsePortIndex:
This variable uniquely identifies the power Ethernet PSE port within group pethPsePortGroupIndex to which the power Ethernet PSE entry is connected.
For example:
(1) Disabled PoE function on eth 1/3.
C:\>snmpset -v 2c -c private 192.168.1.1 1.3.6.1.2.1.105.1.1.1.3.1.3 i 2 SNMPv2-SMI::mib-2.105.1.1.1.3.1.3 = INTEGER: 2
Console#show power inline status ethernet 1/3 Time Max Used Interface Admin Range Oper Class Power Power Priority --------- -------- -------- ---- ----- -------- -------- -------- Eth 1/ 3 Disabled -- Off - Class 0 mW Low
(2) Enabled PoE function on eth 1/4.
C:\>snmpset -v 2c -c private 192.168.1.1 1.3.6.1.2.1.105.1.1.1.3.1.4 i 1 SNMPv2-SMI::mib-2.105.1.1.1.3.1.4 = INTEGER: 1
Console#show power inline status ethernet 1/4 Time Max Used Interface Admin Range Oper Class Power Power Priority --------- -------- -------- ---- ----- -------- -------- -------- Eth 1/ 4 Enabled -- Off - Class 0 mW Low
Next Page How to configure the input/output rate limit per port via SNMP ?