Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

encapsulate-inner-vlan

Syntax

Hierarchy Level

Description

Configure the switch to preserve the original VLAN tag (in the inner Ethernet packet) when performing Virtual Extensible LAN (VXLAN) encapsulation.

Preserving the original VLAN tag is implicit with VLAN bundle services. As a result, in an EVPN-VXLAN environment, you don't need to configure this option with EVPN MAC-VRF instance vlan-bundle service type configurations. Explicitly configure this option with other service types if needed.

Note:

Starting in Junos OS release 23.2R2, you cannot configure the encapsulate-inner-vlan statement in a MAC-VRF routing instance if the vlan has an IRB interface associated with it.

Note:

Starting in Junos OS release 22.3R1, IS-IS logical link control (LLC) packets that are encapsulated in a VXLAN tunnel now have their VLAN tags removed by default. You can configure this option to preserve the VLAN tags on IS-IS LLC packets.

Note:

ARP suppression is automatically disabled when you encapsulate VLAN traffic for EVPN-VXLAN by configuring encapsulate-inner-vlan and its equivalent converse statement decapsulate-accept-inner-vlan. As a result, you might observe ARP packets being sent by the device.

Default

When the device encapsulates the packet, it drops the original VLAN tag.

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 14.1R2.