Description

This article discusses the limitations of configuring RIB-sharding in conjunction with VRF in a cRPD environment.

Symptoms

The customer wants to enable RIB-sharding in a scaled cRPD environment, where VRF is also configured. However, they encountered an error when attempting to configure RIB-sharding with VRF in place. The error message they received is as follows:

 

[edit system processes routing bgp]

'rib-sharding'

Can't be configured together with vrfs on cRPD

error: commit failed: (statements constraint check failed)

Solution

We have tested this in the lab and observed similar behavior: configuration is successful without VRF, but it fails with VRF.

According to the documentation, BGP RIB-sharding on cRPD is supported for inet.0inet6.0bgp.l3vpn.0bgp.l3vpn-inet6.0bgp.rtargetinet-vpninet6-vpn unicast, and route-target tables. You can review the details here: Juniper Documentation on RIB-Sharding Support.

RIB-sharding with VRF is not currently supported in cRPD.

 Without VRF -

 [edit system processes routing bgp]

root@cRR1# set rib-sharding 

 

[edit system processes routing bgp]

root@cRR1# commit check        

[edit system processes routing bgp]

 'rib-sharding'

   Must be configured together with update-threading

error: configuration check-out failed: (statements constraint check failed)

 

[edit system processes routing bgp]

root@cRR1# set update-threading 

 

[edit system processes routing bgp]

root@cRR1# commit check 

configuration check succeeds

 

[edit system processes routing bgp]

 

With VRF -

 [edit system processes routing bgp]

root@cRR1# top 

 

[edit]

root@cRR1# set routing-instances TEST instance-type vrf 

set routing-instances TEST route-distinguisher 1:1

 

[edit]

root@cRR1# set routing-instances TEST route-distinguisher 1:1 

 

[edit]

root@cRR1# set routing-instances TEST vrf-target target:1:1 

 

[edit]

root@cRR1# commit check 

[edit system processes routing bgp]

 'rib-sharding'

   Can't be configured together with vrfs on cRPD

[edit system processes routing bgp]

 'rib-sharding'

   Can't be configured together with vrfs on cRPD

[edit system processes routing bgp]

 'update-threading'

   Can't be configured together with vrfs on cRPD

[edit system processes routing bgp]

 'update-threading'

   Can't be configured together with vrfs on cRPD

[edit system processes routing bgp]

 'rib-sharding'

   Can't be configured together with vrfs on cRPD

error: configuration check-out failed: (statements constraint check failed)

 

[edit]

root@cRR1#

Modification History

2024-08-30 : Article Created