Configuring EVPN Routing Instances
You can configure an EVPN instance using a supported Layer 2 (L2) instance type (see instance-type) in which you
enable the EVPN protocol with other parameters such as an encapsulation type, a route
distinguisher, and a route-target. We support several instance-type
options
for EVPN instances, including:
-
evpn
instance type -
virtual-switch
instance type -
mac-vrf
instance type -
The default switch instance (in this case, you don't configure a named EVPN instance, and you configure EVPN protocol options at a global level)
Support for different EVPN instance types is platform-specific, so not all platforms
support all of these instance-type
values. This procedure uses
instance-type evpn
.
When you configure an EVPN instance using instance-type virtual-switch
,
you must configure the EVPN protocol settings in the instance at the same time you
configure the instance. Otherwise the device has problems adding EVPN Type 2 (MAC-IP)
route entries in the EVPN routing tables.
If you need to update an existing virtual-switch
instance in an active
configuration to add EVPN protocol settings (set ... protocols evpn ...
),
you must:
-
Deactivate the
virtual-switch
instance configuration. -
Add the EVPN protocol statements to the
virtual-switch
instance configuration. -
Reactivate the updated
virtual-switch
instance configuration with the EVPN protocol updates.
To configure an EVPN routing instance, complete the following configuration on the PE router (or on the MPLS edge switch [MES] or QFX Series switch) within the EVPN service provider’s network: