Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

BGP rib-railure.

hi ,

can any one help me with the link which give full details about RIB-FAILURES in bgp.


Re: BGP rib-railure.

New Member

Re: BGP rib-railure.

Need more than this with senario.


Re: BGP rib-railure.

HI Anil, [Pls RATE if HELPS]

Here is the Example with Sample (Masked) output:

The Network has IGP as OSPF and BGP also running.

The Remote Router receives Default-Information via OSPF and as well via BGP also. The Default-Information received via BGP is not preferred because Route with better administrative distance already present in IGP (OSPF).

In the Sample Output you can see 'RIB-failure(17))' on the SHOW output.

Router#sh ip bgp

BGP routing table entry for, version 17

Paths: (2 available, best #2, table Default-IP-Routing-Table, RIB-failure(17))

Advertised to update-groups:


Local (metric 141) from Route-Reflector_I (eee.fff.ggg.hhh)

Origin IGP, metric 0, localpref 100, valid, internal

Originator:, Cluster list:


aaa.bbb.ccc.ddd (metric 135) from Route-Reflector_II (iii.jjj.kkk.lll)

Origin IGP, metric 0, localpref 100, valid, internal, best

Originator: aaa.bbb.ccc.ddd, Cluster list:

Router#sh ip route

Routing entry for, supernet

Known via "ospf 100", distance 110, metric 1, candidate default path, type NSSA extern x, forward metric 50

Last update from on GigabitEthernet0/, 00:11:49 ago

Routing Descriptor Blocks:

*, from, 00:11:49 ago, via GigabitEthernet0/

Route metric is 1, traffic share count is 1

Router#sh ip route | i

Gateway of last resort is to network

O*N2 [110/1] via, 00:03:10, GigabitEthernet0/

Hope I am Informative, Pls RATE if HELPS

Best Regards,

Guru Prasad R

New Member

Re: BGP rib-railure.

hi guru prasad,

i know the cause , plz provide me the solution. requirement is to prefer the BGP routes.


Re: BGP rib-railure.

When BGP tries to install the bestpath prefix into Routing Information Base (RIB) (for example, the IP Routing table), RIB might reject the BGP route due to any of these reasons:


Route with better administrative distance already present in IGP. For example, if a static route already exists in IP Routing table.


Memory failure.


The number of routes in VPN routing/forwarding (VRF) exceeds the route-limit configured under the VRF instance.

In such cases, the prefixes that are rejected for these reasons are identified by r RIB Failure in the show ip bgp command output and are not advertised to the peers. This feature was first made available in Cisco IOS Software Release 12.2(08.05)T.

Re: BGP rib-railure.

HI Anil,

One thing to remember is that each protocol has its own election process first. So in the example the same route learned from IGP AND iBGP, the BGP routing process has a slew of criteria for selecting the best path. ONLY the best paths from each individual routing protocol are passed to the routing table. Then (and ONLY then) does administrative distance come into play.

So when a particular route wins the BGP process, if it's an iBGP route, it will have a distance of 200. But you'll never see the same route from the same protocol with two different pieces of information there!

Best Regards,

Guru Prasad R.