<?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: Script that sets port alias based on LLDP; Update Alias if device moved. in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43629#M5741</link>
    <description>Nice thanks Tomasz. I've made a few simple TCL's before, no python scripts or UPM's although but I can usually put something together if there's an example I can work off of.</description>
    <pubDate>Tue, 25 Sep 2018 20:19:00 GMT</pubDate>
    <dc:creator>Byron_Morales</dc:creator>
    <dc:date>2018-09-25T20:19:00Z</dc:date>
    <item>
      <title>Script that sets port alias based on LLDP; Update Alias if device moved.</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43625#M5737</link>
      <description>Anyone come up with a good idea for automating port aliases?&lt;BR /&gt;
Being able to run a script on the that sets port description based on lldp would be useful. &lt;BR /&gt;
Or if a device gets moved having a way to move the alias with the device would be useful.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Sep 2018 18:33:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43625#M5737</guid>
      <dc:creator>Byron_Morales</dc:creator>
      <dc:date>2018-09-25T18:33:00Z</dc:date>
    </item>
    <item>
      <title>RE: Script that sets port alias based on LLDP; Update Alias if device moved.</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43626#M5738</link>
      <description>Did you see the other post about using UPM scripting.&lt;BR /&gt;
&lt;A href="https://community.extremenetworks.com/extreme/topics/upm_configure_port_dispay_string_based_on_lldp_device_system_name" target="_blank" rel="nofollow noreferrer noopener"&gt;https://community.extremenetworks.com/extreme/topics/upm_configure_port_dispay_string_based_on_lldp_...&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Sep 2018 20:18:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43626#M5738</guid>
      <dc:creator>Ed_Uhler</dc:creator>
      <dc:date>2018-09-25T20:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Script that sets port alias based on LLDP; Update Alias if device moved.</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43627#M5739</link>
      <description>Hi Ed,&lt;BR /&gt;
&lt;BR /&gt;
I've never used UPM scripting before. Is there a document for the syntax or variables that can be used to create a UPM script?</description>
      <pubDate>Tue, 25 Sep 2018 20:18:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43627#M5739</guid>
      <dc:creator>Byron_Morales</dc:creator>
      <dc:date>2018-09-25T20:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Script that sets port alias based on LLDP; Update Alias if device moved.</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43628#M5740</link>
      <description>You can use TCL or Python scripts in EXOS to do show lldp for each port (or IMO better for all ports at once), and then take the Neighbor System-Name from $CLI.OUT variable (that needs some parsing definitely, perhaps you would feel better with Python scripts instead of TCL) and issue configure port display-string for each port. That would be a one-shot port alias syncing.&lt;BR /&gt;
&lt;BR /&gt;
I believe it could also work with a UPM script with an LLDP trigger (configure upm event device-detect profile &lt;U&gt; port ). Also device-undetected trigger with another script should be there so once a device goes away port alias turns blank.&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
Tomasz&lt;BR /&gt;&lt;/U&gt;</description>
      <pubDate>Tue, 25 Sep 2018 20:19:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43628#M5740</guid>
      <dc:creator>Tomasz</dc:creator>
      <dc:date>2018-09-25T20:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Script that sets port alias based on LLDP; Update Alias if device moved.</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43629#M5741</link>
      <description>Nice thanks Tomasz. I've made a few simple TCL's before, no python scripts or UPM's although but I can usually put something together if there's an example I can work off of.</description>
      <pubDate>Tue, 25 Sep 2018 20:19:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43629#M5741</guid>
      <dc:creator>Byron_Morales</dc:creator>
      <dc:date>2018-09-25T20:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Script that sets port alias based on LLDP; Update Alias if device moved.</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43630#M5742</link>
      <description>I believe Ed's link to another topic is a good starting point for this kind of UPM, take also care about scripting and UPM chapters here: &lt;A href="https://documentation.extremenetworks.com/exos_22.5/EXOS_User_Guide_22_5.pdf" target="_blank" rel="nofollow noreferrer noopener"&gt;https://documentation.extremenetworks.com/exos_22.5/EXOS_User_Guide_22_5.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Tomasz&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Sep 2018 20:19:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43630#M5742</guid>
      <dc:creator>Tomasz</dc:creator>
      <dc:date>2018-09-25T20:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Script that sets port alias based on LLDP; Update Alias if device moved.</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43631#M5743</link>
      <description>Hello Byron,&lt;BR /&gt;
&lt;BR /&gt;
another approach can be to use XMC (if available). &lt;BR /&gt;
&lt;BR /&gt;
Because you wrote you have some experience with TCL it's a good starting point.&lt;BR /&gt;
You can write a TCP script to ask the switches for LLDP infos ( simplified do an "show lldp neighbour detail") via cli and parse the output.&lt;BR /&gt;
&lt;BR /&gt;
In an second step wrote the infos back as port alias via CLI.&lt;BR /&gt;
&lt;BR /&gt;
This can be done in one script. No UPM needed. Only CLI knowledge and a little bit TCL for parsing.&lt;BR /&gt;
&lt;BR /&gt;
One big advantage of XMC is you do not need to transport the script to every switch. Just do it centrally. Select all of you switches and start the script.&lt;BR /&gt;
&lt;BR /&gt;
Best regards&lt;BR /&gt;
Stephan&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Sep 2018 03:36:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/script-that-sets-port-alias-based-on-lldp-update-alias-if-device/m-p/43631#M5743</guid>
      <dc:creator>StephanH</dc:creator>
      <dc:date>2018-09-26T03:36:00Z</dc:date>
    </item>
  </channel>
</rss>

