06-21-2018 04:35 AM - edited 03-05-2019 10:38 AM
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
!
06-21-2018 06:09 AM
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
06-21-2018 11:06 PM
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?
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