Manage PoE

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
  • (Edited)
Hi all !
I need turn on/off power on PoE ports from my application, not from web interface. Can I solve this task using automated telnet or SNMP commands for some switch models?
Photo of Igor Tsukerman

Igor Tsukerman

  • 80 Points 75 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Rich Pacheco

Rich Pacheco

  • 966 Points 500 badge 2x thumb
On the EOS switches (B-Series, C-Series, etc.), the commands to enable/disable are

set port inlinepower ge.x.x admin auto - enables PoE
set port inlinepower ge.x.x admin off - disables PoE

I'm not sure what the equivalent commands are for the EXOS switches.

I hope this helps.

Regards,
-Rich P.
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
On EXOS you can disable/enable PoE with the following commands:

  • To shut down PoE power currently provided on all ports on all slots.
                 disable inline-power

  • To shut down PoE power currently provided to all ports or to specified ports.
                 disable inline-power ports [all | port_list]

  • To enable PoE power currently provided on all ports on all slots.
                 enable inline-power

  • To enable PoE power currently provided to all ports or to specified ports.
                 enable inline-power ports [all | port_list]

Please see the articles below with more information:

EXOS:

https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-enable-disable-inline-power-PoE-in-...

EOS:

https://gtacknowledge.extremenetworks.com/articles/How_To/How-do-you-enable-disable-POE-on-SecureSta...
Photo of Igor Tsukerman

Igor Tsukerman

  • 80 Points 75 badge 2x thumb
Thanks all!
I understand that it concerns management through telnet.
Especially I'm interested in the power management using SNMP,  i.e. Power over Ethernet MIB(rfc 3621).
Photo of Steven Lin

Steven Lin, Employee

  • 2,328 Points 2k badge 2x thumb
Hello Igor,
We provide the slot POE admin status through SNMP currently as below to control whether inline power is provided by the slot.
 .1.3.6.1.4.1.1916.1.27.1.2.1.9

Regarding the "Location of Extreme Networks MIBs", please go through below article.
https://gtacknowledge.extremenetworks.com/articles/Q_A/Location-of-Extreme-Network-MIBs-Management-I...
Photo of Jason Parker

Jason Parker, Employee

  • 3,038 Points 3k badge 2x thumb
Another tool you can use via ssh or telnet is placing the commands in Extreme Management Center or the previous application Netsight Console but using the feature "execute command script"
Jason
Photo of Roy Noh

Roy Noh, Employee

  • 1,442 Points 1k badge 2x thumb
Hello Igor,

EXOS supports both RFC 3621 and EXTREME-PoE-MIB but all the OIDs are supported read-only.

http://documentation.extremenetworks.com/exos_22.1/EXOS_21_1/Configuration_Management_Enhancements/r...
http://documentation.extremenetworks.com/exos_22.1/EXOS_21_1/Configuration_Management_Enhancements/r...

So, I think you need to find another way to manage your PoE switches.
As Jason wrote above, how about using some scripts instead?