Hello,
Please try below:
set groups lag interfaces <ae*> unit 0 family ethernet-switching vlan members test-1000
set interfaces apply-groups lag
above group will apply vlan test-1000 to all AE/LAG interfaces
{master:0}[edit]
root@test# show interfaces ae1 | display inheritance
aggregated-ether-options {
link-speed 1g;
lacp {
active;
}
}
unit 0 {
family ethernet-switching {
interface-mode trunk;
vlan {
## 'test-1000' was inherited from group 'lag' >>> here we can see vlan test-1000 was inherited from group "lag"
members [ test-1000 ];
}
}
}
=======================================================
Please Mark My Solution Accepted if it Helped, Kudos are Appreciated Too