Script to enable/disable inline-power based on vlan membership.

  • 0
  • 1
  • Question
  • Updated 5 years ago
Create Date: Apr 2 2013 11:08AM

Last week I needed to reset the inline-power on a single port at midnight each day to solve a problem with a 'phone.  I found the solution for this on EtherNation using a UPM profile and timer, and it works fine.

I now want to something else which I'm sure must be possible somehow, but I can't work out how.  What I want to be able to do is to enable or disable inline-power on a number of ports on a switch or stack based on vlan membership, e.g. to disable it on all ports which are not members of a particular vlan.  Any ideas?  I am guessing that this would involve setting up a loop, or two nested loops for a stack, and then testing the vlan membership of each port in turn, but How would I do this?

We are running XOS 15.1 and the switches concerned are Summit x250e-48p.

(from Stephen_Furley)
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb

Posted 5 years ago

  • 0
  • 1

There are no replies.

This conversation is no longer open for comments or replies.