You can use the Domain Path (DPATH) attribute in BGP routes to prevent control plane and data plane loops. With the D-PATH attribute, BGP identifies the domains and domain IDs through which EVPN Type 5 and IP VPN routes have traversed. Each IP-VRF (IP virtual routing and forwarding) instance is part of multiple domains and has multiple domain IDs. BGP uses IP-VRF domain IDs to detect routing loops between gateway PEs as well as select the best routes. BGP adds the domain ID path when it propagates BGP updates to a different domain on a gateway PE device.
To configure D-PATH EVPN and IP VPN functionality on your gateway PE devices, enable the uniform-propagation-mode statement in the global [edit routing-instances] hierarchy. Also, configure domain IDsfor each IP-VRF instance at the global [edit routing-options uniform-propagation-mode domain-id domain-id:type ] hierarchy level. The domain-id:type is the address family for the inter-subnet forwarding (SAFI) type, such as EVPN, IVPN, or IP.
| Product / Application | Software | Introduced Release |
|---|---|---|
| MX480 | Junos OS | 22.2R1 |
| MX960 | Junos OS | 22.2R1 |
| vMX | Junos OS | 22.2R1 |