Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
AneeshKumar
Explorer

BGP advertise a subnet to specific peer

Hi,
 
Required help please
 
I have multiple BGP Peers established on same AS#.  So if we advertise a route to a specific peer the same route is receiving on all the peers on the same AS#. I want to restrict the advertisement to specific peer so that the route will receive to the peerin which the peer really need it. Could you please help us to achieve this. I tried configuring the routemap. But no luck. Appreciate if someone can help me. Thanks
0 Kudos
2 Replies
_Val_
Admin
Admin

Did you set unique RIDs for all bunch? Just checking

0 Kudos
AneeshKumar
Explorer

Hi Val_Loukine,

 

I tried to set the below routemaps but none helped. When I set the last command the current advertising subnets to the peer will instantly stop and no subnet will be advertise. My idea of the below set of command is to advertise only the 10.1.13.0/24 to the peer.

 

set routemap SYD_TEST id 101 on
set routemap SYD_TEST id 101 allow
set routemap SYD_TEST id 101 match as 3637 on
set routemap SYD_TEST id 101 match neighbor 192.168.71.50 on
set routemap SYD_TEST id 101 match network 10.1.13.0/24 exact
set routemap SYD_TEST id 101 action nexthop ip 192.168.71.52
set bgp external remote-as 3637 export-routemap SYD_TEST preference 1 family inet on

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events