Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


vlan-id (VLAN ID to Be Bound to a Logical Interface)


Hierarchy Level


For Fast Ethernet, Gigabit Ethernet, and Aggregated Ethernet interfaces only, bind a 802.1Q VLAN tag ID to a logical interface.


number—A valid 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. In Junos OS Evolved vlan-id 0 is not supported.

For 48-port Fast Ethernet and Gigabit Ethernet PICs, 1 through 4094.

VLAN ID 0 is reserved for tagging the priority of frames used in Junos OS. In Junos OS Evolved vlan-id 0 is not supported.

Required Privilege Level

interface—To view this statement in the configuration.

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

Release Information

Statement introduced before Junos OS Release 7.4.