NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

0nPNNot's avatar
0nPNNot
Aspirant
Apr 22, 2021
Solved

Turning on and off POE via CGI requests

Dear community,

 

I would like to turn on and off the POE ports of my managed switch using CGI requests.

 

I noticed that my browser sends requests of this form to the switch when I toggle the state of a port:

https://192.168.8.173/cgi/set.cgi?cmd=poe_port&dummy=16...00&hash=6d91...df65

 

The switch returns the following error message when I attempt to reuse old CGI requests though:

 

{
	"logout":	true,
	"reason":	"notAuth"
}

 

 How can I produce valid CGI requests? Is there any API doccumentation that I can refer to?

  • Don't think there is a CGI API documentation available from Netgear.

     

    Using CGI for such a task is bad design - consider SNMP instead.

1 Reply

  • schumaku's avatar
    schumaku
    Guru - Experienced User

    Don't think there is a CGI API documentation available from Netgear.

     

    Using CGI for such a task is bad design - consider SNMP instead.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More