Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

encapsulate-inner-vlan

date_range 15-Apr-24

Syntax

content_copy zoom_out_map
encapsulate-inner-vlan 

Hierarchy Level

content_copy zoom_out_map
[edit routing-instances routing-instance-name vlans vlan-name vxlan],
[edit vlans vlan-name vxlan]

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.

footer-navigation