POE shutdown startup times WS-8-150-DC

cherwilco
Member
 
Posts: 27
Joined: Mon Jun 03, 2019 2:32 pm
Has thanked: 3 times
Been thanked: 1 time

POE shutdown startup times WS-8-150-DC

Fri Oct 09, 2020 6:59 pm

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?

cherwilco
Member
 
Posts: 27
Joined: Mon Jun 03, 2019 2:32 pm
Has thanked: 3 times
Been thanked: 1 time

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

Wed Oct 28, 2020 2:00 pm

bumping for visibility, is there at least an ssh library of commands I could get?

User avatar
Stephen
Employee
Employee
 
Posts: 965
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 77 times
Been thanked: 169 times

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

Wed Oct 28, 2020 2:26 pm

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.

cherwilco
Member
 
Posts: 27
Joined: Mon Jun 03, 2019 2:32 pm
Has thanked: 3 times
Been thanked: 1 time

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

Wed Oct 28, 2020 2:28 pm

awesome thank you Stephen

can the third command be

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

User avatar
Stephen
Employee
Employee
 
Posts: 965
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 77 times
Been thanked: 169 times

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

Wed Oct 28, 2020 2:36 pm

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]

cherwilco
Member
 
Posts: 27
Joined: Mon Jun 03, 2019 2:32 pm
Has thanked: 3 times
Been thanked: 1 time

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

Wed Oct 28, 2020 2:38 pm

awesome thanks again

User avatar
Stephen
Employee
Employee
 
Posts: 965
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 77 times
Been thanked: 169 times

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

Wed Oct 28, 2020 2:42 pm

You're welcome.

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 20 guests