By default only OSPF internal routes will be redistributed into BGP. You need
to add "match internal external" to the redistribution.
As per RFC 1403:
OSPF external routes of type 1 and type 2 MUST never be exported into BGP
unless they are explicitly configured.
Redistribution of OSPF Internal and External Routes into BGP
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a00800943c5.
shtml#redistributionofospfinternalandexternalroutesintobgp
-- Brian Dennis, CCIEx5 #2210 (R&S/ISP-Dial/Security/SP/Voice) bdennis_at_ine.com<mailto:bdennis_at_ine.com> INE, Inc. http://www.INE.com On 09/24/2013 06:55 PM, Joseph L. Brunner wrote: Team, any idea why this is happening? I am running AS 1 in my core, and that is peering with the provider AS 500. those routes are being redistributed from BGP to OSPF on CORE 1 (from AS 1 to ospf process 1) down on access1 the now ospf route 1.1.1.1 is not being redistributed into BGP on Access1 which uses BGP AS 65000 to get to an MPLS provider (dont ask why Access1 had to be a different AS than CORE1 & 2) OSPF Internal routes ARE being redistributed. Question: Is there some mechanism now that will NOT allow an external ospf route to be redistributed into BGP from OSPF? ACCESS1#show ip route 1.1.1.1 Routing entry for 1.1.1.0/24 Known via "ospf 1", distance 110, metric 3 Tag 600, type extern 1 Redistributing via bgp 65001 Last update from 172.16.60.1 on Vlan60, 00:08:38 ago Routing Descriptor Blocks: 172.16.60.1, from 25.25.25.25, 00:08:38 ago, via Vlan60 Route metric is 3, traffic share count is 1 Route tag 600 * 172.16.50.1, from 3.3.3.3, 00:08:38 ago, via Vlan50 Route metric is 3, traffic share count is 1 Route tag 500 ACCESS1#sh ip route 3.3.3.3 Routing entry for 3.3.3.3/32 Known via "ospf 1", distance 110, metric 2, type intra area Redistributing via bgp 65001 Advertised by bgp 65001 Last update from 172.16.50.1 on Vlan50, 00:08:49 ago Routing Descriptor Blocks: * 172.16.50.1, from 3.3.3.3, 00:08:49 ago, via Vlan50 Route metric is 2, traffic share count is 1 ACCESS1#show ip bgp 1.1.1.0 % Network not in table ACCESS1#show ip bgp 3.3.3.3 BGP routing table entry for 3.3.3.3/32, version 9 Paths: (1 available, best #1, table Default-IP-Routing-Table) Advertised to update-groups: 1 Local 172.16.50.1 from 0.0.0.0 (8.8.8.8) Origin incomplete, metric 2, localpref 100, weight 32768, valid, sourced, best my config on access1 ACCESS1#show run | b router ospf router ospf 1 log-adjacency-changes redistribute bgp 65001 subnets network 172.16.13.1 0.0.0.0 area 0 network 172.16.50.2 0.0.0.0 area 0 network 172.16.60.2 0.0.0.0 area 0 network 172.18.2.2 0.0.0.0 area 0 ! router bgp 65001 no synchronization bgp log-neighbor-changes aggregate-address 172.16.0.0 255.255.0.0 summary-only aggregate-address 172.19.0.0 255.255.0.0 summary-only redistribute ospf 1 neighbor 172.18.2.1 remote-as 65000 neighbor 172.18.2.1 allowas-in neighbor 172.18.2.1 route-map to-mpls out no auto-summary thanks! -Joe #19366 Blogs and organic groups at http://www.ccie.netReceived on Tue Sep 24 2013 - 21:12:20 ART
This archive was generated by hypermail 2.2.0 : Tue Oct 01 2013 - 06:36:35 ART