l3-interface (VLAN)
Syntax
l3-interface (vlan logical-interface-number | irb logical-interface-number);
l3-interface l3-interface-name logical-interface-number { l3-interface-ingress-counting; }
l3-interface interface-name-logical-unit-number;
Hierarchy Level
[edit vlans vlan-name]
[edit interfaces ge-chassis/slot/port unit logical-unit-number family ethernet-switching] [edit vlans vlan-name]
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-name–logical-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.
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.
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.
Release Information
Statement introduced in Junos OS Release 9.0.
[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.