encapsulation (protocols evpn)
Syntax
encapsulation (mpls | srv6 | vxlan);
Hierarchy Level
[edit protocols evpn], [edit protocols evpn interconnect], [edit routing-instances routing-instance-name protocols evpn], [edit routing-instances routing-instance-name protocols evpn interconnect]
Description
Configure an encapsulation type for EVPN features.
Options
encapsulation mpls |
Use the You configure both
Note:
Configure the This sample configuration defines which VLANs to interconnect from the EVPN-VXLAN domain to the EVPN-MPLS domain. interconnect { vrf-target target:2:2; route-distinguisher 100:120; esi 00:0a:0b:0c:0d:0a:0b:0c:0d:0a; { all-active; } interconnected-vlan-list [51 52]; encapsulation mpls; } |
encapsulation srv6 |
The Note:
|
encapsulation vxlan |
The Note:
If you configure the Note:
The |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
The encapsulation vxlan statement was introduced in Junos OS Release 16.1.
The encapsulation mpls statement was added to the interconnect stanza in Junos OS Release 21.4R1.
The encapsulation srv6 statement was introduced in Junos OS Release 22.4R1.