Overview
Explains BGP route distinguisher usage, identifying limitations and guiding users through configuration of static and automatic RDs under VRF and EVPN scenarios to support VPN route uniqueness.
A BGP Route Distinguisher (RD) is a network identifier that
-
uniquely distinguishes VPN routes to prevent conflicts,
-
enables separate route tables for different VPNs, and
-
supports scalable, secure, and efficient VPN route management.
| Feature Name |
Release |
Description |
|---|---|---|
| BGP Route Distinguisher |
Release 25.4.1 | Introduced in this release on: Fixed Systems (8010 [ASIC: A100])(select variants only*) *This feature is now supported on:
|
| BGP Route Distinguisher |
Release 25.1.1 | Introduced in this release on: Fixed Systems (8010 [ASIC: A100])(select variants only*) *This feature is supported on Cisco 8011-4G24Y4H-I routers. |
| BGP Route Distinguisher |
Release 24.4.1 |
Introduced in this release on: Fixed Systems (8200 [ASIC: P100], 8700 [ASIC: P100, K100])(select variants only); Modular Systems (8800 [LC ASIC: P100])(select variants only*) *This feature is supported on:
|
| BGP Route Distinguisher |
Release 7.0.1 |
You can now enhance route differentiation by uniquely identifying VPN routes, facilitating seamless integration across different networks. This feature assigns unique identifiers to VPN routes, ensuring no route conflicts and enabling efficient route filtering and management. |
In network design solutions where customer equipment is dual-homed and Fast Reroute is required, such as in EVPN and BGP Prefix Independent Convergence (PIC) Edge solutions, the RD associated with each VRF must be unique per Provider Edge (PE) router. In other design scenarios, while it isn’t mandatory for the RD to be unique per PE, it is highly recommended to make it unique. This practice facilitates easier transitions to dual-homed solutions in the future.
Ensuring unique RDs significantly enhances network scalability and security by maintaining distinct route tables for separate VPNs, which prevents routing conflicts and optimizes network performance. Additionally, it simplifies routing policies, making the configuration and management of large-scale networks more efficient and reliable.
To maintain unique RDs across the network, you can configure them either as automatic or static RDs under VRF or EVPN services such as EVI, VNI, or SRv6.
You can configure RD in these formats:
-
IP:nn
-
IP is the BGP Router-ID configured on the router.
-
nn is the EVI, VNI, or SRv6, or a value selected from a pool if the default value is already in use.
-
-
2B:4B
-
2B is the two byte administrator field.
-
4B is the four byte assigned number field.
-
-
4B:2B
-
4B is the four byte administrator field.
-
2B is the two byte assigned number field.
-
The following table provides a comparison between static and automatic RD configurations in VRF and EVPN technologies.
| Technologies |
Automatic RD |
Static RD |
|---|---|---|
| VRF |
You can configure automatic RD under VRF using the rd auto command. For more information, see Configure automatic RD under VRF. |
You can configure static RD under VRF in the IP:nn, 2B:4B, and 4B:2B format. For more information, see Configure static RD under VRF. |
| EVPN |
Cisco IOS XR software automatically assigns a unique RD to the EVPN EVI in the IP:nn format. For example, 192.0.2.1:100. |
You can configure static RD under EVPN in the IP:nn, 2B:4B, and 4B:2B format. It is recommended to configure static RD under EVPN in the 2B:4B or 4B:2B format, as the IP:nn format may conflict with EVPN automatic RD. For more information, see Configure static RD under EVPN. |