Routing
Highlighted
Routing

eBGP -- Denying all routes to a peer / just send neighbor updates to peer

‎01-07-2014 03:10 PM

Hello,

 

 I will have a eBGP group with 2 different neighbors. I would like to send all BGP neighbor updates and routes to Neighbor A, however, I will like to just send neighbor updates and NO routes to Neighbor B. Is this possible, and how? If I leave out an export statement to Neighbor B, would this work?

 

Thanks,

1 REPLY 1
Highlighted
Routing
Solution
Accepted by topic author barbijo
‎08-26-2015 01:27 AM

Re: eBGP -- Denying all routes to a peer / just send neighbor updates to peer

‎01-11-2014 07:02 AM

 

set protocols bgp group ext peer-as 20
set protocols bgp group ext neighbor 172.16.1.2 export reject-all

set policy-options policy-statement reject-all term 1 from rib inet.0 **all routes from inet.0 will be subject to policy action**
set policy-options policy-statement reject-all term 1 then reject

 

 

 

Please mark this as accepted solution if it works for you

A kudos is a good way of appreciation

 

Kashif Nawaz

JNCIP-Sec ,JNCIP-Ent

JNCIS-Ent, JNCIS-Sec

JNCIA-Junos

 

 

 

Please mark this as accepted solution if it works for you

A kudos is a good way of appreciation



Kashif Nawaz


JNCIE-Sec #170, JNCIE-SP#2492

JNCSP Ent/ Sec
https://packet-expert.org
Feedback