Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

OSFP redistribution into MBGP

Hi,

I've noticed lately that OSPF redistribution into MBGP(multicast  address-family) is not working.

I'm using following topology with R1,R2 and R3 running one OSPF area 0 as IGP  with  125.1.X.R/24, and loopbacks 120.1.R.R/24

X = neighbor routers(R1,R2=12, R2,R3=23)

R = router number

Example: R1: 125.1.12.1, R2:125.1.12.2/125.1.23.2, R3:125.1.23.3

R1---R2---R3

  • R1's OSPF routing table is as follows

R1(config-router)#do show ip route ospf
     125.0.0.0/24 is subnetted, 3  subnets
O       125.1.23.0 [110/20] via 125.1.12.2, 00:44:34,  FastEthernet0/1
     120.0.0.0/8 is variably subnetted, 3 subnets, 2  masks
O       120.1.3.3/32 [110/21] via 125.1.12.2, 00:44:34,  FastEthernet0/1
O       120.1.2.2/32 [110/11] via 125.1.12.2, 00:39:37,  FastEthernet0/1

  • I'm running BGP as 123 on all routers with R2 as RouteReflector and I'm also  activating multicast ipv4 address family

R1(config-router)#do show bgp ipv4 multicast summary
BGP router identifier  120.1.1.1, local AS number 123
Neighbor        V    AS MsgRcvd MsgSent    TblVer  InQ OutQ Up/Down  State/PfxRcd
120.1.2.2       4   123      57       57        1    0    0 00:36:56        0

R2(config-router-af)#do show bgp ipv4 multicast summary
BGP router  identifier 120.1.2.2, local AS number 123
Neighbor        V    AS MsgRcvd  MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
120.1.1.1       4   123       58      58        1    0    0 00:37:24        0
120.1.3.3       4   123       53      53        1    0    0 00:37:59        0

R3(config-router-af)#do show bgp ipv4 multicast summary
BGP router  identifier 120.1.3.3, local AS number 123
Neighbor        V    AS MsgRcvd  MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
120.1.2.2       4   123       17      17        1    0    0 00:01:38        0

  • At this moment, everything should be ready for redistribution

R1:

!
router bgp 123

address-family ipv4 multicast

redistribute ospf 1 match internal

!

! However, nothing is injected into BGP

!

R1(config-router)#do show bgp ipv4 multicast       

R1(config-router)#

  • I enable "ip multicast-routing" on all routers in the  network, I'm also enabling PIM SM on all interfaces. The result is the same, no  prefixes were injected into MBGP

Is there anybody who had this  problem before?

1 REPLY
Silver

OSFP redistribution into MBGP

I remember running into this while preparing for the CCIE.

Try to put a route-map under multicast address family that sets the next-hop. Something simple like

route-map SET_NH permit 10

set ip next-hop x.x.x.x

router bgp 123

address-family ipv4 multicast

redistribute ospf 1 match internal route-map SET_NH

I never found a good reason for why it behaves like this but try it out to see if it works.

Daniel Dib
CCIE #37149

Daniel Dib CCIE #37149 Please rate helpful posts.
123
Views
0
Helpful
1
Replies
CreatePlease login to create content