Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

domain-path-id (Protocols BGP)

Syntax

Hierarchy Level

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.

Note: The BGP domain path attribute is not exported or imported by default.
Note: To prevent looping, you must import 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.