Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring EVPN with VLAN-Based Service

VLAN-based service supports the mapping of one or more routing instances of type EVPN to only one VLAN. There is only one bridge table that corresponds to the one VLAN. If the VLAN consists of multiple VLAN IDs (VIDs)—for example, there is a different VID per Ethernet segment on a provider edge device—then VLAN translation is required for packets that are destined to the Ethernet segment.

To configure VLAN-based service and Layer 3 routing with two EVPN routing instances on a provider edge device.

  1. Configure the first routing instance of type evpn named evpn1.

    For example:

  2. Configure the access interface for handling EVPN traffic.

    For example:

  3. Configure a Layer 3 integrated and routing (IRB) interface for the evpn1 routing instance.

    For example:

  4. Configure the Virtual Tunnel Endpoint interface for the evpn1 routing instance.

    For example:

  5. Configure a VLAN identifier for the evpn1 routing instance.

    For example:

  6. Configure a route distinguisher for the evpn1 routing instance.

    For example:

  7. Configure the VPN routing and forwarding (VRF) target community for the evpn1 routing instance.

    For example:

  8. Configure the encapsulation type for the evpn1 routing instance.

    For example:

  9. Configure the VXLAN Network Identifier (VNI) for the evpn1 routing instance.

    For example:

  10. Configure the second routing instance of type evpn named evpn2:

    For example:

  11. Configure the access interface on the provider edge device (PE) for handling EVPN traffic.

    For example:

  12. Configure a Layer 3 integrated and routing (IRB) interface for the evpn2 routing instance.

    For example:

  13. Configure the loopback address as the virtual tunnel endpoint source interface for the evpn2 routing instance.

    For example:

  14. Configure the VLAN identifier for the evpn2 routing instance to be none.

    For example:

  15. Configure a route distinguisher for the evpn2 routing instance.

    For example:

  16. Configure the VPN routing and forwarding (VRF) target community for the evpn2 routing instance.

    For example:

  17. Configure the encapsulation type for the evpn2 routing instance.

    For example:

  18. Configure the VXLAN Network Identifier (VNI) for the evpn2 routing instance.

    For example:

  19. Configure a VPN routing and forwarding (VRF) routing instance.

    For example:

  20. Configure the first of two integrated routing and bridging (IRB) interface for the vrf instance.

    For example:

  21. Configure the second of two integrated routing and bridging (IRB) interface for the VPN routing and forwarding (VRF) instance.

    For example:

  22. Configure the loopback interface for the vrf instance.

    For example:

  23. Configure a unique route distinguisher for the VPN routing and forwarding (VRF) instance to identify from which EVPN the route belongs.

    For example:

  24. Configure the VPN routing and forwarding (VRF) target community for the VPN routing and forwarding (VRF) routing instance.

    For example:

  25. Configure the auto-export option to automatically derive the route target.

    For example: