use this command to enable Mac Locking
set maclock enable [ port-string]
and this to permit the first MAC arrival
set maclock firstarrival port-string value
es. S Chassis(rw)->set maclock firstarrival ge.2.3 1
I hop that this could help you...