Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

vlan-tags

Syntax

Hierarchy Level

Description

For Gigabit Ethernet IQ and IQE interfaces only, binds TPIDs and 802.1Q VLAN tag IDs to a logical interface. You must include the stacked-vlan-tagging statement at the [edit interfaces interface-name] hierarchy level.

Note:

The inner-range vid1–vid2 option is supported on IQE PICs only.

Options

inner [tpid].vlan-id

A TPID (optional) and a valid VLAN identifier in the format tpid.vlan-id. When used in the dynamic-profiles hierarchy, specify the $junos-vlan-id predefined variable to dynamically obtain the VLAN ID.

Note:

On the network-to-network (NNI) or egress interfaces of provider edge (PE) routers, you cannot configure the inner-range tpid. vid1vid2 option with the vlan-tags statement for ISP-facing interfaces.

  • Range: For VLAN ID, 1 through 4094. VLAN ID 0 is reserved for tagging the priority of frames.

outer [tpid].vlan-id

A TPID (optional) and a valid VLAN identifier in the format tpid.vlan-id. When used in the dynamic-profiles hierarchy, specify the $junos-stacked-vlan-id predefined variable.

  • Range: For VLAN ID, 1 through 511 for normal interfaces, and 512 through 4094 for VLAN CCC interfaces. 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.

Release Information

Statement introduced in Junos OS Release 9.5.

VLAN demux interface support introduced in Junos OS Release 10.2.