domain-path-id (Protocols BGP)
Syntax
domain-path-id {
receive;
send;
}Hierarchy Level
[edit protocols bgp], [edit protocols bgp group group-name], [edit protocols bgp group group-name neighbor neighbor-address], [edit routing-instances instance-name protocols bgp], [edit routing-instances instance-name protocols bgp group group-name], [edit routing-instances instance-name protocols bgp group group-name neighbor neighbor-address]
Description
Use the domain-path-id statement to control whether the BGP Domain Path (D-PATH) attribute is sent to or received from BGP peers. The D-PATH attribute identifies the sequence of administrative domains that a route traverses. This helps prevent routing loops in EVPN and IPVPN deployments, and across data centers for EVPN Type-5 seamless stitching, on a per-VRF basis.
You can use the receive statement to control importing the BGP domain
path attribute. You can use the send statement to control exporting the
BGP domain path attribute.
as-path
along with domain-path-id.The D-PATH value used in BGP advertisements is derived from configuration at higher
hierarchies. The routing-options domain-path-id statement defines the
domain identifier used within a data center for EVPN and IPVPN interworking.
The protocols evpn interconnect domain-path-id statement defines the
domain identifier used across data centers for EVPN Type-5 seamless stitching, on
a per-VRF basis.
On interconnect gateways that participate in Type-5 stitching, both domain-path-id
statements are typically configured. When exporting Type-5 routes between data centers,
the gateway translates the DC-level D-PATH (from
routing-options) to the interconnect-level D-PATH (from
protocols evpn interconnect). When importing routes, the gateway
performs the reverse translation. The domain-path-id statement under
BGP controls only whether this attribute is included in or accepted from BGP updates. It
does not define the D-PATH values themselves.
Options
| receive |
Allow receiving BGP domain path attribute |
| send |
Allow sending BGP domain path attribute |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
receive statement introduced in Junos OS and Junos OS Evolved Release
23.2R1.
send statement introduced in Junos OS and Junos OS Evolved Release
23.2R1.