Automated method to call POE reboot of given interface port
Posted: Mon Jun 03, 2024 4:31 pm
Hello,
We are heavy users of Netonix (well over 100 deployed), and have automated many of our sanity checking and reporting functions using ssh and scripts written around “switch -d”.
What we are missing is the ability to reboot a specific port via the ssh interface, in an automated way. Eg a way to login on ssh and do: configure; interface port 8; poe off; exit; exit; (hit enter); (wait 10s); interface port 8; poe 24V; exit; exit; (hit enter); exit.
Has anyone solved this?
Or are we doomed to writing a (risky) expect script to solve this?
Again, we are trying to automate in ssh the equivalent to the web interface “gear -> Bounce POE” so we can trigger it given specific conditions.
Best,
We are heavy users of Netonix (well over 100 deployed), and have automated many of our sanity checking and reporting functions using ssh and scripts written around “switch -d”.
What we are missing is the ability to reboot a specific port via the ssh interface, in an automated way. Eg a way to login on ssh and do: configure; interface port 8; poe off; exit; exit; (hit enter); (wait 10s); interface port 8; poe 24V; exit; exit; (hit enter); exit.
Has anyone solved this?
Or are we doomed to writing a (risky) expect script to solve this?
Again, we are trying to automate in ssh the equivalent to the web interface “gear -> Bounce POE” so we can trigger it given specific conditions.
Best,