<?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: Netsight ELRP script in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40467#M5054</link>
    <description>I assume you mean the script ended up removing ELRP from all VLANs. I've been testing it from the CLI. I'll test it from NS when I have a chance.&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Fri, 29 Apr 2016 00:58:00 GMT</pubDate>
    <dc:creator>Matthew_Helm1</dc:creator>
    <dc:date>2016-04-29T00:58:00Z</dc:date>
    <item>
      <title>Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40453#M5040</link>
      <description>Hi All&lt;BR /&gt;
&lt;BR /&gt;
I need to change the settings of ELRP interval. I have found this script which i am sure can be used in Netsight.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&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;
&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;BR /&gt;
But am unsure as to how much of it i need. All I need to do is conf elrp-client periodic vlan ($variable) ports all interval 20&lt;BR /&gt;
&lt;BR /&gt;
The above sript does way more, so i assume i can delete parts of it. Does anyone know which ones?&lt;BR /&gt;
&lt;BR /&gt;
Also would i need to add excluded ports to the script even though it has already been defined.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Apr 2016 21:18:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40453#M5040</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-04-13T21:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40454#M5041</link>
      <description>Changing the interval is a bit more complicated. If you were to try to change the interval of an existing elrp-client configuration, you would get a error message like: "ERROR: An active session already exists for "CLI:Default" !" &lt;BR /&gt;
&lt;BR /&gt;
I can write a script that checks current configuration of elrp and changes the interval, if you'd like.</description>
      <pubDate>Thu, 14 Apr 2016 03:59:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40454#M5041</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-14T03:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40455#M5042</link>
      <description>#This script updates the interval on eljrp-client sessions&lt;BR /&gt;
# set the variable below&lt;BR /&gt;
#This only works on EXOS 16.1 forward&lt;BR /&gt;
set var int 3&lt;BR /&gt;
disable clip&lt;BR /&gt;
show elrp&lt;BR /&gt;
set var CLI.OUT 0&lt;BR /&gt;
show elrp &lt;BR /&gt;
set var s $TCL(split ${CLI.OUT} "\n")&lt;BR /&gt;
set var i $TCL(lsearch $s *----*)&lt;BR /&gt;
set var i ($i + 1)&lt;BR /&gt;
set var e $TCL(lsearch $s *Print,*)&lt;BR /&gt;
set var e ($e - 1)&lt;BR /&gt;
while ($i &amp;lt; $e) do&lt;BR /&gt;
   set var l $TCL(lindex $s $i)&lt;BR /&gt;
   set var v $TCL(lindex $l 1)&lt;BR /&gt;
   set var p $TCL(lindex $l 2)&lt;BR /&gt;
   set var n $TCL(lindex $l 3)&lt;BR /&gt;
   set var a $TCL(lindex $l &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;BR /&gt;
   set var d $TCL(lindex $l 9)&lt;BR /&gt;
   set var t $TCL(regexp {\-} $d)&lt;BR /&gt;
   set var t1 $TCL(regexp {L} $a)&lt;BR /&gt;
   set var t2 $TCL(regexp {T} $a)&lt;BR /&gt;
   set var t3 $TCL(regexp {E} $a)&lt;BR /&gt;
   set var t4 $TCL(regexp {I} $a)&lt;BR /&gt;
   set var t5 $TCL(expr $t1 &amp;amp;&amp;amp; $t2)&lt;BR /&gt;
   set var lt "log"&lt;BR /&gt;
   set var ie ''&lt;BR /&gt;
   if ($t2) then&lt;BR /&gt;
      set var lt "trap"&lt;BR /&gt;
   endif&lt;BR /&gt;
   if ($t5) then&lt;BR /&gt;
      set var lt "log-and-trap"&lt;BR /&gt;
   endif&lt;BR /&gt;
   if ($t3) then&lt;BR /&gt;
      set var ie "egress"&lt;BR /&gt;
   endif&lt;BR /&gt;
   if ($t4) then&lt;BR /&gt;
      set var ie "ingress"&lt;BR /&gt;
   endif&lt;BR /&gt;
   set var recmd $TCL(concat "config elrp-client periodic" $v "ports" $p "interval" $int $lt)&lt;BR /&gt;
   if (!$t) then&lt;BR /&gt;
      set var recmd $TCL(concat $recmd "disable-port" $ie)&lt;BR /&gt;
      set var t $TCL(regexp {\d+} $d)&lt;BR /&gt;
      if ($t) then&lt;BR /&gt;
         set var d $TCL(concat "duration" $d)&lt;BR /&gt;
      endif&lt;BR /&gt;
      set var recmd $TCL(concat $recmd $d)&lt;BR /&gt;
   endif&lt;BR /&gt;
   unconfig elrp $v&lt;BR /&gt;
   $recmd&lt;BR /&gt;
   set var i ($i + 1)&lt;BR /&gt;
endwhile&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Apr 2016 11:06:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40455#M5042</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-14T11:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40456#M5043</link>
      <description>Thanks for that, so i assume then the ELRP would need to be removed and then re-enabled with the different interval on each Vlan. As i am no scripting guru i assume that's what the script does.</description>
      <pubDate>Thu, 14 Apr 2016 14:46:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40456#M5043</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-04-14T14:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40457#M5044</link>
      <description>Yes. It takes the int variable in at the top and makes that the interval for all ELRP VLAN instances. It assumes you are not running any one-shot instances of ELRP on a VLAN. It only works on 16.1 forward because the ports are shown in the output without spaces in that release of EXOS fwd, else it could get really messed up.</description>
      <pubDate>Thu, 14 Apr 2016 23:31:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40457#M5044</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-14T23:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40458#M5045</link>
      <description>Thanks for the explanation.</description>
      <pubDate>Mon, 18 Apr 2016 15:04:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40458#M5045</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-04-18T15:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40459#M5046</link>
      <description>Hi &lt;BR /&gt;
&lt;BR /&gt;
Tested the script and it failed with the below error&lt;BR /&gt;
&lt;BR /&gt;
*** Error at line - 59 ***&lt;BR /&gt;
invalid command name "config elrp-client periodic &lt;VLAN id=""&gt; ports All interval 5 log disable-port ingress 300"&lt;BR /&gt;
&lt;BR /&gt;
Line 59 is&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;set var recmd $TCL(concat "config elrp-client periodic" $v "ports" $p "interval" $int $lt)&lt;BR /&gt;
 &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
I am so confused. Doesn't seem to like the ingress 300 bit.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;if (!$t) then&lt;BR /&gt;
      set var recmd $TCL(concat $recmd "disable-port" $ie)&lt;BR /&gt;
      set var t $TCL(regexp {\d+} $d)&lt;BR /&gt;
      if ($t) then&lt;BR /&gt;
         set var d $TCL(concat "duration" $d)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
So i did &lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;set var recmd $TCL(concat "config elrp-client periodic" $v "ports" $p "interval" $int $lt)&lt;BR /&gt;
   if (!$t) then&lt;BR /&gt;
      set var recmd $TCL(concat $recmd "disable-port" $ie "duration")&lt;BR /&gt;
      set var t $TCL(regexp {\d+} $d)&lt;BR /&gt;
      if ($t) then&lt;BR /&gt;
         set var d $TCL(concat "duration" $d)&lt;BR /&gt;
      endif&lt;BR /&gt;
      set var recmd $TCL(concat $recmd $d)&lt;BR /&gt;
   endif&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
But still get the error. &lt;BR /&gt;
&lt;BR /&gt;
invalid command name "config elrp-client periodic Extreme1 ports All interval 3 log disable-port ingress duration 300"&lt;BR /&gt;
&lt;BR /&gt;
The command works in the cli.&lt;/VLAN&gt;</description>
      <pubDate>Wed, 20 Apr 2016 17:05:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40459#M5046</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-04-20T17:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40460#M5047</link>
      <description>What version of EXOS are you running?</description>
      <pubDate>Wed, 27 Apr 2016 03:13:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40460#M5047</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-27T03:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40461#M5048</link>
      <description>XOS 16.1.1.4 &lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2016 13:14:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40461#M5048</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-04-27T13:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40462#M5049</link>
      <description>Can you also send me the output of a "show vlan" command. Perhaps there is something in the vlan name triggering. Also a "show elrp". (It might be good to issue the "disable clip" command before doing these commands). I'll try to configure my switch to match yours as closely as possible and test it.</description>
      <pubDate>Wed, 27 Apr 2016 20:58:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40462#M5049</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-27T20:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40463#M5050</link>
      <description>BTW, here is the ELRP configuration against which I tested the script:&lt;BR /&gt;
&lt;BR /&gt;
# sho elrp&lt;BR /&gt;
ELRP Standalone Client:       Enabled&lt;BR /&gt;
&lt;BR /&gt;
Number of ELRP sessions:          4&lt;BR /&gt;
Number of ELRP pkts transmitted:  397&lt;BR /&gt;
Number of ELRP pkts received:     0&lt;BR /&gt;
&lt;BR /&gt;
                                                       Pkts    Pkts        Disable&lt;BR /&gt;
Client  VLAN        Ports   Interval Count Cyclic      Xmit    Rcvd Action Port (sec)&lt;BR /&gt;
-------------------------------------------------------------------------------------&lt;BR /&gt;
CLI     Default     1-2,4          3     0 Yes            3       0 LTI    Perm    &lt;BR /&gt;
CLI     VLAN_0101   All            3     0 Yes            1       0 LE     20      &lt;BR /&gt;
CLI     VLAN_0102   All            3     0 Yes            1       0 T      -       &lt;BR /&gt;
CLI     VLAN_0103   All            3     0 Yes            1       0 L      -       &lt;BR /&gt;
-------------------------------------------------------------------------------------&lt;BR /&gt;
Action : (P) Print, (L) Log, (T) Trap, (C) Callback, (E) Egress, (I) Ingress&lt;BR /&gt;
&lt;BR /&gt;
No errors detected.&lt;BR /&gt;
&lt;BR /&gt;
Running 16.1.3,6-patch1-2</description>
      <pubDate>Thu, 28 Apr 2016 00:59:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40463#M5050</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-28T00:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40464#M5051</link>
      <description>I see you aren't using 16.1.1.4. Is it possibly a issue with 16.1.1.4?</description>
      <pubDate>Thu, 28 Apr 2016 01:07:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40464#M5051</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-04-28T01:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40465#M5052</link>
      <description>Just tested on 16.1.1.4 and no errors either.</description>
      <pubDate>Thu, 28 Apr 2016 01:26:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40465#M5052</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-28T01:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40466#M5053</link>
      <description>show Vlan&lt;BR /&gt;
&lt;BR /&gt;
Default         1    ------------------------------------------------- ANY    0 /0   VR-Default &lt;BR /&gt;
Extreme1        25   ------------------------------------------------- ANY    0 /0   VR-Default &lt;BR /&gt;
BB-MGMT       30   10.100.30.199   /24  -f--------------------------- ANY    1 /1   VR-Default &lt;BR /&gt;
Mgmt            4095 ------------------------------------------------- ANY    0 /1   VR-Mgmt    &lt;BR /&gt;
-----------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
Show ELRP&lt;BR /&gt;
&lt;BR /&gt;
Client  VLAN        Ports   Interval Count Cyclic      Xmit    Rcvd Action Port (sec)&lt;BR /&gt;
-------------------------------------------------------------------------------------&lt;BR /&gt;
CLI     Extreme1    All            3     0 Yes            0       0 LI     300     &lt;BR /&gt;
-------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
The script ends up removing all Vlan's. I am using this from Netsight as a admin script.</description>
      <pubDate>Thu, 28 Apr 2016 15:12:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40466#M5053</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-04-28T15:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40467#M5054</link>
      <description>I assume you mean the script ended up removing ELRP from all VLANs. I've been testing it from the CLI. I'll test it from NS when I have a chance.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Apr 2016 00:58:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40467#M5054</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-29T00:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40468#M5055</link>
      <description>Yes, sorry mean elrp from the vlan's. I am running the script from Oneview so is not actually Netsight (6.3.0.168)&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Apr 2016 01:39:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40468#M5055</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-04-29T01:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40469#M5056</link>
      <description>I modified it to work in as a OneView script:&lt;BR /&gt;
&lt;BR /&gt;
#@MetaDataStart#############################################################################################&lt;BR /&gt;
# Define your user parameters in this section. For reference, see bundled scripts.&lt;BR /&gt;
#############################################################################################&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; (description = "Interval (number &amp;gt; 0)")&lt;BR /&gt;
set var int 1&lt;BR /&gt;
#@MetaDataEnd&lt;BR /&gt;
# Enter all CLI commands from here&lt;BR /&gt;
disable clip&lt;BR /&gt;
set var CLI.OUT 0&lt;BR /&gt;
show elrp&lt;BR /&gt;
set var s $TCL(split ${CLI.OUT} "\n")&lt;BR /&gt;
set var i $TCL(lsearch $s *----*)&lt;BR /&gt;
set var i ($i + 1)&lt;BR /&gt;
set var e $TCL(lsearch $s *Print,*)&lt;BR /&gt;
set var e ($e - 1)&lt;BR /&gt;
while ($i &amp;lt; $e) do&lt;BR /&gt;
   set var l $TCL(lindex $s $i)&lt;BR /&gt;
   set var v $TCL(lindex $l 1)&lt;BR /&gt;
   set var p $TCL(lindex $l 2)&lt;BR /&gt;
   set var n $TCL(lindex $l 3)&lt;BR /&gt;
   set var a $TCL(lindex $l &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;BR /&gt;
   set var d $TCL(lindex $l 9)&lt;BR /&gt;
   set var t $TCL(regexp {\-} $d)&lt;BR /&gt;
   set var t1 $TCL(regexp {L} $a)&lt;BR /&gt;
   set var t2 $TCL(regexp {T} $a)&lt;BR /&gt;
   set var t3 $TCL(regexp {E} $a)&lt;BR /&gt;
   set var t4 $TCL(regexp {I} $a)&lt;BR /&gt;
   set var t5 $TCL(expr $t1 &amp;amp;&amp;amp; $t2)&lt;BR /&gt;
   set var lt "log"&lt;BR /&gt;
   set var ie ''&lt;BR /&gt;
   if ($t2) then&lt;BR /&gt;
      set var lt "trap"&lt;BR /&gt;
   endif&lt;BR /&gt;
   if ($t5) then&lt;BR /&gt;
      set var lt "log-and-trap"&lt;BR /&gt;
   endif&lt;BR /&gt;
   if ($t3) then&lt;BR /&gt;
      set var ie "egress"&lt;BR /&gt;
   endif&lt;BR /&gt;
   if ($t4) then&lt;BR /&gt;
      set var ie "ingress"&lt;BR /&gt;
   endif&lt;BR /&gt;
   unconfig elrp $v&lt;BR /&gt;
   if (!$t) then&lt;BR /&gt;
         set var t $TCL(regexp {\d+} $d)&lt;BR /&gt;
         if ($t) then&lt;BR /&gt;
            configure elrp-client periodic $v ports $p interval $int $lt disable-port $ie duration $d&lt;BR /&gt;
         else&lt;BR /&gt;
            configure elrp-client periodic $v ports $p interval $int $lt disable-port $ie perm&lt;BR /&gt;
         endif&lt;BR /&gt;
   else&lt;BR /&gt;
      configure elrp-client periodic $v ports $p interval $int $lt&lt;BR /&gt;
   endif &lt;BR /&gt;
   set var i ($i + 1)&lt;BR /&gt;
endwhile&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Apr 2016 02:59:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40469#M5056</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2016-04-30T02:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: Netsight ELRP script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40470#M5057</link>
      <description>Thanks, i will give it a test.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2016 17:04:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/netsight-elrp-script/m-p/40470#M5057</guid>
      <dc:creator>Justsomebodi</dc:creator>
      <dc:date>2016-05-05T17:04:00Z</dc:date>
    </item>
  </channel>
</rss>

