This is what I have tested before. Different model of AP add to different VLAN.
if (!$match($EVENT.NAME,DEVICE-DETECT)) then
if (!$match($EVENT.DEVICE_MODEL,AP4511)) then
create log entry "ADD port $(EVENT.USER_PORT) to VLAN AP4511_1"
conf...
The command and example as following. But not all the OS an support this feature.
configure {vlan} router-discovery {ipv6} add dnssl {{dnssl-lifetime} [ | infinity]}
configure {vlan} router-discovery {ipv6} add rdnss
configure vlan v6 router-dis...