<?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 How to get the possible port range on a switch within a script? in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/how-to-get-the-possible-port-range-on-a-switch-within-a-script/m-p/19331#M59</link>
    <description>Create Date: Jun 22 2012  2:04AM&lt;BR /&gt;
&lt;BR /&gt;
Hi!&lt;BR /&gt;
&lt;BR /&gt;
 I want to write a script for Ridgeline that enables 802.1x on all ports that have MAC authentication enabled. The problem now is that I've following x450e setups:&lt;BR /&gt;
&lt;BR /&gt;
 &lt;UL&gt;     24 Port     48 Port     48 + 24 Port (stacked)     48 + 48 Port (stacked) &lt;/UL&gt; Whats the best way to get the port range used on this stack/switch so I can execute for example:&lt;BR /&gt;
&lt;BR /&gt;
 enable netlogin ports 1:1-48, 2:1-24 dot1x&lt;BR /&gt;
&lt;BR /&gt;
 Thx for your help.&lt;BR /&gt;
&lt;BR /&gt;
  (from Robert_Penz)</description>
    <pubDate>Wed, 08 Jan 2014 05:49:00 GMT</pubDate>
    <dc:creator>EtherNation_Use</dc:creator>
    <dc:date>2014-01-08T05:49:00Z</dc:date>
    <item>
      <title>How to get the possible port range on a switch within a script?</title>
      <link>https://community.extremenetworks.com/t5/scripting/how-to-get-the-possible-port-range-on-a-switch-within-a-script/m-p/19331#M59</link>
      <description>Create Date: Jun 22 2012  2:04AM&lt;BR /&gt;
&lt;BR /&gt;
Hi!&lt;BR /&gt;
&lt;BR /&gt;
 I want to write a script for Ridgeline that enables 802.1x on all ports that have MAC authentication enabled. The problem now is that I've following x450e setups:&lt;BR /&gt;
&lt;BR /&gt;
 &lt;UL&gt;     24 Port     48 Port     48 + 24 Port (stacked)     48 + 48 Port (stacked) &lt;/UL&gt; Whats the best way to get the port range used on this stack/switch so I can execute for example:&lt;BR /&gt;
&lt;BR /&gt;
 enable netlogin ports 1:1-48, 2:1-24 dot1x&lt;BR /&gt;
&lt;BR /&gt;
 Thx for your help.&lt;BR /&gt;
&lt;BR /&gt;
  (from Robert_Penz)</description>
      <pubDate>Wed, 08 Jan 2014 05:49:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/how-to-get-the-possible-port-range-on-a-switch-within-a-script/m-p/19331#M59</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to get the possible port range on a switch within a script?</title>
      <link>https://community.extremenetworks.com/t5/scripting/how-to-get-the-possible-port-range-on-a-switch-within-a-script/m-p/19332#M60</link>
      <description>Create Date: Aug  3 2012  6:11AM&lt;BR /&gt;
&lt;BR /&gt;
I would have a script parse through a "show config netlogin" command and grab all the ports with the "enable netlogin  port mac". Once the ports are added to a list, then they can easily be added to a "enable netlogin ports  dot1x" command. &lt;BR /&gt;
&lt;BR /&gt;
  (from john_padilla)</description>
      <pubDate>Wed, 08 Jan 2014 05:49:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/how-to-get-the-possible-port-range-on-a-switch-within-a-script/m-p/19332#M60</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:49:00Z</dc:date>
    </item>
  </channel>
</rss>

