06-21-2018 04:27 AM - edited 03-05-2019 10:38 AM
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
06-21-2018 07:39 AM
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
06-26-2018 12:58 PM
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 :) .
06-26-2018 10:22 PM
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
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