07-25-2021 08:30 PM
Hello,
The topology I want to discuss is as following.
On R4, two EIGRP route are redistributed in OSPF. Route 44.44.44.44 is tagged with 111.
So on R2, there are two OE2 routes.
I did below redistribution from OSPF to BGP on R2 with a route-map to filer out the tag 111.
router bgp 10001
bgp log-neighbor-changes
redistribute ospf 1 match external 1 external 2 route-map O2B
neighbor 192.168.12.1 remote-as 10000
route-map O2B deny 10
match tag 111
route-map O2B permit 20
The expectation is only 55.55.55.55/32 would be injected.
But it shows O routes are also injected to BGP. Below is the route table of R1.
May I ask why Intra OSPF routes are redistributed even there is no keyword "internal" in the redistribute command?
How to inject OE routes without tag?
Config files are attached as well.
Thanks a lot.
BR,
Dan
Solved! Go to Solution.
07-26-2021 12:31 AM
Hello @Dan22 ,
>>
May I interpret it that if we redistribute with route-map, internal ospf route will be added implicitly?
Is it a design behavior of CISCO devise?
yes we can say this.
As an alternative you could try to match on route-type within the route-map itself with match type . I have never tried this.
Hope to help
Giuseppe
07-25-2021 11:42 PM
Hello @Dan22 ,
>> May I ask why Intra OSPF routes are redistributed even there is no keyword "internal" in the redistribute command?
This is done by default.
Use a prefix-list to match route 55.55.55.55/32 and add match address prefix <prefix-list-name> to clause 20 of route-map O2B
Hope to help
Giuseppe
07-26-2021 12:23 AM
Hello Giuseppe,
May I interpret it that if we redistribute with route-map, internal ospf route will be added implicitly?
Is it a design behavior of CISCO devise?
BR,
Dan
07-26-2021 12:31 AM
Hello @Dan22 ,
>>
May I interpret it that if we redistribute with route-map, internal ospf route will be added implicitly?
Is it a design behavior of CISCO devise?
yes we can say this.
As an alternative you could try to match on route-type within the route-map itself with match type . I have never tried this.
Hope to help
Giuseppe
07-26-2021 01:08 AM
Giuseppe,
Understand.
Thanks a lot.
BR,
Dan
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