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

BGP

jsheriony
Level 1
Level 1

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

3 Replies 3

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

Mahesh Gohil
Level 7
Level 7

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

Rick Morris
Level 6
Level 6

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.