10-31-2010 11:04 PM - edited 03-04-2019 10:19 AM
can someone please confirm?
119 addresses will be advertized to remote-as 1300 or not?
or 119 addresses to 1050 only and 10 addresses to remote-as 1300?
how will the config below work?
sorry and thanks
router bgp 1030
no synchronization
bgp log-neighbor-changes
network 119.x.x.x mask 255.255.255.252
neighbor 119.x.x.x remote-as 1050
neighbor 119.x.x.x timers 5 15
network 119.x.x.x mask 255.255.255.0
network 119.x.x.x mask 255.255.255.0
network 10.x.x.x mask 255.255.255.0
neighbor 10.x.x.x remote-as 1300
neighbor 10.x.x.x timers 5 15
no auto-summary
10-31-2010 11:17 PM
Hi,
They will be advertised if they are in the routing tables as you wrote the network statement.
You can verify this by issuing: show ip bgp nei 10.x.x.x advertised-routes
Generally speaking If there are no filters , and in your case there are no , the prefixes will be advertised to all neighbors.
HTH
Dan
10-31-2010 11:20 PM
Hi,
Yes 119 will be advt. to all bgp peer if there is no prefix-list or route-map bind to that neighbor because
we are putting network command in global bgp and it is not per neighbor.
only condition is the prefix mentioned in network subnet must be there in your routing table
Regards
Mahesh
11-03-2010 10:14 AM
Based on the config below you are announcing all routes to all peers.
the only way to control what routes go to specific peers is to use prefix-lists and route-maps. You would then apply these route-maps to the specific neighbors.
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