- play_arrow EVPN-VXLAN
- play_arrow Overview
- Understanding EVPN with VXLAN Data Plane Encapsulation
- EVPN-over-VXLAN Supported Functionality
- Understanding VXLANs
- VXLAN Constraints on EX Series, QFX Series, PTX Series, and ACX Series Devices
- EVPN Over VXLAN Encapsulation Configuration Overview for QFX Series and EX4600 Switches
- Implementing EVPN-VXLAN for Data Centers
- PIM NSR and Unified ISSU Support for VXLAN Overview
- Routing IPv6 Data Traffic through an EVPN-VXLAN Network with an IPv4 Underlay
- Understanding How to Configure VXLANs and Layer 3 Logical Interfaces to Interoperate
- Understanding GBP Profiles
- play_arrow Configuring EVPN-VXLAN Interfaces
- Understanding Flexible Ethernet Services Support With EVPN-VXLAN
- EVPN-VXLAN Lightweight Leaf to Server Loop Detection
- Overlapping VLAN Support Using VLAN Translation in EVPN-VXLAN Networks
- Overlapping VLAN Support Using Multiple Forwarding Instances or VLAN Normalization
- Layer 2 Protocol Tunneling over VXLAN Tunnels in EVPN-VXLAN Bridged Overlay Networks
- MAC Filtering, Storm Control, and Port Mirroring Support in an EVPN-VXLAN Environment
- Example: Micro and Macro Segmentation using Group Based Policy in a VXLAN
- DHCP Smart Relay in EVPN-VXLAN
- play_arrow Configuring VLAN-Aware Bundle Services, VLAN-Based Services, and Virtual Switch Support
- play_arrow Load Balancing with EVPN-VXLAN Multihoming
- play_arrow Setting Up a Layer 3 VXLAN Gateway
- play_arrow Configuring an EVPN-VXLAN Centrally-Routed Bridged Overlay
- play_arrow Configuring an EVPN-VXLAN Edge-Routed Bridging Overlay
- play_arrow IPv6 Underlay for VXLAN Overlays
- play_arrow Multicast Features with EVPN-VXLAN
- Multicast Support in EVPN-VXLAN Overlay Networks
- Overview of Multicast Forwarding with IGMP Snooping or MLD Snooping in an EVPN-VXLAN Environment
- Example: Preserving Bandwidth with IGMP Snooping in an EVPN-VXLAN Environment
- Overview of Selective Multicast Forwarding
- Configuring the number of SMET Nexthops
- Assisted Replication Multicast Optimization in EVPN Networks
- Optimized Intersubnet Multicast in EVPN Networks
- play_arrow Configuring the Tunneling of Q-in-Q Traffic
- play_arrow Tunnel Traffic Inspection on SRX Series Devices
- play_arrow Fault Detection and Isolation in EVPN-VXLAN Fabrics
-
- play_arrow EVPN-MPLS
- play_arrow Overview
- play_arrow Convergence in an EVPN MPLS Network
- play_arrow Pseudowire Termination at an EVPN
- play_arrow Configuring the Distribution of Routes
- Configuring an IGP on the PE and P Routers on EX9200 Switches
- Configuring IBGP Sessions Between PE Routers in VPNs on EX9200 Switches
- Configuring a Signaling Protocol and LSPs for VPNs on EX9200 Switches
- Configuring Entropy Labels
- Configuring Control Word for EVPN-MPLS
- Understanding P2MPs LSP for the EVPN Inclusive Provider Tunnel
- Configuring Bud Node Support
- play_arrow Configuring VLAN Services and Virtual Switch Support
- play_arrow Configuring Integrated Bridging and Routing
- EVPN with IRB Solution Overview
- An EVPN with IRB Solution on EX9200 Switches Overview
- Anycast Gateways
- Configuring EVPN with IRB Solution
- Configuring an EVPN with IRB Solution on EX9200 Switches
- Example: Configuring EVPN with IRB Solution
- Example: Configuring an EVPN with IRB Solution on EX9200 Switches
- play_arrow Configuring IGMP or MLD Snooping with EVPN-MPLS
-
- play_arrow EVPN E-LAN Services
- play_arrow EVPN-VPWS
- play_arrow Configuring VPWS Service with EVPN Mechanisms
- Overview of VPWS with EVPN Signaling Mechanisms
- Control word for EVPN-VPWS
- Overview of Flexible Cross-Connect Support on VPWS with EVPN
- Overview of Headend Termination for EVPN VPWS for Business Services
- Configuring VPWS with EVPN Signaling Mechanisms
- Example: Configuring VPWS with EVPN Signaling Mechanisms
- FAT Flow Labels in EVPN-VPWS Routing Instances
- Configuring EVPN-VPWS over SRv6
- Configuring Micro-SIDs in EVPN-VPWS
-
- play_arrow EVPN-ETREE
- play_arrow Overview
- play_arrow Configuring EVPN-ETREE
-
- play_arrow Using EVPN for Interconnection
- play_arrow Interconnecting VXLAN Data Centers With EVPN
- play_arrow Interconnecting EVPN-VXLAN Data Centers Through an EVPN-MPLS WAN
- play_arrow Extending a Junos Fusion Enterprise Using EVPN-MPLS
-
- play_arrow PBB-EVPN
- play_arrow Configuring PBB-EVPN Integration
- play_arrow Configuring MAC Pinning for PBB-EVPNs
-
- play_arrow EVPN Standards
- play_arrow Supported EVPN Standards
-
- play_arrow VXLAN-Only Features
- play_arrow Flexible VXLAN Tunnels
- play_arrow Static VXLAN
-
- play_arrow Configuration Statements and Operational Commands
ON THIS PAGE
Example: Configuring VNI Route Targets Manually
This example shows how to manually set route targets for multiple virtual network identifiers (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
If you configure the vrf-target
statement with the
auto
option, the device automatically derives route targets in
a routing instance. You can also configure vrf-target
with a
specific target
value to configure a route
target manually in a routing instance.
In this example we show how to configure route targets manually by specifying a
target
value. You can manually configure
route targets using the vrf-target
statement at the following
levels:
Global level—For all VNIs extended in a routing instance.
This setting applies to all EVPN route types.
vni-options
level—For a specific VNI in a routing instance.This setting applies only to EVPN Type 2 and Type 3 routes. With this setting:
If you also manually configure a route target at the global level, for the specified VNIs, this setting overrides the global setting.
If you also set the
auto
option to auto-derive route targets, for the specified VNIs, this setting overrides the auto setting.
Table 1 shows the corresponding CLI hierarchies in which you can manually configure a route target:
Configuration Level | Default Switch Instance Hierarchy | Configured Routing Instance Hierarchy | Applicable EVPN Route Types |
---|---|---|---|
Global (all VNIs) in Routing Instance |
|
| All EVPN Route Types |
Specified VNI in Routing Instance |
|
| Type 2 Type 3 |
We include sample configurations at each level next.
Configuration
This section shows some use cases to manually configure VNI route targets at the supported configuration levels.
- Configure VNI Route Targets Manually for all VNIs in the Default Switch Instance
- Configure VNI Route Targets Manually for all VNIs and Specific VNIs in a MAC-VRF EVPN Instance
Configure VNI Route Targets Manually for all VNIs in the Default Switch Instance
Step-by-Step Procedure
This procedure shows how to configure a route target manually for all VNIs in the default switch instance. This is a global level manual route target configuration.
At the
[edit switch-options]
hierarchy level, configure thevtep-source-interface
androute-distiguisher
statements. Next, configure thevrf-target
statement with atarget
value. All EVPN routes for all VLANs and corresponding VNIs will use thevrf-target
address configured in this step.content_copy zoom_out_map[edit switch-options] user@switch# set vtep-source-interface lo0.0 user@switch# set route-distinguisher 192.168.1.11:1 user@switch# set vrf-target target:1111:11
Note:You can optionally include
vrf-import
andvrf-export
policies to further distinguish the routes to import and export that match the route target.At the
[edit protocols evpn]
hierarchy level, configure EVPN with VXLAN encapsulation, and specify the VNIs you want to extend into the EVPN instance. In this example, we configure theextended-vni-list
statement with theall
option to apply the route target to all VNIs.content_copy zoom_out_map[edit protocols evpn] user@switch# set encapsulation vxlan user@switch# set extended-vni-list all
Results
After following the steps above and committing the configuration, use the
show configuration
command to verify the results of
your configuration.
user@switch> show configuration switch-options vtep-source-interface lo0.0; route-distinguisher 192.168.1.11:1; vrf-target { target:1111:11; } user@switch> show configuration protocols evpn encapsulation vxlan; extended-vni-list all; . . .
Configure VNI Route Targets Manually for all VNIs and Specific VNIs in a MAC-VRF EVPN Instance
Step by Step Procedure
This procedure shows how to configure a route target manually in an
EVPN-VXLAN fabric for all VNIs in a MAC-VRF instance (MAC-VRF1) with the
vlan-aware
service type. We also manually configure a
different route target specifically for VNI 100 in the same instance.
At the
[edit routing-instances MAC-VRF1]
hierarchy level, configure the routing instance with themac-vrf
instance type and service typevlan-aware
. Set thevtep-source-interface
androute-distiguisher
statements for the instance. Manually configure avrf-target
value at the global level in the routing instance. This global level route target corresponds to EVPN Type 1, Type 2, and Type 3 routes for the VNIs you extend into the EVPN instance (see the next step).content_copy zoom_out_map[edit routing-instances MAC-VRF1] user@switch# set vtep-source-interface lo0.0 user@switch# set instance-type mac-vrf user@switch# set service-type vlan-aware user@switch# set route-distinguisher 192.168.2.11:1 user@switch# set vrf-target target:1111:11
At the
[edit routing instances MAC-VRF1 protocols evpn]
hierarchy level, configure EVPN with VXLAN encapsulation. List the VNIs you want to extend into the EVPN instance using theextended-vni-list
statement. In this example, we list two VNIs, 100 and 101. We also configure an export route target value at the[edit routing-instances name protocols evpn vni-options vni vni]
hierarchy level specifically for VNI 100. As a result, the route target you set the previous step applies to any EVPN Type 1 routes and only to VNI 101 for EVPN Type 2 and Type 3 routes. The VNI level route target you set in this step applies to VNI 100 for EVPN Type 2 and Type 3 routes.content_copy zoom_out_map[edit routing instances MAC-VRF1 protocols evpn] user@switch# set encapsulation vxlan user@switch# set extended-vni-list 100 101 user@switch# set vni-options vni 100 vrf-target export target:1234:11
You can optionally include vrf-import
and
vrf-export
policies to further distinguish the
routes to import and export that match the route target.
Results
After following the steps above and committing the configuration, use the
show configuration
command to verify the results of
your configuration.
user@switch> show configuration routing-instances MAC-VRF1 vtep-source-interface lo0.0; instance-type mac-vrf; service-type vlan-aware; route-distinguisher 192.168.2.11:1; vrf-target { target:1111:11; } protocols { evpn { encapsulation vxlan; extended-vni-list 100 101; vni-options { vni 100 { vrf-target export target:1234:11; } } } } . . .