<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Script to enable/disable inline-power based on vlan membership. in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/script-to-enable-disable-inline-power-based-on-vlan-membership/m-p/20731#M278</link>
    <description>Create Date: Apr  2 2013 11:08AM&lt;BR /&gt;
&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
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?&lt;BR /&gt;
&lt;BR /&gt;
We are running XOS 15.1 and the switches concerned are Summit x250e-48p.&lt;BR /&gt;
&lt;BR /&gt;
  (from Stephen_Furley)</description>
    <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
    <dc:creator>EtherNation_Use</dc:creator>
    <dc:date>2014-01-08T05:50:00Z</dc:date>
    <item>
      <title>Script to enable/disable inline-power based on vlan membership.</title>
      <link>https://community.extremenetworks.com/t5/scripting/script-to-enable-disable-inline-power-based-on-vlan-membership/m-p/20731#M278</link>
      <description>Create Date: Apr  2 2013 11:08AM&lt;BR /&gt;
&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
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?&lt;BR /&gt;
&lt;BR /&gt;
We are running XOS 15.1 and the switches concerned are Summit x250e-48p.&lt;BR /&gt;
&lt;BR /&gt;
  (from Stephen_Furley)</description>
      <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/script-to-enable-disable-inline-power-based-on-vlan-membership/m-p/20731#M278</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:50:00Z</dc:date>
    </item>
  </channel>
</rss>

