Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


vlan-id (Dynamic Profiles)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.5.

VLAN demux interface support introduced in Junos OS Release 10.2.


For VLAN demux, 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. When used in the dynamic-profiles hierarchy, specify the $junos-vlan-id predefined variable to dynamically obtain the VLAN identifier.

none—Enable the use of untagged pseudo-wire frames on dynamic interfaces.

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