<?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 MS Surface trying to run LLDP script for phones in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25953#M3338</link>
    <description>We run LLDP scripts for our MITEL VOIP phones and I have noticed that Microsoft Surfaces running Windows 10 try to run the LLDP script constantly and it fills the logs on the switches. If we disable the Microsoft LLDP Protocol Driver on the Surface it stops. &lt;BR /&gt;
&lt;BR /&gt;
Is there a way to have the switch not run the script when the Surface connects? We have advised our helpdesk to disable this but that doesn't always happen.</description>
    <pubDate>Thu, 27 Apr 2017 21:39:00 GMT</pubDate>
    <dc:creator>DH1</dc:creator>
    <dc:date>2017-04-27T21:39:00Z</dc:date>
    <item>
      <title>MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25953#M3338</link>
      <description>We run LLDP scripts for our MITEL VOIP phones and I have noticed that Microsoft Surfaces running Windows 10 try to run the LLDP script constantly and it fills the logs on the switches. If we disable the Microsoft LLDP Protocol Driver on the Surface it stops. &lt;BR /&gt;
&lt;BR /&gt;
Is there a way to have the switch not run the script when the Surface connects? We have advised our helpdesk to disable this but that doesn't always happen.</description>
      <pubDate>Thu, 27 Apr 2017 21:39:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25953#M3338</guid>
      <dc:creator>DH1</dc:creator>
      <dc:date>2017-04-27T21:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25954#M3339</link>
      <description>What LLDP scripts are you using? Is this a UPM profile triggered on a device-detect event?&lt;BR /&gt;
&lt;BR /&gt;
Can you post a snippet of the log, as well as the UPM config if relevant?</description>
      <pubDate>Thu, 27 Apr 2017 21:41:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25954#M3339</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2017-04-27T21:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25955#M3340</link>
      <description>Yes, we are using UPM profile device-detect to detect the phones when they are plugged in. Here is the script&lt;BR /&gt;
&lt;BR /&gt;
************Profile Contents Begin************&lt;BR /&gt;
&lt;BR /&gt;
#&lt;B&gt;@Description&lt;/B&gt; Voice VLAN name&lt;BR /&gt;
set var voicevlan XXXX&lt;BR /&gt;
if (!$match($EVENT.NAME,DEVICE-DETECT)) then&lt;BR /&gt;
create log entry ***Starting_LLDP_Config***&lt;BR /&gt;
endif&lt;BR /&gt;
#Link Layer Discovery Protocol-Media Endpoint Discover&lt;BR /&gt;
create log entry ***Config_LLDP_Parameters***&lt;BR /&gt;
configure lldp port $EVENT.USER_PORT advertise vendor-specific med capabilities&lt;BR /&gt;
configure lldp port $EVENT.USER_PORT advertise vendor-specific dot1 vlan-name vlan $voicevlan&lt;BR /&gt;
configure lldp port $EVENT.USER_PORT advertise vendor-specific med policy application voice vlan $voicevlan dscp 46&lt;BR /&gt;
create log entry ***Config_LLDP_Parameters_Complete***&lt;BR /&gt;
create log entry ***End_LLDP_Generic_Config***&lt;BR /&gt;
&lt;BR /&gt;
************Profile Contents Ends*************&lt;BR /&gt;
&lt;BR /&gt;
Profile State: Enabled&lt;BR /&gt;
Profile Maximum Execution Time: 30&lt;BR /&gt;
Events and ports configured on the profile:&lt;BR /&gt;
===========================================================&lt;BR /&gt;
Event                           Port list/Log filter&lt;BR /&gt;
===========================================================&lt;BR /&gt;
device-detect               :     7:9-48, 8:9-24, 8:26-48, 9:1-48, 10:33-34, 10:41&lt;BR /&gt;
device-undetect             :&lt;BR /&gt;
user-authenticated          :&lt;BR /&gt;
user-unauthenticated        :&lt;BR /&gt;
identity-detect             :&lt;BR /&gt;
identity-undetect           :&lt;BR /&gt;
identity-role-associate     :&lt;BR /&gt;
identity-role-dissociate    :&lt;BR /&gt;
===========================================================&lt;BR /&gt;
&lt;BR /&gt;
Here is a snippet of the log &lt;BR /&gt;
&lt;BR /&gt;
04/27/2017 12:31:06.78 &lt;I&gt; MSM-A: ***End_LLDP_Generic_Config***&lt;BR /&gt;
04/27/2017 12:31:06.77 &lt;I&gt; MSM-A: ***Config_LLDP_Parameters_Complete***&lt;BR /&gt;
04/27/2017 12:31:06.74 &lt;I&gt; MSM-A: ***Config_LLDP_Parameters***&lt;BR /&gt;
04/27/2017 12:31:06.73 &lt;I&gt; MSM-A: ***Starting_LLDP_Config***&lt;BR /&gt;
04/27/2017 12:31:06.60 &lt;UPM.MSG.UPMMSGEXSHLAUNCH&gt; MSM-A: Launched profile detect-voip-xxxx for the event device-detect&lt;BR /&gt;
04/27/2017 12:31:06.60 &lt;UPM.MSG.LLDPDEVDETECTED&gt; MSM-A: LLDP Device detected. Mac is 58:82:A8:9C:06:23, IP is 0.0.0.0, on port 8:39, device type is 0, max power is 0&lt;BR /&gt;
&lt;BR /&gt;&lt;/UPM.MSG.LLDPDEVDETECTED&gt;&lt;/UPM.MSG.UPMMSGEXSHLAUNCH&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;</description>
      <pubDate>Thu, 27 Apr 2017 21:59:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25955#M3340</guid>
      <dc:creator>DH1</dc:creator>
      <dc:date>2017-04-27T21:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25956#M3341</link>
      <description>You might check to see if the OUI is unique for the Mitel phones and only do the LLDP portion of the scripts if the MAC of the device detected has that OUI. This would at least cut out the System.userComment log entries.</description>
      <pubDate>Sat, 29 Apr 2017 00:58:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25956#M3341</guid>
      <dc:creator>Matthew_Helm1</dc:creator>
      <dc:date>2017-04-29T00:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25957#M3342</link>
      <description>You can check the vendor name. Assuming the variable is set to MITEL, you could then add a condition for it, something like:&lt;BR /&gt;
&lt;BR /&gt;
if (!$match($EVENT.DEVICE_MANUFACTURER_NAME,MITEL)) then&lt;BR /&gt;
&lt;BR /&gt;
just verify how is set that variable.&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Apr 2017 12:13:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25957#M3342</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2017-04-29T12:13:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25958#M3343</link>
      <description>Thank you for the input, I will see what I can do.</description>
      <pubDate>Tue, 02 May 2017 18:22:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25958#M3343</guid>
      <dc:creator>DH1</dc:creator>
      <dc:date>2017-05-02T18:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25959#M3344</link>
      <description>I have been working on this and still cannot get the Surface to stop running the script. I am not that good with scripting so I am having a hard time. Would someone be able to help? I am getting lost on how to end the script if the conditions don't match. &lt;BR /&gt;
&lt;BR /&gt;
create upm profile detect-voip-XXXX&lt;BR /&gt;
&lt;BR /&gt;
#&lt;B&gt;@Description&lt;/B&gt; “Voice VLAN name”&lt;BR /&gt;
&lt;BR /&gt;
if(!$match($EVENT.NAME,DEVICE-DETECT)) and&lt;BR /&gt;
&lt;BR /&gt;
if(!$match($EVENT.DEVICE_MANUFACTURER_NAME,MITEL)) then&lt;BR /&gt;
&lt;BR /&gt;
set var voicevlan XXXX&lt;BR /&gt;
&lt;BR /&gt;
create log entry ***Starting_LLDP_Config***&lt;BR /&gt;
&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
#Link Layer Discovery Protocol-Media Endpoint Discover&lt;BR /&gt;
&lt;BR /&gt;
create log entry ***Config_LLDP_Parameters***&lt;BR /&gt;
&lt;BR /&gt;
configure lldp port $EVENT.USER_PORT advertise vendor-specific med capabilities&lt;BR /&gt;
&lt;BR /&gt;
configure lldp port $EVENT.USER_PORT advertise vendor-specific dot1 vlan-name vlan $voicevlan&lt;BR /&gt;
&lt;BR /&gt;
configure lldp port $EVENT.USER_PORT advertise vendor-specific med policy application voice vlan $voicevlan dscp 46&lt;BR /&gt;
&lt;BR /&gt;
create log entry ***Completed_LLDP_Parameters***&lt;BR /&gt;
&lt;BR /&gt;
.&lt;BR /&gt;
&lt;BR /&gt;
config upm event device-detect profile detect-voip-XXXX ports 1-5&lt;BR /&gt;
&lt;BR /&gt;
What is the purpose of the endif in the middle of the script? This script was wrote by a vendor years ago. &lt;BR /&gt;
&lt;BR /&gt;
Thanks! &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 02 May 2017 21:11:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25959#M3344</guid>
      <dc:creator>DH1</dc:creator>
      <dc:date>2017-05-02T21:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25960#M3345</link>
      <description>Try this:&lt;BR /&gt;
&lt;BR /&gt;
#&lt;B&gt;@Description&lt;/B&gt; “Voice VLAN name”&lt;BR /&gt;
&lt;BR /&gt;
if (!$match($EVENT.NAME,DEVICE-DETECT)) &amp;amp;&amp;amp; if (!$match($EVENT.DEVICE_MANUFACTURER_NAME,MITEL)) then&lt;BR /&gt;
  set var voicevlan XXXX&lt;BR /&gt;
  create log entry ***Starting_LLDP_Config***&lt;BR /&gt;
&lt;BR /&gt;
  #Link Layer Discovery Protocol-Media Endpoint Discover&lt;BR /&gt;
  create log entry ***Config_LLDP_Parameters***&lt;BR /&gt;
  configure lldp port $EVENT.USER_PORT advertise vendor-specific med capabilities&lt;BR /&gt;
  configure lldp port $EVENT.USER_PORT advertise vendor-specific dot1 vlan-name vlan $voicevlan&lt;BR /&gt;
  configure lldp port $EVENT.USER_PORT advertise vendor-specific med policy application voice vlan $voicevlan dscp 46&lt;BR /&gt;
  create log entry ***Completed_LLDP_Parameters***&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
.&lt;BR /&gt;
&lt;BR /&gt;
Assuming the variable is, indeed, MITEL. You should check that.&lt;BR /&gt;</description>
      <pubDate>Tue, 02 May 2017 21:58:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25960#M3345</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2017-05-02T21:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: MS Surface trying to run LLDP script for phones</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25961#M3346</link>
      <description>Thank you for the help, I will check that variable and try the changes you suggested.</description>
      <pubDate>Wed, 03 May 2017 01:07:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/ms-surface-trying-to-run-lldp-script-for-phones/m-p/25961#M3346</guid>
      <dc:creator>DH1</dc:creator>
      <dc:date>2017-05-03T01:07:00Z</dc:date>
    </item>
  </channel>
</rss>

