cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
574
Views
0
Helpful
3
Replies

redistribute bgp to ospf

getaway51
Level 2
Level 2

Guys,

Anyone can help me interpret the cmd below? many many thanks!!

1)Wht is the purpose? to get other branches routes or send routes to other branches using bgp?

2)ip prefix-list ospf-list means network on the router or others branches routers?

 

ip prefix-list ospf-list seq 5 permit 10.245.27.0/24
ip prefix-list ospf-list seq 10 permit 10.245.24.0/24
!

route-map bgp-to-ospf permit 10
match ip address prefix-list ospf-list 

!

router bgp 34723
no synchronization
bgp router-id 127.100.34.2
bgp log-neighbor-changes
network 100.200.100.6 mask 255.255.255.255
neighbor 127.100.34.3 remote-as 29467
neighbor 127.100.34.3 soft-reconfiguration inbound
no auto-summary

 

3 Replies 3

Richard Burts
Hall of Fame
Hall of Fame

We do not have enough information to be able to answer your questions. What is the topology of your network? What networks and subnets are used in your network? Where are these networks and subnets used? On which router is this configured? You show us the config for BGP but not the config for OSPF. You show us a route map but do not show us where and how it is applied. When you have clarified these things then perhaps we can have answers to your questions.

 

HTH

 

Rick

HTH

Rick

ip prefix-list ospf-list seq 5 permit 10.245.27.0/24  
ip prefix-list ospf-list seq 10 permit 10.245.24.0/24

##those upper lines are allowing subnets


!

route-map bgp-to-ospf permit 10
match ip address prefix-list ospf-list 

## anything mathching that allowing prefix list will be permitted by this route-map

## I think they were created to add then this route map under "router ospf" to allow only those subnet to be redistributed from bgp (bgp-to-ospf permit). But that part of the config is missing, so it's just guess :) . 

Pawan Raut
Level 4
Level 4

1)Wht is the purpose? to get other branches routes or send routes to other branches using bgp?

Ans- In service provider world the BGP is heavily and mostly used. To conncect remote branches we use service provider for transit path and that why we use BGP to peer with ISP for remote branch connectivity.

 

2)ip prefix-list ospf-list means network on the router or others branches routers?

Ans-As per configuration it look like network from remote branch (10.245.27.0/24 and 10.245.24.0/24) are redistributed from BGP into ospf using prefix-list ospf-list.

 

 

Kindly rate for helpful post