Technical Documentation

vlan-id (Bridge Domain)


vlan-id (all | none | number);

Hierarchy Level

[edit bridge-domains bridge-domain-name],[edit logical-systems logical-system-name bridge-domainss bridge-domain-name],[edit logical-systems logical-system-name routing-instances routing-instance-name bridge-domains bridge-domain-name],[edit routing-instances routing-instance-name bridge-domains bridge-domain-name]

Release Information

Statement introduced in JUNOS Release 8.4.

Support for Layer 2 trunk ports added in JUNOS Release 9.2.

Support for logical systems added in JUNOS Release 9.6.


(MX Series routers only) Specify a VLAN identifier (VID) to include in the packets sent to and from the bridge domain or a VPLS routing instance.

Note: When configuring a VLAN identifier for provider backbone bridge (PBB) routing instances, dual-tagged VIDs and the none option are not permitted.


number—A valid VLAN identifier. If you configure multiple bridge domains with a valid VLAN identifier, you must specify a unique VLAN identifier for each domain. However, you can use the same VLAN identifier for bridge domains that belong to different virtual switches. Use this option to send singly tagged frames with the specified VLAN identifier over VPLS VT interfaces.

Note: If you specify a VLAN identifier, you cannot also use the all option. They are mutually exclusive.

all—Specify that the bridge domain spans all the VLAN identifiers configured on the member logical interfaces.

Note: You cannot specify the all option if you include a routing interface in the bridge domain.

none—Specify to enable shared VLAN learning or to send untagged frames over VPLS VT interfaces.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Published: 2010-05-11