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
.
Some configuration changes can be what we call catastrophic if you perform the changes in an operating network, which means you might see significant disruption in network operation and services. The network disruption can include loss of connectivity among the network devices, and traffic loss while the devices reconverge on changes to network information. When you want to change options in an EVPN routing instance, the change has the potential to impact traffic flow for EVPN as well as other services in the network. As a result, when you change EVPN instance parameters, make sure you use the following procedure to avoid network disruption and traffic loss:
Deactivate the routing instance configuration.
Change the traffic impacting option.
Reactivate the updated routing instance configuration.
For example, you must 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, 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 before making the change. -
The
vlan-id
in an EVPN routing instance—Changing thevlan-id
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: