Supported Platforms
Configuring the Native VLAN Identifier (CLI Procedure)
![]() | Note: This task uses Junos OS for EX Series switches and Junos OS for QFX3500 and QFX3600 switches that does not support the Enhanced Layer 2 Software (ELS) configuration style. If your switch runs software that supports ELS, see Configuring the Native VLAN Identifier (CLI Procedure) . For ELS details, see Getting Started with Enhanced Layer 2 Software. |
EX Series switches support receiving and forwarding routed or bridged Ethernet frames with 802.1Q VLAN tags. The logical interface on which untagged packets are to be received must be configured with the same native VLAN ID as that configured on the physical interface.
To configure the native VLAN ID using the CLI:
- Configure the port mode so that the interface is in multiple
VLANs and can multiplex traffic between different VLANs. Trunk interfaces
typically connect to other switches and to routers on the LAN. Configure
the port mode as trunk:
[edit interfaces ge-0/0/3 unit 0 family ethernet-switching]
user@switch# set port-mode trunk - Configure the native VLAN ID:
[edit interfaces ge-0/0/3 unit 0 family ethernet-switching]
user@switch# set native-vlan-id 3