vlan-id (Bridge Domain)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 8.4.
Support for Layer 2 trunk ports added in Junos OS Release 9.2.
Support for logical systems added in Junos OS Release 9.6.
Description
(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. |
Options
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.

