cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
567
Views
0
Helpful
2
Replies

redistribute static and bgp into ospf

getaway51
Level 2
Level 2

Guys,

Pls help me can? the cmd below inside the router. can help me understand?

1)redistribute ospf into static & bgp or otherwise?

2)Whts the purpose of configure the bgp? exhcange routing?

3)How the routing here works?

 

router ospf 20
router-id 10.100.0.3
log-adjacency-changes
redistribute static subnets tag 125 route-map static-distribution
redistribute bgp 45765
network 10.100.0.3 0.0.0.0 area 1

!

router bgp 45765
no synchronization
bgp router-id 7.6.198.2
bgp log-neighbor-changes
network 10.100.0.3 mask 255.255.255.255
neighbor 7.6.198.1 remote-as 58762
neighbor 7.6.198.1 soft-reconfiguration inbound
neighbor 7.6.198.1 route-map as-path out
no auto-summary
!
ip prefix-list static-distribution seq 5 permit 10.78.25.0/24
ip prefix-list static-distribution seq 10 permit 10.78.26.0/24
ip prefix-list static-distribution seq 15 permit 192.68.202.0/24
!

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

 

1) static routes permitted in the prefix list and BGP routes are redistributed into OSPF.

 

2) BGP is a routing protocol so it does what any routing protocol does, establishes routing peers and exchanges routes with those peers. 

 

3) Can't really say because you have just shown a bit of the configuration from one router. 

 

Jon

Sorry ya, let me try summarising these in layman term.

1)router bgp 45765 is telling neighbor 7.6.198.1  that it has network 10.100.0.3/32

2)ip prefix-list static-distribution is to advertised these 3 networks (10.78.25.0/24,10.78.26.0/24,192.68.202.0/24) to be distributed into ospf? meaning here this cmd will be used in ospf router advertising?

3)router OSPF 20 will exchange info with other ospf neighbors for 10.78.25.0/24,10.78.26.0/24,192.68.202.0/24 and 10.100.0.3/32. meaning it tells its neighbor these 4 networks reachable frm this router?