× NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Orbi WiFi 7 RBE973
Reply

Turning on and off POE via CGI requests

0nPNNot
Aspirant

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?

Model: GS310TP|NETGEAR® S350 Series 8-Port Gigabit PoE+ Ethernet Smart Managed Pro Switch with 2 SFP Ports
Message 1 of 2

Accepted Solutions
schumaku
Guru

Re: Turning on and off POE via CGI requests

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

 

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

View solution in original post

Message 2 of 2

All Replies
schumaku
Guru

Re: Turning on and off POE via CGI requests

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

 

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

Message 2 of 2
Top Contributors
Discussion stats
  • 1 reply
  • 1114 views
  • 1 kudo
  • 2 in conversation
Announcements