<?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 RE: Configure ELRP Script in End of Service Products</title>
    <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23273#M366</link>
    <description>That is more what we need. To find the access ports and vlan's then protect with ELRP. Can we change it to be periodic instead of one shot? Then add a UPM Timer to run it every day to find changes. &lt;BR /&gt;
&lt;BR /&gt;
1. Find Vlan's and Access ports then&lt;BR /&gt;
       enable elrp-client&lt;BR /&gt;
       configure elrp-client periodic (found vlan) ports (found ports) log-and-trap disable-port          permanent &lt;BR /&gt;
&lt;BR /&gt;
2.UPM- timer to run each day.&lt;BR /&gt;
&lt;BR /&gt;
think that would solve the issue.&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Mon, 04 Aug 2014 21:01:00 GMT</pubDate>
    <dc:creator>Mike28</dc:creator>
    <dc:date>2014-08-04T21:01:00Z</dc:date>
    <item>
      <title>Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23265#M358</link>
      <description>I understand that any scripts on here need to be tested out before placed on a production network. I am just trying to find a fast way to fix ELRP that was configured incorrectly on all ports. &lt;BR /&gt;
&lt;BR /&gt;
Right now it is enabled on all ports. The uplink ports are excluded from disable. So when the switch loops it sends it out the uplink port. &lt;BR /&gt;
&lt;BR /&gt;
Looking for some help with a script to enable ELRP only on untagged ports. Would like it to block a looped port permanently. Would like for this script to run daily to make sure any ports that change vlan's are covered. &lt;BR /&gt;
&lt;BR /&gt;
If you have ideas on a way to stop uplink ports from having ELRP enabled that would be great too!&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Sat, 02 Aug 2014 01:02:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23265#M358</guid>
      <dc:creator>Mike28</dc:creator>
      <dc:date>2014-08-02T01:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23266#M359</link>
      <description>Below script will run the elrp on all vlan and ports which are present on switch.&lt;BR /&gt;
&lt;BR /&gt;
step 1) Execute command "vi elrpscript.pol"&lt;BR /&gt;
Step 2) paste below script&lt;BR /&gt;
&lt;BR /&gt;
disable clipaging    enable elrp-client&lt;BR /&gt;
&lt;BR /&gt;
    set var sv "#ELRP POLL STARTED#"&lt;BR /&gt;
&lt;BR /&gt;
    show var sv&lt;BR /&gt;
&lt;BR /&gt;
    set var cli.out  0&lt;BR /&gt;
&lt;BR /&gt;
    show vlan&lt;BR /&gt;
&lt;BR /&gt;
    set var sv $TCL(split ${cli.out}  "\n")&lt;BR /&gt;
&lt;BR /&gt;
    set var e $TCL(lsearch  $sv  *(B)*)&lt;BR /&gt;
&lt;BR /&gt;
    set var i 5&lt;BR /&gt;
&lt;BR /&gt;
    set var e ($e - 1)&lt;BR /&gt;
&lt;BR /&gt;
    while ($i  &amp;lt; $e) do&lt;BR /&gt;
&lt;BR /&gt;
        set var cli.out  0&lt;BR /&gt;
&lt;BR /&gt;
        set var v $TCL(lindex  $sv  $i)&lt;BR /&gt;
&lt;BR /&gt;
        set var vn $TCL(lindex  $v 0)&lt;BR /&gt;
&lt;BR /&gt;
        set var z $TCL(regexp  {Mgmt}  $vn)&lt;BR /&gt;
&lt;BR /&gt;
        if ($z == 0) then&lt;BR /&gt;
&lt;BR /&gt;
             conf elrp-client one-shot $vn  port all print&lt;BR /&gt;
&lt;BR /&gt;
             set var p $TCL(split ${cli.out}  "\n")&lt;BR /&gt;
&lt;BR /&gt;
             set var p1 $TCL(lsearch  $p *NO*)&lt;BR /&gt;
&lt;BR /&gt;
             if ($p1 == -1) then&lt;BR /&gt;
&lt;BR /&gt;
                set var p1 $TCL(lindex  $p 2)&lt;BR /&gt;
&lt;BR /&gt;
                set var p2 $TCL(lindex  $p1 9)&lt;BR /&gt;
&lt;BR /&gt;
                set var p1 $TCL(lrange  $p1 0 6)&lt;BR /&gt;
&lt;BR /&gt;
                set var p1 $TCL(concat  $p1 $p2)&lt;BR /&gt;
&lt;BR /&gt;
                set var p2 $TCL(lindex  $p 3)&lt;BR /&gt;
&lt;BR /&gt;
                set var p2 $TCL(lrange  $p2 5 7)&lt;BR /&gt;
&lt;BR /&gt;
                set var p $TCL(concat  $p1 $p2)&lt;BR /&gt;
&lt;BR /&gt;
                show var p&lt;BR /&gt;
&lt;BR /&gt;
             else&lt;BR /&gt;
&lt;BR /&gt;
                set var p1 $TCL(lindex  $p 2)&lt;BR /&gt;
&lt;BR /&gt;
                set var p2 $TCL(lindex  $p1 10)&lt;BR /&gt;
&lt;BR /&gt;
                set var p1 $TCL(lrange  $p1 0 7)&lt;BR /&gt;
&lt;BR /&gt;
                set var p1 $TCL(concat  $p1 $p2)&lt;BR /&gt;
&lt;BR /&gt;
                show var p1&lt;BR /&gt;
&lt;BR /&gt;
             endif&lt;BR /&gt;
&lt;BR /&gt;
        endif&lt;BR /&gt;
&lt;BR /&gt;
        set var i ($i + 1)&lt;BR /&gt;
&lt;BR /&gt;
    endwhile&lt;BR /&gt;
&lt;BR /&gt;
    disable elrp-client&lt;BR /&gt;
&lt;BR /&gt;
    enable clipaging&lt;BR /&gt;
&lt;BR /&gt;
    set var sv "#ELRP POLL COMPLETED#"&lt;BR /&gt;
&lt;BR /&gt;
    show var sv&lt;BR /&gt;
&lt;BR /&gt;
Step 3) To run script "load script elrpscript"&lt;BR /&gt;
&lt;BR /&gt;
It will tell you on which port the loop is present.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:12:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23266#M359</guid>
      <dc:creator>Sumit_Tokle</dc:creator>
      <dc:date>2014-08-04T13:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23267#M360</link>
      <description>Sumit,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the reply. I will give it a test. On this script is it a one time run? I need to have something that will keep ELRP enabled all the time. But needs to check periodically for VLAN port changes. It is in a large network and people change untagged ports from one VLAN to another. I just want to make sure that we are still protected from loops. &lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Mike</description>
      <pubDate>Mon, 04 Aug 2014 17:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23267#M360</guid>
      <dc:creator>Mike28</dc:creator>
      <dc:date>2014-08-04T17:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23268#M361</link>
      <description>You could use UPM profile to invoke above profile after particular time period.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Aug 2014 19:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23268#M361</guid>
      <dc:creator>Sumit_Tokle</dc:creator>
      <dc:date>2014-08-04T19:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23269#M362</link>
      <description>When I run the script I get this error&lt;BR /&gt;
&lt;BR /&gt;
X460-24t.10 # load script elrpscript&lt;BR /&gt;
Cannot open EXSH script "/config/elrpscript.xsf"!&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Aug 2014 19:53:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23269#M362</guid>
      <dc:creator>Mike28</dc:creator>
      <dc:date>2014-08-04T19:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23270#M363</link>
      <description>I made mistake in step 1. Please change the file type from pol to xsf and run it again.</description>
      <pubDate>Mon, 04 Aug 2014 20:17:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23270#M363</guid>
      <dc:creator>Sumit_Tokle</dc:creator>
      <dc:date>2014-08-04T20:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23271#M364</link>
      <description>Can this script be modified to run only on the access ports of a switch or stack?</description>
      <pubDate>Mon, 04 Aug 2014 20:46:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23271#M364</guid>
      <dc:creator>moloughlin</dc:creator>
      <dc:date>2014-08-04T20:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23272#M365</link>
      <description>Everything is possible. &lt;BR /&gt;
&lt;BR /&gt;
You could write function which can help to find access port and then pass those port number to elrp command.</description>
      <pubDate>Mon, 04 Aug 2014 20:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23272#M365</guid>
      <dc:creator>Sumit_Tokle</dc:creator>
      <dc:date>2014-08-04T20:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23273#M366</link>
      <description>That is more what we need. To find the access ports and vlan's then protect with ELRP. Can we change it to be periodic instead of one shot? Then add a UPM Timer to run it every day to find changes. &lt;BR /&gt;
&lt;BR /&gt;
1. Find Vlan's and Access ports then&lt;BR /&gt;
       enable elrp-client&lt;BR /&gt;
       configure elrp-client periodic (found vlan) ports (found ports) log-and-trap disable-port          permanent &lt;BR /&gt;
&lt;BR /&gt;
2.UPM- timer to run each day.&lt;BR /&gt;
&lt;BR /&gt;
think that would solve the issue.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Aug 2014 21:01:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23273#M366</guid>
      <dc:creator>Mike28</dc:creator>
      <dc:date>2014-08-04T21:01:00Z</dc:date>
    </item>
    <item>
      <title>RE: Configure ELRP Script</title>
      <link>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23274#M367</link>
      <description>In our network I use the vlan default to monitor ELRP on the edge ports. I configure the edge ports in the vlan default (tagged).&lt;BR /&gt;
&lt;BR /&gt;
the reason: If I have por 1 in vlan1 and port2 in vlan2 and there is a connection on the switch between port 1 and 2 (this no loop on the network). Someone can make a wrong patch.....&lt;BR /&gt;
&lt;BR /&gt;
And one of those ports is disabled pemantent. &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2015 20:22:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/end-of-service-products/configure-elrp-script/m-p/23274#M367</guid>
      <dc:creator>JohanHendrikx</dc:creator>
      <dc:date>2015-02-11T20:22:00Z</dc:date>
    </item>
  </channel>
</rss>

