Page 1 of 1

Bounce a port via SSH

Posted: Tue Jul 18, 2017 3:18 am
by jjonsson
What is the complete CLI command to bounce f.ex. port 4 now for 10 sec. ?

Re: Bounce a port via SSH

Posted: Tue Jul 18, 2017 7:30 am
by jakematic
Code: Select all
cmdline
touch /tmp/poe_override/4


Works the same as the GUI

You'll see this in the log:

Code: Select all
Jul 18 07:27:45 switch[1364]: Port 6 Link: changed from poe override
 

Re: Bounce a port via SSH

Posted: Tue Jul 18, 2017 7:46 am
by jjonsson
Great!

But how long does it bounce ?

Immediately off/on, 10 sec. or ?

Re: Bounce a port via SSH

Posted: Tue Jul 18, 2017 8:10 am
by jakematic
For 10 seconds - just like the GUI
Just tested with a device and timed it.

Re: Bounce a port via SSH

Posted: Fri Feb 02, 2024 6:03 am
by VMSystems
Forgive my ignorance...

The first command you type in the SSH window is "cmdline"

then

"touch /tmp/poe_override/4" for port 4