HI
First we can not apply this mac limit on trunk ports
{master:0}[edit]
root# show | display set | match ae0 | match trunk
set interfaces ae0 unit 0 family ethernet-switching port-mode trunk
{master:0}[edit]
root# ...options secure-access-port interface ae0 mac-limit 10
{master:0}[edit]
root# commit check
[edit ethernet-switching-options secure-access-port]
'interface ae0.0'
MAC limit configuration is not allowed for trunk port
error: configuration check-out failed
So when we configure this mac limit it should be only for access port which would any way be part of only one vlan.
Can I know if this information helps you? If not let me know what is the confusion here please.
Thanks
Partha