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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

RIB-failure

Hi

Any one know which is the meaning of the "RIB-failure" status code when doing a show ip bgp:

ROUTER_ISP#sh ip bgp regexp 12356

BGP table version is 2086886, local router ID is 213.37.3.17

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

r RIB-failure

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path

r> 212.79.128.0/19 212.49.128.37 0 8903 12356 i

r 62.81.63.210 0 8761 8903 12356 i

r> 213.227.0.0/18 212.49.128.37 0 8903 12356 i

r 62.81.63.210 0 8761 8903 12356 i

r> 217.216.0.0/15 212.49.128.37 0 8903 12356 i

r 62.81.63.210 0 8761 8903 12356 i

I have no found any document about it.

Thanks

Octavio

  • Other Network Infrastructure Subjects
6 REPLIES
Cisco Employee

Re: RIB-failure

RIB stands for routing information base ==>Routing table. RIB-Failure means that the router which is originating the BGP route, like a network statement under BGP is not the same router which originates the route in IGP, like ospf, eigrp, rip, isis. BGP is not going to advertise that particular network if it has a 'r' flag set ...which implies a RIB failure. Also look at the following bug

http://www.cisco.com/cgi-bin/bugtool/onebug.pl?bugid=CSCdp12004

http://www.cisco.com/cgi-bin/bugtool/onebug.pl?bugid=CSCdx26714

New Member

Re: RIB-failure

Thanks for your answer.

But I have never seen before RIB-failure like a status when working with BGP.

Do you know where can I found documentation about it.? I suppose it is new from some IOS version.

Cisco Employee

Re: RIB-failure

do a 'clear ip bgp' or 'clear ip route' to fix this problem.

The code was recently changed and now in some condition it is required to clear the RIB manually to update BGP.

Check the following bug.

CSCdx26714: Rib-Failure,if BGP has the same NH as the IGP

CSCdx56291: bgp incorrectly mark routes Rib-failure in some circumstance

New Member

Re: RIB-failure

Hi

I have cheched thouse bug but i´m not sure to understand the meaning of the RIB-failure status.

If a BGP prefix (show ip bgp) is not added to the routing table then is it marked like RIB-failure? For example, because we have the same prefix with a better metric or because it is not synchronized or we can´t get the next hop.

We have static routes to 212.79.128.0/19, 213.227.0.0/18 and 217.216.0.0/15 through a p-to-p link and we are getting thouse prefix through our Internet connection. Because the next hop is different thouse prefix must not be added to the routing table or send to our BGP neighbors. And then they are marked like RIB-failure in the BGP table. I suppose, with this configuration, it is the expected behaviour and the RB-failure status is only the reason thouse are not valid prefix.

Cisco Employee

Re: RIB-failure

sorry, I misunderstood your question.

I thought you were concern that the route was mis-tag rib failure,

Here is a description of this Rib-failure:

When BGP learns a new route, selects the bestpath and tries to insert into

the RIB, it may fail sometimes. The reasons for failure could be a memory

problem or higher admin distance route is already present or route-limit

has been reached.

New Member

Re: RIB-failure

Thanks for your answer.

584
Views
0
Helpful
6
Replies
This widget could not be displayed.