Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
EVPN User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring an EVPN with IRB Solution on EX9200 Switches

date_range 20-Dec-24

You can configure an Ethernet VPN (EVPN) with IRB solution to enable Layer 2 switching and Layer 3 routing operations within a single node, thus avoiding extra hops for inter-subnet traffic. The EVPN IRB solution eliminates the default gateway problem using the gateway MAC and IP synchronization, and avoids the triangular routing problem with Layer 3 interworking by creating IP host routes for virtual machines (VMs) in the tenant virtual routing and forwarding (VRF) routing instances.

Before you begin:

  1. Configure the switch interfaces.

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

  3. Enable the 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 LDP.

  8. Configure MPLS.

To configure the PE device:

  1. Configure the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance instance-type evpn
    
  2. Set the VLAN identifier for the bridging domain in the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance vlan-id VLAN-ID
    
  3. Configure the interface name for the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance interface CE-facing-interface
    
  4. Configure the IRB interface as the routing interface for the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance l3-interface irb.0
    
  5. Configure the route distinguisher for the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance route-distinguisher route-distinguisher-value
    
  6. Configure the VPN routing and forwarding (VRF) target community for the EVPN routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance vrf-target vrf-target-value
    
  7. Assign the interface name that connects the PE device site to the VPN.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpn-instance protocols evpn interface CE-facing-interface
    
  8. Configure the VRF routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set vrf-instance instance-type vrf
    
  9. Configure the IRB interface as the routing interface for the VRF routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set vrf-instance interface irb.0
    
  10. Configure the route distinguisher for the VRF routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set vrf-instance route-distinguisher route-distinguisher-value
    
  11. Configure the VRF label for the VRF routing instance.
    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set vrf-instance vrf-table-label
    
  12. Verify and commit the configuration.

    For example:

    content_copy zoom_out_map
    [edit routing-instances]
    user@PE1# set evpna instance-type evpn
    user@PE1# set evpna vlan-id 10
    user@PE1# set evpna interface ge-1/1/8.0
    user@PE1# set evpna l3-interface irb.0
    user@PE1# set evpna route-distinguisher 100.255.0.1:100
    user@PE1# set evpna vrf-target target:100:100
    user@PE1# set evpna protocols evpn interface ge-1/1/8.0
    user@PE1# set vrf instance-type vrf
    user@PE1# set vrf interface irb.0
    user@PE1# set vrf route-distinguisher 100.255.0.1:300
    user@PE1# set vrf vrf-target target:100:300
    user@PE1# set vrf vrf-table-label
    
    content_copy zoom_out_map
    [edit]
    user@PE1# commit
    commit complete
    
footer-navigation