Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Example: Configuring VNI Route Targets Manually

 

This example shows how to manually set route targets for multiple VNIs in an EVPN-VXLAN topology.

Requirements

This example uses the following hardware and software components:

  • A QFX Series switch.

  • Junos OS version 15.1X53-D30

Overview

The vrf-target statement can be used to configure specific route targets for each VNI under vni-options. You can configure the vrf-target statement to automatically derive route targets for each VNI or you can configure route targets manually. This example explains how to configure route targets manually.

Configuration

To manually configure VNI route targets, perform these tasks:

Configuring VNI Route Targets Manually

Step-by-Step Procedure

To manually configure VNI route targets:

  1. At the [switch-options] hierarchy level, configure the vtep-source-interface, and route-distiguisher statements. Next, configure the vrf-target statement with a target. All EVPN routes for all VLANs will use the vrf-target address configured in this step.
  2. At the [evpn] hierarchy level, configure the encapsulation and extended-vni-list statements. For the purposes of this example, the extended-vni-list statement will be configured with all, to apply automatic route targets to all VNIs.

Results

After following the steps above, use the show command to verify the results of your configuration.