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 want to change a traffic impacting option under a routing instance, use the following procedure.
Deactivate the routing instance configuration.
Change the traffic impacting option.
Reactivate the updated routing instance configuration.
For example, follow this procedure if you need to change settings such as:
-
EVPN protocol settings in a
virtual-switch
instance-- You must configure EVPN protocol settings in a virtual switch instance at the same time you configure thevirtual-switch
instance type itself, or deactivate the instance before changing these settings in an existing instance. Otherwise, the device has problems adding EVPN Type 2 (MAC-IP) route entries in the EVPN routing tables. -
The
service-type
in a MAC-VRF routing instance-- When you change theservice type
of a running instance, the device might incorrectly change the VLAN ID if it is not deactivated prior to making the change. -
The
vlan-id
in an EVPN routing instance-- Changing thevlan-id
on the fly, without first deactivating the associated EVPN routing instance would be catastrophic.
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: