Background Information
- For a transit AS, where the iBGP routers have to transit non-BGP routers to get to another iBGP router, we can potentially blackhole routes if any of the internal non-BGP routers do not know the routes that the edge routers are advertising to other AS.
- The way we can avoid blackholing routes is to not advertise the route to another AS if our IGP does not know it.
- The synchronization feature tells the BGP process to wait for the IGP to learn about the prefix before we can advertise it to another AS.
Summary
- Older routers have synchronization enabled by default. Newer routers have it disabled by default.
- synchronization to tell the router to wait for IGP to learn the prefix before advertising it.
- no synchronization to tell the router to not wait for IGP to learn the prefix.
- If you are not running an IGP or the AS is not a transit AS, you should manually disable synchronization.
- show ip protocols to see whether IGP Synchronization is enabled.
router bgp 1
no synchronization