Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring EVPN with Support for Virtual Switch

 

You can configure an Ethernet VPN (EVPN) with virtual switch support to enable multiple tenants with independent VLAN and subnet space within an EVPN instance. Virtual switch provides the ability to extend Ethernet VLANs over a WAN using a single EVPN instance while maintaining data-plane separation between the various VLANs associated with that instance. A single EVPN instance can stretch up to 4094 bridge domains defined in a virtual switch to remote sites.

When configuring virtual switch for EVPN, be aware of the following considerations:

  • Due to default ARP policing, some of the ARP packets not destined for the device can be missed. This can lead to delayed ARP learning and synchronization.

  • Clearing ARP for an EVPN can lead to inconsistency between the ARP table and the EVPN ARP table. To avoid this situation, clear both ARP and EVPN ARP tables.

  • The vlan-tag can be configured for local switching. However, vlan-tagged VLANs should not be extended over the EVPN cloud.

Before you begin:

  1. Configure the router interfaces.

  2. Configure the router ID and autonomous system number for the device.

  3. Enable chained composite next hop for EVPN.

  4. Configure OSPF or any other IGP protocol.

  5. Configure a BGP internal group.

  6. Include the EVPN signaling network layer reachability information (NLRI) to the internal BGP group.

  7. Configure RSVP or LDP.

  8. Configure MPLS.

  9. Create a label-switched path between the provider edge (PE) devices.

To configure the PE device:

  1. Configure the virtual switch routing instance.
  2. Configure the interface names for the virtual switch routing instance.
  3. Configure the route distinguisher for the virtual switch routing instance.
  4. Configure the VPN routing and forwarding (VRF) target community for the virtual switch routing instance.
  5. List the VLAN identifiers that are to be EVPN extended.
  6. Configure the bridge domain for the first virtual switch routing instance.
  7. Assign the VLAN ID for the first bridge domain.
  8. Configure the IRB interface as the routing interface for the first bridge domain.
  9. Configure the interface name for the first bridge domain.
  10. Configure the bridge domain for the second virtual switch routing instance.
  11. Assign the VLAN ID for the second bridge domain.
  12. Configure the IRB interface as the routing interface for the second bridge domain.
  13. Configure the interface name for the second bridge domain.
  14. Configure the VRF routing instance.
  15. Configure the IRB interface as the routing interface for the VRF routing instance.
  16. Configure the route distinguisher for the VRF routing instance.
  17. Configure the VRF target community for the VRF routing instance.
  18. Configure the VRF label for the VRF routing instance.
  19. Verify and commit the configuration.

    For example: