Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

BGP Synchronization question

Per the Cisco documentation,

"The BGP synchronization rule states that if an AS provides transit service to another AS, BGP should not advertise a route until all of the routers within the AS have learned about the route via an IGP."

In the above rule, is this assuming that the IGP is distributing it's routes into BGP?

11 REPLIES
Hall of Fame Super Bronze

Re: BGP Synchronization question

Hi Richard,

You must include the previous paragraph so this paragraph can be understood properly and not taken out of context.

The preceding paragraph states:

"When an AS provides transit service to other ASs and if there are non-BGP routers in the AS, transit traffic might be dropped if the intermediate non-BGP routers have not learned routes for that traffic via an IGP."

In other words, routers not running BGP must have the routes from BGP in their IGP. Routers running BGP must redistribute their routes into IGP and from IGP back into BGP to avoid the route to be dropped.

HTH,

__

Edison.

New Member

Re: BGP Synchronization question

Thanks Edison,

So, we are talking mutual redistribution between the IGP and BGP then, when synchronization enters the picture either enabled or not correct?

Hall of Fame Super Bronze

Re: BGP Synchronization question

Richard,

That's correct and that's the reason Cisco changed its default from enabled to disabled.

The rule stipulates;

If BGP synchronization is enabled, there must be a match for the prefix in the IP routing table in order for an internal BGP (iBGP) path to be considered a valid path.

HTH,

__

Edison.

Cisco Employee

Re: BGP Synchronization question

Hello,

Frankly, yes, it is. This is also the reason why the synchronization is by default off in newer IOSes - it is hardly thinkable today to redistribute thousands of BGP networks into an IGP.

Best regards,

Peter

New Member

Re: BGP Synchronization question

hi,

synchronization rule will come into the picture when your topology is not full-mesh ibgp peership or lack of RR or confederation and therefore for reachability from external AS to another AS via transit AS, you need to redistrbute external network into IGP and via IGP, end to end reachability will occure.

hope this help u!!

Cisco Employee

Re: BGP Synchronization question

Hello,

I am sorry but I believe you are incorrect here. The synchronization feature in BGP requires that the networks known by iBGP must be also advertised by an IGP protocol before the BGP advertises them further. Note that even if you have a full BGP mesh or properly running route reflector, an active synchronization will cause each of these BGP speakers to just store the BGP-advertised networks in their BGP databases and wait for the IGP to advertise these networks. Until that, these networks will not be considered usable for BGP purposes.

Best regards,

Peter

New Member

Re: BGP Synchronization question

hi,

means if we turn on synch. on all bgp routers after conf full mesh ibgp or RR or confederation, then we need to redistribute external routes into igp and then bgp router will check into the igp table before advertising to ibgp neighbor or ebgp neighbor and after this we can correctly assume that internet table and ibg table are synchronized properly..

am i correct..

regards

sourabh,

Cisco Employee

Re: BGP Synchronization question

Hello,

Yes, you are correct. Whenever a BGP is about to select the best path for each destination, it considers only valid paths in the BGP database. If the synchronization is turned on, then the path must be also advertised by an IGP protocol, otherwise the path will be considered invalid.

Check these documents for more detail:

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800c95bb.shtml#synch

Best regards,

Peter

New Member

Re: BGP Synchronization question

hi peter,

thank you for correcting me...

thanks and regards,

sourabh d

New Member

Re: BGP Synchronization question

hello friends,

i started to work on IE vol.1 BGP section

"IBGP Synchronization"

kindly find attached notepad of my query

thanks and regards,

sourabh

New Member

Re: BGP Synchronization question

From what I have read,

You would need synchronization turned off and a full mesh of the IGP between R1, R2, R3, R4, R5.

From what you described, it looks like sychronization is doing what it is supposed to do.

404
Views
25
Helpful
11
Replies
CreatePlease to create content