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

Forum Discussion

JBultman's avatar
JBultman
Follower
Jan 24, 2025

M4300-96X REST API - Issue Querying Ports 65-96

Since I still have not received a response to the support email I sent over a week ago, I figure I will ask the same questions here in hopes of getting some answers.

 

I have been working on a script for Q-Sys to interface with the REST API on an M4300-96X switch. My script is able to connect and query port information for the first 64 ports on the switch but attempting to query information for ports 65-96 results in an “Invalid portid” error.

 

Why does the API appear to ignore the ports in modules 9-12?

 

Also, the “sw_portstats” and “swcfg_poe” commands do not appear to accept “ALL” as a portid value even though the REST API reference manual claims it should work. Is there a newer version of the manual with a more accurate command list? I am using the December 2020 version of the document #207-10252-01 which lists API version 2.0.0.59.

 

The switch is running firmware version 12.0.19.4

I have no modules installed in the first four slots, an APM408C module in slot 5, an APM408F module in slot 6, and APM402XL modules in slots 7-12 running in 4x10Gig expanded port mode.

 

No RepliesBe the first to reply

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