- vlan-id (all | none | number);
- [edit bridge-domains bridge-domain-name],
- [edit routing-instances routing-instance-name bridge-domains bridge-domain-name]
Statement introduced in JUNOS Release 8.4.
Support for Layer 2 trunk port introduced in JUNOS Release 9.2.
(MX-series routers only) Specify a VLAN identifier to include in the packets sent to and from the bridge domain or a VPLS routing instance.
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.
See Configuring a Bridge Domain, Configuring VLAN Identifiers for a Bridge Domain or a VPLS Routing Instance, Configuring a Set of Bridge Domains for a Layer 2 Trunk Port, Configuring a Layer 2 Virtual Switch, Configuring VPLS Ports in a Virtual Switch, and Configuring Integrated Routing and Bridging for a Bridge Domain Within a Layer 2 Virtual Switch.
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
vlan-tags and JUNOS VPNs Configuration Guide