Bounce a port via SSH
-
jjonsson - Associate
- Posts: 337
- Joined: Wed Nov 05, 2014 12:30 pm
- Location: Denmark
- Has thanked: 37 times
- Been thanked: 65 times
Bounce a port via SSH
What is the complete CLI command to bounce f.ex. port 4 now for 10 sec. ?
-
jakematic - Experienced Member
- Posts: 168
- Joined: Thu Jul 14, 2016 8:15 am
- Location: NC USA
- Has thanked: 362 times
- Been thanked: 87 times
Re: Bounce a port via SSH
- 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
-
jjonsson - Associate
- Posts: 337
- Joined: Wed Nov 05, 2014 12:30 pm
- Location: Denmark
- Has thanked: 37 times
- Been thanked: 65 times
Re: Bounce a port via SSH
Great!
But how long does it bounce ?
Immediately off/on, 10 sec. or ?
But how long does it bounce ?
Immediately off/on, 10 sec. or ?
-
jakematic - Experienced Member
- Posts: 168
- Joined: Thu Jul 14, 2016 8:15 am
- Location: NC USA
- Has thanked: 362 times
- Been thanked: 87 times
Re: Bounce a port via SSH
For 10 seconds - just like the GUI
Just tested with a device and timed it.
Just tested with a device and timed it.
- VMSystems
- Member
- Posts: 5
- Joined: Wed Dec 28, 2016 9:27 pm
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bounce a port via SSH
Forgive my ignorance...
The first command you type in the SSH window is "cmdline"
then
"touch /tmp/poe_override/4" for port 4
The first command you type in the SSH window is "cmdline"
then
"touch /tmp/poe_override/4" for port 4
5 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests