BGP into OSPF and OSPF in BGP = mutual redistribution

Hello,

How do mutual redistritution between BGP and OSPF, if in :

For example,

route-map RM permit 10

set tag 777

!

router bgp 65001

redistribute ospf 1 route-map RM ( Notice: % “RM” used as redistribute ospf into bgp route-map, set tag not supported )

for example, mutual redistribution between BGP and EIGRP is OK.

Hey RNS,

That’s because BGP doesn’t have tags. Those are used in IGPs to give you something that can be targeted by other routers. BGP expanded the use of tags and calls them communities. If you redistribute from BGP into an IGP like OSPF or EIGRP you can set a tag in to those environments, but when redistributing into BGP you’ll need to set a community.

1 Like

Thank u, friend. I got it.