interface (VLANs)
Syntax (QFX Series, QFabric, NFX Series and EX4600)
interface interface-name { mapping (native (push | swap) | tag (push | swap)); }
Syntax (EX Series and SRX210)
interface interface-name; { egress; ingress; mapping (native (push | swap) | policy | tag (push | swap)); pvlan-trunk; }
QFX Series, QFabric, NFX Series and EX4600
[edit vlans vlan-name]
EX Series and SRX210
[edit vlans vlan-name], [edit vlans vlan-name], [edit vlans vlan-name vlan-id number], [edit vlans vlan-name vlan-id number], [edit vlans vlan-name vlan-id-list number]
Description
For a specific VLAN, configure an interface.
Options
interface-name—Name of the Ethernet interface
The remaining statement is explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.routing-control—To add this statement to the configuration.
system—To view this statement in the configuration.system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 9.3.