NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
velis
Jun 21, 2016Aspirant
What are commands dealing with PoE on a M4100 type switch
I would like to power-manage devices connected to the switch, e.g. turn them off for the night. I wanted to write a CRON job (I'm assuming the switch in question is running CRON) which would do th...
- Jun 28, 2016
Hi velis,
I have inquired your concern to a higher tier of NETGEAR Support. I'm afraid to inform you that it is not possible to do what you require unfortunately. Via the CLI access, it is only possible to run commands capable of applying/editing changes to the configuration of the switch not any changes to the OS of the switch.
Regards,
DaneA
NETGEAR Community Team
DaneA
Jun 23, 2016NETGEAR Employee Retired
Hi velis,
I am not familiar about writing a CRON job. However, from your initial post you mentioned about port power usage status and activate/deactivate power to a port, I think these can be monitored and be configured respectively via the web-GUI of the M4100 switch. Kindly read pages 76-83 of the M4100 Series Managed Switch user manual here.
About the CLI access, you could only perform PoE commands as per indicated on the M4100 Series Managed Switch CLI reference manual here.
Regards,
DaneA
NETGEAR Community Team
velis
Jun 23, 2016Aspirant
I'm already managing both of the suggestions.
However, I need a bit more power:
I need to periodically run a script that would check a few things and if needed, reset the port affected. TBH, I just need to ping to see if the device is still alive on the other side and then reset it if it's not. That's the gist of it.
I don't know if a CRON job is even a possibility: I have seen that the switch supports SSH connections, but I'm not sure that would give me a "standard" unix prompt. Will check during one of the next steps. Anyway, the manual I linked to mentions a different way of executing scripts and I'm not sure those can even be scheduled. So far I have only seen manual execution instructions.
I have also seen some timer & scheduling in the HTML interface, but that can only be set up for running once a day. I need a check as often as 5 minutes.
- DaneAJun 28, 2016NETGEAR Employee Retired
Hi velis,
I have inquired your concern to a higher tier of NETGEAR Support. I'm afraid to inform you that it is not possible to do what you require unfortunately. Via the CLI access, it is only possible to run commands capable of applying/editing changes to the configuration of the switch not any changes to the OS of the switch.
Regards,
DaneA
NETGEAR Community Team
- JohnRoJul 01, 2016NETGEAR Employee Retired
Hi velis,
We’d greatly appreciate hearing your feedback letting us know if the information we provided has helped resolve your issue or if you need further assistance.
If your issue is now resolved we encourage you to mark the appropriate reply as the “Accepted Solution” so others can be confident in benefiting from the solution. The Netgear community looks forward to hearing from you and being a helpful resource in the future!Thanks,
- velisJul 01, 2016Aspirant
Yes, I'm sorry, was on vacation and didn't have my password manager with me.
I definitely appreciate a definitive answer on the topic. I have completed my analysis a few days before and concluded something along these lines. As a result an alternative solution was accepted into implementation where the actuators will be the devices plugged into the switch. They will perform the checks necessary as well as telnet to the switch to reset a faulty device.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!