Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?




Hierarchy Level


Assign a VLAN that enables routing in and out of VXLAN tunnels (RIOT) for symmetric EVPN Type 2 and Type 5 routing.

Some Juniper switching platforms don't have native VXLAN routing hardware support for Layer 3 VXLAN gateway functions. Instead, supporting switches can use an intermediary loopback port in a two-pass process for routing in and out of VXLAN tunnels (RIOT). You configure this intermediary port as a loopback link aggregation group (LAG) that is a member of all VLANs with IRB interfaces used for VXLAN routing.

To support symmetric EVPN Type 2 and Type 5 routes with the RIOT loopback LAG port, for each Layer 3 virtual routing and forwarding (VRF) instance, you:

  • Configure an extra VLAN with an IRB interface.

  • Map that VLAN to the same VXLAN network identifier (VNI) that you configure for a corresponding Layer 3 VRF instance.

  • Configure this riot-loopback statement with the extra VLAN so the Layer 3 VRF instance uses the RIOT loopback LAG port for Type 2 and Type 5 VXLAN routing.

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced for EVPN Type 5 routing in Junos OS Release 21.3R1.

Support added for symmetric EVPN Type 2 routing in Junos OS Release 21.4R1.