Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Route Redistribution BGP

BGP defaults allow only eBGP learned routes to be redistributed.

To change this use bgp redistribute-internal.

Caution

Redistribution of iBGP routes into an IGP can cause routing loops.

The IGPs should have route filters set.

Seed Metric

Administrative DistanceMetric
20IGP to MED

Redistribute Transport Networks

This is the safe way to redistribute connected networks. Useful for transit or peering links.

router bgp 65100
 address-family ipv4
  redistribute connected route-map RM_BGP_LOOPBACK
!
route-map RM_BGP_LOOPBACK permit 10
 match interface Loopback0

Redistribute All OSPF Routes

router bgp 100
 redistribute ospf 1 match internal external 1 external 2 

References

Understand the Redistribution of OSPF Routes into BGP - Cisco

B. Edgeworth and R. Lacoste, CCNP Enterprise Advanced Routing ENARSI 300-410 Official Cert Guide, 2nd ed. Indianapolis, IN: Cisco Press, 2023.

Last Modified • Saturday, June 13, 2026. 6:58 am UTC+00:00 • Commit: 27246d6