vlan-id
Syntax
vlan-id number;
Hierarchy Level
[edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number]
Release Information
Statement introduced in JUNOS Release 9.5.
Description
For Fast Ethernet, Gigabit Ethernet, and Aggregated Ethernet interfaces only, bind a 802.1Q VLAN tag ID to a logical interface.
Options
number—A valid VLAN identifier. When used in the dynamic-profiles hierarchy, specify the $junos-vlan-id predefined variable to dynamically obtain the VLAN identifier.
- Range:
- For aggregated Ethernet, 4-port, 8-port, and 12-port Fast Ethernet PICs, and for management and internal Ethernet interfaces, 1 through 1023.
- For 48-port Fast Ethernet and Gigabit Ethernet PICs, 1 through 4094.
- VLAN ID 0 is reserved for tagging the priority of frames.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.

