Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

l3-interface (VLAN)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 11.1 for the QFX Series.

[edit vlans vlan-name] hierarchy level introduced in Junos OS Release 12.3R2 for EX Series switches and MX Series routers.

irb option introduced in Junos OS Release 13.2 for the QFX Series.

Description

Associate a Layer 3 interface with the VLAN. Configure Layer 3 interfaces on trunk ports to allow the interface to transfer traffic between VLANs. Within a VLAN, traffic is bridged, while across VLANs, traffic is routed. Because traffic between VLANs must be routed, a common Layer 3 interface is required.

Default

No Layer 3 (routing) interface is associated with the VLAN.

Options

interface-namelogical-unit-number—Name of a logical interface.

vlan.logical-interface-number—Number of the logical interface. Use the unit number that you used when you created the vlan interface with a set interfaces (QFX Series) vlan unit statement.

Note

Use this statement with versions of Junos OS that do not support Enhanced Layer 2 Software (ELS).

irb.logical-interface-number—Logical interface defined with a set interfaces (QFX Series) irb statement.

Note

Use this statement with versions of Junos OS that support Enhanced Layer 2 Software (ELS).

Required Privilege Level

routing—To view this statement in the configuration.

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