Page 1 of 1

POE shutdown startup times WS-8-150-DC

Posted: Fri Oct 09, 2020 6:59 pm
by cherwilco
we have the need to shut off and startup devices based on a schedule and we currently use the available options under the power tab to do so but... is there any hope for a feature request to add more granular control? ie: I can currently shut off and turn back on at the same time everyday... but what if I dont want to turn a port off on tuesdays and thursdays for example?

Or is there a way to config poe power via ssh so that I might be able to just schedule this with a small program? if so what is the ssh command to turn off poe on port 3 for example?

Re: POE shutdown startup times WS-8-150-DC

Posted: Wed Oct 28, 2020 2:00 pm
by cherwilco
bumping for visibility, is there at least an ssh library of commands I could get?

Re: POE shutdown startup times WS-8-150-DC

Posted: Wed Oct 28, 2020 2:26 pm
by Stephen
Say you want to set port 1 to 48VH, once you have ssh'd into the device, the commands are:

Code: Select all
conf t
int port 1
poe 48VH
end
<cr>


The CLI is designed to match the format of the cisco CLI, so it is self-documenting, press the "?" to see a list of commands available.

Re: POE shutdown startup times WS-8-150-DC

Posted: Wed Oct 28, 2020 2:28 pm
by cherwilco
awesome thank you Stephen

can the third command be

poe Off
or
poe 48 (for non VH devices?)

Re: POE shutdown startup times WS-8-150-DC

Posted: Wed Oct 28, 2020 2:36 pm
by Stephen
It will vary by port, depending on that ports capabilities. But the CLI will itself tell you.

Once you're in the config for the port, as in here:
Code: Select all
conf t
int port 1


Type "poe ?" to get a list of PoE options for that port.

Before you script it I would recommend checking the ports you intend to automate manually to make sure they support what you intend to do.

But generally, the options are:
Code: Select all
poe [Off/24V/24VH/48V/48VH]

Re: POE shutdown startup times WS-8-150-DC

Posted: Wed Oct 28, 2020 2:38 pm
by cherwilco
awesome thanks again

Re: POE shutdown startup times WS-8-150-DC

Posted: Wed Oct 28, 2020 2:42 pm
by Stephen
You're welcome.