Need to power-cycle a poe port on an edge route / edge switch?
/usr/sbin/ubnt-ifctl power-cycle eth4 10
Boom, the undocumented command above causes the specified port interface to cycle power. It will wait for 10 seconds before turning the power back on.
If you have deployed a monitoring automation, you can use the above option to now power-cycle the port in question and assure that it will come back up.
Ben has been building VoIP solutions for over 15 years, has over 25 years of Linux administration experience, and enjoys problem-solving. When he is not coding something in Python, or tinkering with some project, you can often find him wandering through the forests and parks of the Pacific Northwest enjoying waterfalls, trails, and animals.