<?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 create UPM profile in TCL script in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97756#M9957</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create an upm profile with a TCL script in XIQ-SE. Unfortunately the script stops at this point due to an error with the syntax.&lt;/P&gt;&lt;P&gt;Which syntax do I have to use for the content of the upm script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;create upm profile nlAutDhcp&lt;/P&gt;&lt;P&gt;if (!$match($EVENT.LOG_EVENT,ClientAuthenticated)) then&lt;BR /&gt;create log message "Authenticated port: $(EVENT.LOG_PARAM_3), VLAN: $(EVENT.LOG_PARAM_4)"&lt;BR /&gt;enable ip-security dhcp-snooping vlan $EVENT.LOG_PARAM_4 ports $EVENT.LOG_PARAM_3 violation-action drop-packet block-port permanently snmp-trap&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Thank you &amp;amp; best regards&lt;BR /&gt;Kevin&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2023 14:38:44 GMT</pubDate>
    <dc:creator>NKev</dc:creator>
    <dc:date>2023-11-01T14:38:44Z</dc:date>
    <item>
      <title>How to create UPM profile in TCL script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97756#M9957</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create an upm profile with a TCL script in XIQ-SE. Unfortunately the script stops at this point due to an error with the syntax.&lt;/P&gt;&lt;P&gt;Which syntax do I have to use for the content of the upm script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;create upm profile nlAutDhcp&lt;/P&gt;&lt;P&gt;if (!$match($EVENT.LOG_EVENT,ClientAuthenticated)) then&lt;BR /&gt;create log message "Authenticated port: $(EVENT.LOG_PARAM_3), VLAN: $(EVENT.LOG_PARAM_4)"&lt;BR /&gt;enable ip-security dhcp-snooping vlan $EVENT.LOG_PARAM_4 ports $EVENT.LOG_PARAM_3 violation-action drop-packet block-port permanently snmp-trap&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Thank you &amp;amp; best regards&lt;BR /&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 14:38:44 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97756#M9957</guid>
      <dc:creator>NKev</dc:creator>
      <dc:date>2023-11-01T14:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create UPM profile in TCL script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97763#M9960</link>
      <description>&lt;P&gt;If you use a python script in XIQSE instead of TCL, you should be able to use&amp;nbsp;&lt;SPAN&gt;emc_cli.send("create upm profile nlAuthDhcp",False) which means dont wait for a prompt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Enter all upm lines and let the last set the wait to true again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 12:36:20 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97763#M9960</guid>
      <dc:creator>OscarK</dc:creator>
      <dc:date>2023-11-02T12:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to create UPM profile in TCL script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97768#M9963</link>
      <description>&lt;P&gt;Thanks for your help. Any ideas how to do that in a TCL script?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 13:52:41 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97768#M9963</guid>
      <dc:creator>NKev</dc:creator>
      <dc:date>2023-11-02T13:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create UPM profile in TCL script</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97867#M9964</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just create Python script as said&amp;nbsp;&amp;nbsp;&lt;a href="https://community.extremenetworks.com/t5/user/viewprofilepage/user-id/10428"&gt;@OscarK&lt;/a&gt;&amp;nbsp;. The last line is just to save config to device (XIQ-SE automatically responds "Yes" when you run this particular command) - you can skip this line if you wish:&lt;/DIV&gt;&lt;PRE&gt;emc_cli.send('create upm profile nlAutDhcp', False)&lt;BR /&gt;emc_cli.send('enable cli scripting', False)&lt;BR /&gt;emc_cli.send('if (!$match($EVENT.LOG_EVENT,ClientAuthenticated)) then', False)&lt;BR /&gt;emc_cli.send('create log message "Authenticated port: $(EVENT.LOG_PARAM_3), VLAN: $(EVENT.LOG_PARAM_4)"', False)&lt;BR /&gt;emc_cli.send('enable ip-security dhcp-snooping vlan $EVENT.LOG_PARAM_4 ports $EVENT.LOG_PARAM_3 violation-action drop-packet', False)&lt;BR /&gt;emc_cli.send('block-port permanently snmp-trap', False)&lt;BR /&gt;emc_cli.send('endif', False)&lt;BR /&gt;emc_cli.send('.')&lt;BR /&gt;emc_cli.send('save')&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 10:06:18 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/how-to-create-upm-profile-in-tcl-script/m-p/97867#M9964</guid>
      <dc:creator>Bartek</dc:creator>
      <dc:date>2023-11-08T10:06:18Z</dc:date>
    </item>
  </channel>
</rss>

