04-03-2013 11:21 PM - edited 03-07-2019 12:37 PM
Dear All ,
We are facing some issue doing an redistribution on nexus os 6.1 ospf to bgp redistribution but unable to see the ospf routes in BGP.
but BGP to ospf redistribution is working fine. Pls find the config below... any help..
router ospf 1
router-id x.x.x.x
default-information originate route-map metric
redistribute direct route-map direct2ospf
redistribute static route-map static2ospf
redistribute bgp 1 route-map bgp2ospf
area 0.0.0.0 authentication message-digest
passive-interface default
router bgp 1
log-neighbor-changes
address-family ipv4 unicast
redistribute ospf 1 route-map ospftest
route-map ospftest permit 10
match route-type internal external
04-04-2013 05:00 AM
Hi,
You need to fix route-map, if it's not typo.
router bgp 1
log-neighbor-changes
address-family ipv4 unicast
redistribute ospf 1 route-map ospftest
no route-map opsftest permit 10
route-map ospftest permit 10
match route-type internal external
Hope it will help.
Best regards,
Abzal
04-04-2013 05:18 AM
sorry it was typo error on post .
04-04-2013 05:22 AM
Hi,
Verify that OSPF routes are actually in routing table:
sh ip route
if they are then try this:
router bgp 1
log-neighbor-changes
address-family ipv4 unicast
redistribute ospf 1 match internal external 1 external 2
Hope it will help.
Best regards,
Abzal
04-04-2013 05:28 AM
Hi ,
Nexus os version 6.1 will not support this configuration (redistribute ospf 1 match internal external 1 external 2).
we need to redistribute ospf on bgp with route map command .
B .Regards ,
Sameer.
04-04-2013 05:30 AM
Hi,
one common mistake:
Do you see any true OSPF routes on your router?
I.e., does show ip route ospf
show any OSPF routes?
Don't forget only those OSPF routes which are in the router FIB (i.e., the best among all routing protocols) will be redistributed from OSPF to other routing protocols (BGP).
I.e., if you are redistributing static routes to OSPF, OSPF will not redistribute them again to BGP, the routes are still handled as static ones by the redistribution process.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide