Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


community-vlans (MX Series)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 14.2 for MX240, MX480, and MX960 routers.


Configure the specified community VLAN to be a secondary VLAN of the specified primary VLAN. A community VLAN is used to transport frames among members of a community, which is a subset of users within the VLAN, and to forward frames upstream to the primary VLAN.


When you specify this configuration statement, the VLAN ID of a logical interface that you associate with a bridge domain that matches with the VLAN ID or list of IDs that you specify using the community-vlans state is treated as a community port.


numberIndividual VLAN IDs separated by a space.

Required Privilege Level

system—To view this statement in the configuration.

system–control—To add this statement to the configuration.