I couldn't think of a good way to pose this question for a search.
What's the difference (if any) of specifying a port's VLAN membership by configuring,
interface <interface> {
unit 0 {
family ethernet-switching {
port-mode access;
vlan {
members vlan1000;
}
}
}
}
Versus,
vlans {
vlan1000 {
vlan-id 1000;
interface {
<interface>.0;
}
}
}