This KB article explain you about the error error: Unique id allocation failed for '//var/etc/stp_ae_port.id' - no more free ids which is observed while configuring a new ae interface on switch.
Sample Configuration :
user@device#show | compare
[edit interfaces]
ge-15/0/1
{
ether-options
802.3ad ae61;
}
ge-16/0/1
aggregated-ether-options
lacp
active;
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
members all;
user@device#commit check
error: Unique id allocation failed for '//var/etc/stp_ae_port.id' - no more free ids
We will Observe the commit error while try to configure AE interface, if we have more than 487 interface on the switch. Error : " error: Unique id allocation failed for '//var/etc/stp_ae_port.id' - no more free ids "
user@device# show interfaces | display inheritance | display set | count Count: 1509 lines
EXAMPLE : set interfaces interface-range jtac-test1 member-range ge-0/0/0 to ge-6/0/47
set interfaces interface-range jtac-test1 member-range ge-7/0/0 to ge-8/0/47
set interfaces interface-range jtac-test2 member-range ge-7/0/0 to ge-8/0/47
set interfaces interface-range jtac-test2 member-range ge-0/0/0 to ge-6/0/47
EXAMPLE :set protocols vstp interface ge-5/0/14
set protocols vstp interface ge-5/0/15
set protocols vstp interface ge-5/0/16
set protocols vstp interface ge-5/0/17