Supported Platforms
Related Documentation
- EX, MX Series
- Configuring a VLAN
- Configuring VLAN Identifiers for VLANs and VPLS Routing Instances
- EX Series
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring Q-in-Q Tunneling (CLI Procedure)
- EX Series, QFX Series standalone switches
- Configuring VLANs
- M, MX, T Series
- Configuring VLAN Identifiers for Bridge Domains and VPLS Routing Instances
- MX Series
- Configuring a Bridge Domain
vlan-id-list
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 9.4.
Support for logical systems added in Junos OS Release 9.6.
Statement introduced in Junos OS Release 12.3R2 for EX Series switches.
Statement introduced in Junos OS Release 13.2 for the QFX Series.
Description
Specify a VLAN identifier list to use for a bridge domain or VLAN in trunk mode.
Specify the trunk option in the interface-mode statement to accept packets with a VLAN ID that matches the list of VLAN IDs specified in the vlan-id-list statement to forward the packet within the bridge domain or VLAN configured with the matching VLAN ID. Specify the access option to accept packets with no VLAN ID to forward the packet within the bridge domain or VLAN configured with the VLAN ID that matches the VLAN ID specified in the vlan-id statement.
This statement also enables you to bind a logical interface to a list of VLAN IDs, thereby configuring the logical interface to receive and forward a frame with a tag that matches the specified VLAN ID list.
![]() | Warning: On some EX and QFX Series switches, you can apply no more than eight VLAN identifier list entries to a physical interface. |
Options
vlan-id-numbers—Valid VLAN identifiers. You can combine individual numbers with range lists including a hyphen.
Range: 0 through 4095
![]() | Note: On EX Series switches and the QFX Series, the range is 0 through 4094. |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- EX, MX Series
- Configuring a VLAN
- Configuring VLAN Identifiers for VLANs and VPLS Routing Instances
- EX Series
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring Q-in-Q Tunneling (CLI Procedure)
- EX Series, QFX Series standalone switches
- Configuring VLANs
- M, MX, T Series
- Configuring VLAN Identifiers for Bridge Domains and VPLS Routing Instances
- MX Series
- Configuring a Bridge Domain
Modified: 2016-02-24
Supported Platforms
Related Documentation
- EX, MX Series
- Configuring a VLAN
- Configuring VLAN Identifiers for VLANs and VPLS Routing Instances
- EX Series
- Configuring VLANs for EX Series Switches (CLI Procedure)
- Configuring Q-in-Q Tunneling (CLI Procedure)
- EX Series, QFX Series standalone switches
- Configuring VLANs
- M, MX, T Series
- Configuring VLAN Identifiers for Bridge Domains and VPLS Routing Instances
- MX Series
- Configuring a Bridge Domain