vlan-tagging
Syntax
vlan-tagging;
Syntax (QFX Series, NFX Series, and EX4600)
vlan-tagging;
Syntax (SRX Series Interfaces)
vlan-tagging native-vlan-id vlan-id;
Hierarchy Level
[edit interfaces interface-name], [edit logical-systems logical-system-name interfaces interface-name]
QFX Series, NFX Series, and EX4600 Interfaces
[edit interfaces (QFX Series) interface-name ] [edit interfaces (QFX Series) interface-range interface-range-name ]
SRX Series Interfaces
[edit interfaces interface ]
Description
For Fast Ethernet and Gigabit Ethernet interfaces, aggregated Ethernet interfaces configured for VPLS, and pseudowire subscriber interfaces, enable the reception and transmission of 802.1Q VLAN-tagged frames on the interface.
For QFX Series configure VLAN identifier for untagged packets received on the physical interface of a trunk mode interface. Enable VLAN tagging. The platform receives and forwards single-tag frames with 802.1Q VLAN tags.
On EX Series switches except for EX4300 and EX9200 switches,
the vlan-tagging
and family ethernet-switching
statements cannot be configured on the same interface. Interfaces
on EX2200, EX3200, EX3300, EX4200, and EX4500 switches are set to family ethernet-switching
by the default factory configuration.
EX6200 and EX8200 switch interfaces do not have a default family
setting.
Default
VLAN tagging is disabled by default.
Options
native-vlan-id
— (SRX Series)Configures
a VLAN identifier for untagged packets. Enter a number from 0 through
4094.
The native-vlan-id
can be configured only when
either flexible-vlan-tagging
mode or interface-mode
trunk is configured.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 12.2 for ACX Series Universal Metro Routers.