Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

vlan-id (Bridge Domain or VLAN)

Syntax

vlan-id (all | none | number);

Hierarchy Level

[edit bridge-domains bridge-domain-name],[edit logical-systems logical-system-name bridge-domainsbridge-domain-name],[edit logical-systems logical-system-name routing-instances routing-instance-name bridge-domainsbridge-domain-name],[edit routing-instances routing-instance-namebridge-domains bridge-domain-name][edit vlans vlan-name]

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 SRX 3400, SRX 3600, SRX 5600, and SRX 5800 devices added in Junos OS Release 9.6.

Support for logical systems added in Junos OS Release 9.6.

Statement introduced in Junos OS Release 12.3R2 for EX Series switches.

Description

Specify a VLAN identifier (VID) to include in the packets sent to and from the bridge domain or VLAN, 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 or VLANs with a valid VLAN identifier, you must specify a unique VLAN identifier for each. However, you can use the same VLAN identifier for bridge domains or VLANs that belong to different virtual switches. Use this option to send single 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 or VLAN 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 or VLAN.

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

Note: Multichassis link aggregation (MC-LAG) does not support the none option with the vlan-id statement with bridge domains or VLANs.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2013-04-03

Supported Platforms

Published: 2013-04-03