Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

vlan-id-list

Syntax

vlan-id-list [ vlan-id-numbers ];

Hierarchy Level

[edit bridge-domains bridge-domain-name],[edit logical-systems logical-system-name bridge-domains 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][edit interfaces interface-name unit 0],[edit vlans vlan-name]

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.

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.

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, 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.

Published: 2013-04-03