<?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: UPM triggers in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/upm-triggers/m-p/20054#M176</link>
    <description>Create Date: Sep  5 2012  2:08PM&lt;BR /&gt;
&lt;BR /&gt;
Hey DaveIn order to use EMS you need to create a log target and log filter.  Here's one that looks for a port up state on port 21 to launch a UPM script call powerup profile.create log target upm PowerUpProfilecreate log filter PowerUpFilterconfigure log filter PowerUpFilter add event "vlan.msgs.portLinkStateUp" match string 21enable log target upm "PowerUpProfile"You can then use the show log event {event name in this case vlan.msgs.portlinkstateup} to see the variables as seen below(Private) G8032.lab.sw1.5 # show log event vlan.msgs.portlinkstateup detailComponent   SubComponent Condition               Severity      Parameters----------- ------------ ----------------------- ------------- ----------vlan        msgs         portLinkStateUp         Info           3 Total                                                                0 - string                                                                1 - string                                                                2 - stringPort %0% link UP at speed %1% and %2%hope this helps.P  (from Paul_Russo)</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>UPM triggers</title>
      <link>https://community.extremenetworks.com/t5/scripting/upm-triggers/m-p/20053#M175</link>
      <description>Create Date: Aug  2 2012  3:34PM&lt;BR /&gt;
&lt;BR /&gt;
From the concepts guide:&lt;BR /&gt;
&lt;B&gt;&lt;BLOCKQUOTE&gt;Dynamic Profiles&lt;BR /&gt;
Dynamic profiles are so named because they are dynamically triggered by the following types of events:&lt;BR /&gt;
Device discovery and disconnect&lt;BR /&gt;
User or standards-based authentication and logoff&lt;BR /&gt;
Time of day&lt;BR /&gt;
Switch events reported by the Event Management System (EMS)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
my question is the Last ITEM in the list&lt;BR /&gt;
how would one go about using an EMS message to trigger a script?&lt;BR /&gt;
I cant see where I can configure UPM to do this... and the concepts guide is a little vauge in this one topic.&lt;BR /&gt;
&lt;BR /&gt;
thanks for any help&lt;BR /&gt;
Dave&lt;BR /&gt;
&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;/B&gt;my question is the Last ITEM in the listhow would one go about using an EMS message to trigger a script?I cant see where I can configure UPM to do this... and the concepts guide is a little vauge in this one topic.thanks for any helpDave  (from Dave_Rahn)</description>
      <pubDate>Wed, 08 Jan 2014 05:49:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/upm-triggers/m-p/20053#M175</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: UPM triggers</title>
      <link>https://community.extremenetworks.com/t5/scripting/upm-triggers/m-p/20054#M176</link>
      <description>Create Date: Sep  5 2012  2:08PM&lt;BR /&gt;
&lt;BR /&gt;
Hey DaveIn order to use EMS you need to create a log target and log filter.  Here's one that looks for a port up state on port 21 to launch a UPM script call powerup profile.create log target upm PowerUpProfilecreate log filter PowerUpFilterconfigure log filter PowerUpFilter add event "vlan.msgs.portLinkStateUp" match string 21enable log target upm "PowerUpProfile"You can then use the show log event {event name in this case vlan.msgs.portlinkstateup} to see the variables as seen below(Private) G8032.lab.sw1.5 # show log event vlan.msgs.portlinkstateup detailComponent   SubComponent Condition               Severity      Parameters----------- ------------ ----------------------- ------------- ----------vlan        msgs         portLinkStateUp         Info           3 Total                                                                0 - string                                                                1 - string                                                                2 - stringPort %0% link UP at speed %1% and %2%hope this helps.P  (from Paul_Russo)</description>
      <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/upm-triggers/m-p/20054#M176</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:50:00Z</dc:date>
    </item>
  </channel>
</rss>

