<?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 to detect Vendor Mac Address and put into appropriate vlan in Scripting</title>
    <link>https://community.extremenetworks.com/t5/scripting/script-to-detect-vendor-mac-address-and-put-into-appropriate/m-p/20823#M297</link>
    <description>Create Date: Mar 20 2013  2:17PM&lt;BR /&gt;
&lt;BR /&gt;
Hey Forrest&lt;BR /&gt;
&lt;BR /&gt;
See if the attached does what you want.  If not it should give you a good starting point.  This script will create the necessary UPM profiles so you can change the variables and load the script on the switch and it should create everything you need.  Sorry the upload is not working so I just copied and pasted it in the post.&lt;BR /&gt;
&lt;BR /&gt;
The entire file below the dotted line can be saved as a *.xsf file and transfered to a switch&lt;BR /&gt;
via tftp. Using the "load script *.xsf" command will cause this script to:&lt;BR /&gt;
1. Create the MAC-Detect UPM profile&lt;BR /&gt;
2. Create the MAC-Delete UPM profile&lt;BR /&gt;
3. Configure two log filters and two log targets&lt;BR /&gt;
4. Associated the Log targets to the UPM profiles&lt;BR /&gt;
--------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
#Create the MAC-Detect UPM Profile&lt;BR /&gt;
create upm profile MAC-Detect&lt;BR /&gt;
#&lt;B&gt;@MetaDataStart&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@DetailDescriptionStart&lt;/B&gt;&lt;BR /&gt;
#############################################################################&lt;BR /&gt;
#&lt;BR /&gt;
# Script            : MAC OUI VLAN Provisioning &lt;BR /&gt;
# Revision          : 1.0&lt;BR /&gt;
# EXOS Version(s) : 12.4.x and Newer&lt;BR /&gt;
# Last Updated      : 15 May, 2010&lt;BR /&gt;
#&lt;BR /&gt;
# Purpose: &lt;BR /&gt;
# This script will assign a VLAN to a port based upon the device MAC OUI.&lt;BR /&gt;
#  &lt;BR /&gt;
# Using the "vlan.msgs.portLinkStateUp"  log message as a trigger, this script &lt;BR /&gt;
# will parse the appropriate FDB entry and the assign a predefined vlan to a port.  &lt;BR /&gt;
#&lt;BR /&gt;
# Author            : Paul Hutchison&lt;BR /&gt;
# Contact            : info@extremenetworks.com&lt;BR /&gt;
# Contact            : www.ethernation.net (ExtremeXOS Forums)&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
# Change Log&lt;BR /&gt;
#&lt;BR /&gt;
# 15 May 2010: Script Created&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#&lt;B&gt;@DetailDescriptionEnd&lt;/B&gt;&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#MAC OUI VLANs&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "MAC OUI Number 1 (xx:xx:xx:)"&lt;BR /&gt;
set var MAC1 00:14:22:&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "VLAN for MAC OUI Number 1"&lt;BR /&gt;
set var VLAN1 DELLVLAN&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "Vendor Name for MAC OUI Number 1"&lt;BR /&gt;
set var VENDOR1 Dell&lt;BR /&gt;
#&lt;B&gt;@SeparatorLine&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "MAC OUI Number 2 (xx:xx:xx:)"&lt;BR /&gt;
set var MAC2 00:01:e9:&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "VLAN for MAC OUI Number 2"&lt;BR /&gt;
set var VLAN2 HPVLAN&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "Vendor Name for MAC OUI Number 2"&lt;BR /&gt;
set var VENDOR2 HP&lt;BR /&gt;
#&lt;B&gt;@SeparatorLine&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "MAC OUI Number 3 (xx:xx:xx:)"&lt;BR /&gt;
set var MAC3 00:03:93:&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "VLAN for MAC OUI Number 3"&lt;BR /&gt;
set var VLAN3 APPLEVLAN&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "Vendor Name for MAC OUI Number 3"&lt;BR /&gt;
set var VENDOR3 Apple&lt;BR /&gt;
#&lt;B&gt;@SeparatorLine&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@MetaDataEnd&lt;/B&gt;&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#Create the predefined VLANs - additional VLAN parameters can be added (TAG etc)&lt;BR /&gt;
create vlan $VLAN1&lt;BR /&gt;
create vlan $VLAN2&lt;BR /&gt;
create vlan $VLAN3&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#Wait timer is to allow sufficient time for MAC to be learnt&lt;BR /&gt;
set var myWaitVar $TCL(after [expr 1000 * 6])&lt;BR /&gt;
#Initialize the CLI.OUT variable to purge any data&lt;BR /&gt;
set var CLI.OUT " "&lt;BR /&gt;
show fdb ports $EVENT.LOG_PARAM_0&lt;BR /&gt;
set var list1 $TCL(split ${CLI.OUT} "\n")&lt;BR /&gt;
set var list2 $TCL(lindex $(list1) 2)&lt;BR /&gt;
set var list3 $TCL(string replace $(list2) 9 54 {})&lt;BR /&gt;
#Match the data in variable "list3" with the user defined MAC OUI variables&lt;BR /&gt;
if (!$match($list3, $MAC1)) then&lt;BR /&gt;
configure vlan default del port $EVENT.LOG_PARAM_0&lt;BR /&gt;
configure vlan $VLAN1 add port $EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry "($VENDOR1)_device_connected_on_port_($EVENT.LOG_PARAM_0)"&lt;BR /&gt;
else&lt;BR /&gt;
if (!$match($list3, $MAC2)) then&lt;BR /&gt;
configure vlan default del port $EVENT.LOG_PARAM_0&lt;BR /&gt;
configure vlan $VLAN2 add port $EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry "($VENDOR2)_device_connected_on_port_($EVENT.LOG_PARAM_0)"&lt;BR /&gt;
else&lt;BR /&gt;
if (!$match($list3, $MAC3)) then&lt;BR /&gt;
configure vlan default del port $EVENT.LOG_PARAM_0&lt;BR /&gt;
configure vlan $VLAN3 add port $EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry "($VENDOR3)_device_connected_on_port_($EVENT.LOG_PARAM_0)"&lt;BR /&gt;
else&lt;BR /&gt;
create log entry "Unknown_device_connected_on_port_($EVENT.LOG_PARAM_0)"&lt;BR /&gt;
endif&lt;BR /&gt;
.&lt;BR /&gt;
#Period used to end block-mode&lt;BR /&gt;
&lt;BR /&gt;
#Create the MAC-Delete Profile&lt;BR /&gt;
create upm profile MAC-Delete&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#&lt;B&gt;@MetaDataStart&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@DetailDescriptionStart&lt;/B&gt;&lt;BR /&gt;
#############################################################################&lt;BR /&gt;
#&lt;BR /&gt;
# Script              : MAC OUI VLAN Provisioning- DELETION&lt;BR /&gt;
# Revision            : 1.0&lt;BR /&gt;
# EXOS Version(s)   : 12.4.x and Newer&lt;BR /&gt;
# Last Updated        : 15 May, 2010&lt;BR /&gt;
#&lt;BR /&gt;
# Purpose: &lt;BR /&gt;
# This script will remove a VLAN configured on a port based upon a log event.&lt;BR /&gt;
#  &lt;BR /&gt;
# Using the "vlan.msgs.portLinkStateDown" log message as a trigger, this script &lt;BR /&gt;
# will parse the appropriate VLAN data and remove if from it's current VLAN and &lt;BR /&gt;
# place the port in the "Default" VLAN.  &lt;BR /&gt;
#&lt;BR /&gt;
# Author            : Paul Hutchison&lt;BR /&gt;
# Contact            : info@extremenetworks.com&lt;BR /&gt;
# Contact            : www.ethernation.net (ExtremeXOS Forums)&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
# Change Log&lt;BR /&gt;
#&lt;BR /&gt;
# 15 May 2010: Script Created&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#&lt;B&gt;@DetailDescriptionEnd&lt;/B&gt;&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#&lt;B&gt;@ScriptDescription&lt;/B&gt; "This script will remove a port from a configured VLAN and place it in the default VLAN"&lt;BR /&gt;
#&lt;B&gt;@MetaDataEnd&lt;/B&gt;&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
disable clipaging&lt;BR /&gt;
set var CLI.OUT " "&lt;BR /&gt;
show ports $EVENT.LOG_PARAM_0 information detail&lt;BR /&gt;
set var list1 $TCL(split ${CLI.OUT} "\n")&lt;BR /&gt;
set var list2 $TCL(lindex $(list1) 10)&lt;BR /&gt;
set var list3 $TCL(lindex $(list2) 1)&lt;BR /&gt;
set var vlan $TCL(string range $(list3) 0 end-1)&lt;BR /&gt;
configure vlan $vlan delete port $EVENT.LOG_PARAM_0&lt;BR /&gt;
configure vlan default add port $EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry Device_removed_on_Port_$EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry Vlan_Default_configured_on_port_$EVENT.LOG_PARAM_0&lt;BR /&gt;
.&lt;BR /&gt;
#Period used to end block-mode&lt;BR /&gt;
&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#Configure the Log Filter Trigger Parameters&lt;BR /&gt;
create log filter Log_PortUp&lt;BR /&gt;
create log filter Log_PortDown&lt;BR /&gt;
configure log filter Log_PortUp add events vlan.msgs.portLinkStateUp &lt;BR /&gt;
configure log filter Log_PortDown add events vlan.msgs.portLinkStateDown &lt;BR /&gt;
create log target upm MAC-Detect&lt;BR /&gt;
enable log target upm MAC-Detect&lt;BR /&gt;
configure log target upm MAC-Detect filter Log_PortUp severity Info only&lt;BR /&gt;
configure log target upm MAC-Detect match Any&lt;BR /&gt;
create log target upm MAC-Delete&lt;BR /&gt;
enable log target upm MAC-Delete&lt;BR /&gt;
configure log target upm MAC-Delete filter Log_PortDown severity Info only&lt;BR /&gt;
configure log target upm MAC-Delete match Any&lt;BR /&gt;
&lt;BR /&gt;
Good Luck&lt;BR /&gt;
&lt;BR /&gt;
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>Script to detect Vendor Mac Address and put into appropriate vlan</title>
      <link>https://community.extremenetworks.com/t5/scripting/script-to-detect-vendor-mac-address-and-put-into-appropriate/m-p/20822#M296</link>
      <description>Create Date: Mar 20 2013  3:39AM&lt;BR /&gt;
&lt;BR /&gt;
Can anyone help me with a script to detect a vendors mac address and put that device in a specific VLAN?  (from Forrest_Darst)</description>
      <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/script-to-detect-vendor-mac-address-and-put-into-appropriate/m-p/20822#M296</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Script to detect Vendor Mac Address and put into appropriate vlan</title>
      <link>https://community.extremenetworks.com/t5/scripting/script-to-detect-vendor-mac-address-and-put-into-appropriate/m-p/20823#M297</link>
      <description>Create Date: Mar 20 2013  2:17PM&lt;BR /&gt;
&lt;BR /&gt;
Hey Forrest&lt;BR /&gt;
&lt;BR /&gt;
See if the attached does what you want.  If not it should give you a good starting point.  This script will create the necessary UPM profiles so you can change the variables and load the script on the switch and it should create everything you need.  Sorry the upload is not working so I just copied and pasted it in the post.&lt;BR /&gt;
&lt;BR /&gt;
The entire file below the dotted line can be saved as a *.xsf file and transfered to a switch&lt;BR /&gt;
via tftp. Using the "load script *.xsf" command will cause this script to:&lt;BR /&gt;
1. Create the MAC-Detect UPM profile&lt;BR /&gt;
2. Create the MAC-Delete UPM profile&lt;BR /&gt;
3. Configure two log filters and two log targets&lt;BR /&gt;
4. Associated the Log targets to the UPM profiles&lt;BR /&gt;
--------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
#Create the MAC-Detect UPM Profile&lt;BR /&gt;
create upm profile MAC-Detect&lt;BR /&gt;
#&lt;B&gt;@MetaDataStart&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@DetailDescriptionStart&lt;/B&gt;&lt;BR /&gt;
#############################################################################&lt;BR /&gt;
#&lt;BR /&gt;
# Script            : MAC OUI VLAN Provisioning &lt;BR /&gt;
# Revision          : 1.0&lt;BR /&gt;
# EXOS Version(s) : 12.4.x and Newer&lt;BR /&gt;
# Last Updated      : 15 May, 2010&lt;BR /&gt;
#&lt;BR /&gt;
# Purpose: &lt;BR /&gt;
# This script will assign a VLAN to a port based upon the device MAC OUI.&lt;BR /&gt;
#  &lt;BR /&gt;
# Using the "vlan.msgs.portLinkStateUp"  log message as a trigger, this script &lt;BR /&gt;
# will parse the appropriate FDB entry and the assign a predefined vlan to a port.  &lt;BR /&gt;
#&lt;BR /&gt;
# Author            : Paul Hutchison&lt;BR /&gt;
# Contact            : info@extremenetworks.com&lt;BR /&gt;
# Contact            : www.ethernation.net (ExtremeXOS Forums)&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
# Change Log&lt;BR /&gt;
#&lt;BR /&gt;
# 15 May 2010: Script Created&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#&lt;B&gt;@DetailDescriptionEnd&lt;/B&gt;&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#MAC OUI VLANs&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "MAC OUI Number 1 (xx:xx:xx:)"&lt;BR /&gt;
set var MAC1 00:14:22:&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "VLAN for MAC OUI Number 1"&lt;BR /&gt;
set var VLAN1 DELLVLAN&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "Vendor Name for MAC OUI Number 1"&lt;BR /&gt;
set var VENDOR1 Dell&lt;BR /&gt;
#&lt;B&gt;@SeparatorLine&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "MAC OUI Number 2 (xx:xx:xx:)"&lt;BR /&gt;
set var MAC2 00:01:e9:&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "VLAN for MAC OUI Number 2"&lt;BR /&gt;
set var VLAN2 HPVLAN&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "Vendor Name for MAC OUI Number 2"&lt;BR /&gt;
set var VENDOR2 HP&lt;BR /&gt;
#&lt;B&gt;@SeparatorLine&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "MAC OUI Number 3 (xx:xx:xx:)"&lt;BR /&gt;
set var MAC3 00:03:93:&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "VLAN for MAC OUI Number 3"&lt;BR /&gt;
set var VLAN3 APPLEVLAN&lt;BR /&gt;
#&lt;B&gt;@VariableFieldLabel&lt;/B&gt; "Vendor Name for MAC OUI Number 3"&lt;BR /&gt;
set var VENDOR3 Apple&lt;BR /&gt;
#&lt;B&gt;@SeparatorLine&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@MetaDataEnd&lt;/B&gt;&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#Create the predefined VLANs - additional VLAN parameters can be added (TAG etc)&lt;BR /&gt;
create vlan $VLAN1&lt;BR /&gt;
create vlan $VLAN2&lt;BR /&gt;
create vlan $VLAN3&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#Wait timer is to allow sufficient time for MAC to be learnt&lt;BR /&gt;
set var myWaitVar $TCL(after [expr 1000 * 6])&lt;BR /&gt;
#Initialize the CLI.OUT variable to purge any data&lt;BR /&gt;
set var CLI.OUT " "&lt;BR /&gt;
show fdb ports $EVENT.LOG_PARAM_0&lt;BR /&gt;
set var list1 $TCL(split ${CLI.OUT} "\n")&lt;BR /&gt;
set var list2 $TCL(lindex $(list1) 2)&lt;BR /&gt;
set var list3 $TCL(string replace $(list2) 9 54 {})&lt;BR /&gt;
#Match the data in variable "list3" with the user defined MAC OUI variables&lt;BR /&gt;
if (!$match($list3, $MAC1)) then&lt;BR /&gt;
configure vlan default del port $EVENT.LOG_PARAM_0&lt;BR /&gt;
configure vlan $VLAN1 add port $EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry "($VENDOR1)_device_connected_on_port_($EVENT.LOG_PARAM_0)"&lt;BR /&gt;
else&lt;BR /&gt;
if (!$match($list3, $MAC2)) then&lt;BR /&gt;
configure vlan default del port $EVENT.LOG_PARAM_0&lt;BR /&gt;
configure vlan $VLAN2 add port $EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry "($VENDOR2)_device_connected_on_port_($EVENT.LOG_PARAM_0)"&lt;BR /&gt;
else&lt;BR /&gt;
if (!$match($list3, $MAC3)) then&lt;BR /&gt;
configure vlan default del port $EVENT.LOG_PARAM_0&lt;BR /&gt;
configure vlan $VLAN3 add port $EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry "($VENDOR3)_device_connected_on_port_($EVENT.LOG_PARAM_0)"&lt;BR /&gt;
else&lt;BR /&gt;
create log entry "Unknown_device_connected_on_port_($EVENT.LOG_PARAM_0)"&lt;BR /&gt;
endif&lt;BR /&gt;
.&lt;BR /&gt;
#Period used to end block-mode&lt;BR /&gt;
&lt;BR /&gt;
#Create the MAC-Delete Profile&lt;BR /&gt;
create upm profile MAC-Delete&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#&lt;B&gt;@MetaDataStart&lt;/B&gt;&lt;BR /&gt;
#&lt;B&gt;@DetailDescriptionStart&lt;/B&gt;&lt;BR /&gt;
#############################################################################&lt;BR /&gt;
#&lt;BR /&gt;
# Script              : MAC OUI VLAN Provisioning- DELETION&lt;BR /&gt;
# Revision            : 1.0&lt;BR /&gt;
# EXOS Version(s)   : 12.4.x and Newer&lt;BR /&gt;
# Last Updated        : 15 May, 2010&lt;BR /&gt;
#&lt;BR /&gt;
# Purpose: &lt;BR /&gt;
# This script will remove a VLAN configured on a port based upon a log event.&lt;BR /&gt;
#  &lt;BR /&gt;
# Using the "vlan.msgs.portLinkStateDown" log message as a trigger, this script &lt;BR /&gt;
# will parse the appropriate VLAN data and remove if from it's current VLAN and &lt;BR /&gt;
# place the port in the "Default" VLAN.  &lt;BR /&gt;
#&lt;BR /&gt;
# Author            : Paul Hutchison&lt;BR /&gt;
# Contact            : info@extremenetworks.com&lt;BR /&gt;
# Contact            : www.ethernation.net (ExtremeXOS Forums)&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
# Change Log&lt;BR /&gt;
#&lt;BR /&gt;
# 15 May 2010: Script Created&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#&lt;B&gt;@DetailDescriptionEnd&lt;/B&gt;&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#&lt;B&gt;@ScriptDescription&lt;/B&gt; "This script will remove a port from a configured VLAN and place it in the default VLAN"&lt;BR /&gt;
#&lt;B&gt;@MetaDataEnd&lt;/B&gt;&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
disable clipaging&lt;BR /&gt;
set var CLI.OUT " "&lt;BR /&gt;
show ports $EVENT.LOG_PARAM_0 information detail&lt;BR /&gt;
set var list1 $TCL(split ${CLI.OUT} "\n")&lt;BR /&gt;
set var list2 $TCL(lindex $(list1) 10)&lt;BR /&gt;
set var list3 $TCL(lindex $(list2) 1)&lt;BR /&gt;
set var vlan $TCL(string range $(list3) 0 end-1)&lt;BR /&gt;
configure vlan $vlan delete port $EVENT.LOG_PARAM_0&lt;BR /&gt;
configure vlan default add port $EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry Device_removed_on_Port_$EVENT.LOG_PARAM_0&lt;BR /&gt;
create log entry Vlan_Default_configured_on_port_$EVENT.LOG_PARAM_0&lt;BR /&gt;
.&lt;BR /&gt;
#Period used to end block-mode&lt;BR /&gt;
&lt;BR /&gt;
###############################################################################&lt;BR /&gt;
#Configure the Log Filter Trigger Parameters&lt;BR /&gt;
create log filter Log_PortUp&lt;BR /&gt;
create log filter Log_PortDown&lt;BR /&gt;
configure log filter Log_PortUp add events vlan.msgs.portLinkStateUp &lt;BR /&gt;
configure log filter Log_PortDown add events vlan.msgs.portLinkStateDown &lt;BR /&gt;
create log target upm MAC-Detect&lt;BR /&gt;
enable log target upm MAC-Detect&lt;BR /&gt;
configure log target upm MAC-Detect filter Log_PortUp severity Info only&lt;BR /&gt;
configure log target upm MAC-Detect match Any&lt;BR /&gt;
create log target upm MAC-Delete&lt;BR /&gt;
enable log target upm MAC-Delete&lt;BR /&gt;
configure log target upm MAC-Delete filter Log_PortDown severity Info only&lt;BR /&gt;
configure log target upm MAC-Delete match Any&lt;BR /&gt;
&lt;BR /&gt;
Good Luck&lt;BR /&gt;
&lt;BR /&gt;
P  (from Paul_Russo)</description>
      <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/script-to-detect-vendor-mac-address-and-put-into-appropriate/m-p/20823#M297</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Script to detect Vendor Mac Address and put into appropriate vlan</title>
      <link>https://community.extremenetworks.com/t5/scripting/script-to-detect-vendor-mac-address-and-put-into-appropriate/m-p/20824#M298</link>
      <description>Create Date: Mar 20 2013  9:39PM&lt;BR /&gt;
&lt;BR /&gt;
Thank you very much! This will definitely get me going.  (from Forrest_Darst)</description>
      <pubDate>Wed, 08 Jan 2014 05:50:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/scripting/script-to-detect-vendor-mac-address-and-put-into-appropriate/m-p/20824#M298</guid>
      <dc:creator>EtherNation_Use</dc:creator>
      <dc:date>2014-01-08T05:50:00Z</dc:date>
    </item>
  </channel>
</rss>

