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.

Stop BGP==>RIB Updates?

I am building a router as a route server ONLY, i.e. it peers with all of our other BGP routers (outside the network, colo's mostly). But it will only ever send BGP updates for things like RTBH. (And we're not ready for that yet, anyway).

I have a 2811 I have configured for this purpose. And this works, but it keeps the 2811 very busy. What I've noticed is that BGP has about half the CPU time and 'IP RIB Update' has most of the rest.

Does anyone know of a way to stop the router from even TRYING to update the route table? I only need this route info in BGP, it won't ever be used for 'routing.'

TIA.

Paul

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Stop BGP==>RIB Updates?

Paul,

You could set the AD to 255 under the BGP process so that routes would be received, selected as best paths and advertised to BGP neighbors if need be but they would never be installed in the RIB because AD 255 tells IOS not to install the route in the RIB.

Regards

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
4 REPLIES
Cisco Employee

Re: Stop BGP==>RIB Updates?

Hi Paul,

Your 2811 should peer only with your RR to limit the number of peering.

Also you can deny all the received BGP updates as you don't need them at all. The purpose is just to send an update usually from a route pointing to null 0.

HTH

Laurent.

Bronze

Re: Stop BGP==>RIB Updates?

Since you want the routes in BGP but not in the routing table, you should just make them invalid as they are recieved. The easiest way I can think to do this is to set the next-hop to some unreachable address. Something like this:

route-map invalidate permit 10

set ip next-hop 1.1.1.1

!

router bgp xxxx

neighbor y.y.y.y route-map invalidate in

!

HTH,

-Rob

Cisco Employee

Re: Stop BGP==>RIB Updates?

Paul,

You could set the AD to 255 under the BGP process so that routes would be received, selected as best paths and advertised to BGP neighbors if need be but they would never be installed in the RIB because AD 255 tells IOS not to install the route in the RIB.

Regards

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Re: Stop BGP==>RIB Updates?

My "Default Administrative Distance" chart shows 255 as "Unknown," guess I'll have to update that. Thanks, worked a treat.

Paul

154
Views
0
Helpful
4
Replies