cancel
Showing results for 
Search instead for 
Did you mean: 

UPM Configuration error

UPM Configuration error

Giuseppe_Montan
Contributor

Good Evening, what is wrong ?

I want to detect a phone with OUI.

Thank

Giuseppe

************Profile Contents Begin************
#MAC OUI VLANs
#@VariableFieldLabel "MAC OUI Number 1 (xx:xx:xx:)"
set var MAC1 00:1A:E8:
#@VariableFieldLabel "VLAN for MAC OUI Number 1"
set var VLAN1 UNIFY
#@VariableFieldLabel "Vendor Name for MAC OUI Number 1"
set var VENDOR1 UNIFY
set var myWaitVar $TCL(after [expr 1000 * 6])
#Initialize the CLI.OUT variable to purge any data
set var CLI.OUT " "
show fdb ports $EVENT.USER_PORT
set var list1 $TCL(split $ "\n")
set var list2 $TCL(lindex $(list1) 2)
set var list3 $TCL(string replace $(list2) 9 54 {})
#Match the data in variable "list3" with the user defined MAC OUI variables
if (!$match($list3, $MAC1)) then
configure vlan default del port $EVENT.USER_PORT
configure vlan $VLAN1 add port $EVENT.USER_PORT
create log entry "($VENDOR1)_device_connected_on_port_($EVENT.USER_PORT)"
endif

************Profile Contents Ends*************

Profile State: Enabled
Profile Maximum Execution Time: 30
Events and ports configured on the profile:
===========================================================
Event                           Port list/Log filter
===========================================================
device-detect               :     1-20
device-undetect             :
user-authenticated          :
user-unauthenticated        :
identity-detect             :
identity-undetect           :
identity-role-associate     :
identity-role-dissociate    :
===========================================================

 

0 REPLIES 0
GTM-P2G8KFN