Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

BGP

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

Re: BGP

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

Re: BGP

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

Silver

Re: BGP

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.

214
Views
0
Helpful
3
Replies