<?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 Help me write UPM script in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-me-write-upm-script/m-p/26935#M3744</link>
    <description>Hi!&lt;BR /&gt;
&lt;BR /&gt;
Help me write simple UPM  script. &lt;BR /&gt;
I need what script do next:&lt;BR /&gt;
&lt;BR /&gt;
If link on port 25 down, script do next command:&lt;BR /&gt;
&lt;I&gt;conf vlan VLANNAME del po 25&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;conf vlan VLANNAME add po 29 tag&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
If link on port 25 is up then:&lt;BR /&gt;
&lt;I&gt;conf vlan VLANNAME del po 29&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;conf vlan VLANNAME add po 25 tag&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
EXOS 12.6.5.2 patch1-3</description>
    <pubDate>Sun, 23 Dec 2018 20:11:00 GMT</pubDate>
    <dc:creator>Karfax</dc:creator>
    <dc:date>2018-12-23T20:11:00Z</dc:date>
    <item>
      <title>Help me write UPM script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-me-write-upm-script/m-p/26935#M3744</link>
      <description>Hi!&lt;BR /&gt;
&lt;BR /&gt;
Help me write simple UPM  script. &lt;BR /&gt;
I need what script do next:&lt;BR /&gt;
&lt;BR /&gt;
If link on port 25 down, script do next command:&lt;BR /&gt;
&lt;I&gt;conf vlan VLANNAME del po 25&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;conf vlan VLANNAME add po 29 tag&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
If link on port 25 is up then:&lt;BR /&gt;
&lt;I&gt;conf vlan VLANNAME del po 29&lt;/I&gt;&lt;BR /&gt;
&lt;I&gt;conf vlan VLANNAME add po 25 tag&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
EXOS 12.6.5.2 patch1-3</description>
      <pubDate>Sun, 23 Dec 2018 20:11:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-me-write-upm-script/m-p/26935#M3744</guid>
      <dc:creator>Karfax</dc:creator>
      <dc:date>2018-12-23T20:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: Help me write UPM script</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-me-write-upm-script/m-p/26936#M3745</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
this is a simple UPM script that goes like that:&lt;BR /&gt;
&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;create upm profile MyUPMProfile&lt;BR /&gt;&lt;BR /&gt;enable cli scripting&lt;BR /&gt;&lt;BR /&gt;IF (!$MATCH($EVENT.LOG_COMPONENT_SUBCOMPONENT,vlan.msgs) &amp;amp;&amp;amp; !$MATCH($EVENT.LOG_EVENT,portLinkStateDown)) THEN&lt;BR /&gt;    IF (!$MATCH($EVENT.LOG_PARAM_0,25)) THEN&lt;BR /&gt;        config vlan VLANNAME del port 25&lt;BR /&gt;        config vlan VLANNAME add port 29 tag&lt;BR /&gt;    ENDIF&lt;BR /&gt;ELSE&lt;BR /&gt;    IF (!$MATCH($EVENT.LOG_COMPONENT_SUBCOMPONENT,vlan.msgs) &amp;amp;&amp;amp; !$MATCH($EVENT.LOG_EVENT,portLinkStateUp)) THEN&lt;BR /&gt;        IF (!$MATCH($EVENT.LOG_PARAM_0,25)) THEN&lt;BR /&gt;            config vlan VLANNAME del port 29&lt;BR /&gt;            config vlan VLANNAME add port 25 tag&lt;BR /&gt;        ENDIF&lt;BR /&gt;    ENDIF&lt;BR /&gt;ENDIF&lt;BR /&gt;&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;create log filter MyLogFilter&lt;BR /&gt;configure log filter MyLogFilter add event vlan.msgs.portLinkStateDown&lt;BR /&gt;configure log filter MyLogFilter add event vlan.msgs.portLinkStateUp&lt;BR /&gt;&lt;BR /&gt;create log target upm MyUPMProfile&lt;BR /&gt;enable log target upm MyUPMProfile&lt;BR /&gt;config log target upm MyUPMProfile filter MyLogFilter severity Info&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Dec 2018 17:11:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-me-write-upm-script/m-p/26936#M3745</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2018-12-24T17:11:00Z</dc:date>
    </item>
  </channel>
</rss>

