I configure it by UPM profile, but i have problem with if statment
configure upm timer "timer" after 10 every 10
enable lldp ports all
conf lldp ports 1 2 advertise all-tlvs
conf upm event device-detect profile "redundancy" ports 1 2
conf upm event device-undetect profile "redundancy" ports 1 2
create upm profile redundancy:
if (($MATCH($EVENT.NAME,DEVICE-UNDETECT))==0) then
enable port 3
else
disable port 3
endif
but this if always disable port