[j-nsp] BGP policy-options policy-statement

Alex alex.arseniev at gmail.com
Thu Oct 22 09:21:43 EDT 2009


The default JUNOS BGP policy is to readvertise all _ACTIVE_ BGP routes.
There is more fine detail like "prefixes learned from any peer in external 
AS TUV won't be advertised to any peer in the same external AS TUV" but 
these are not relevant for the purposes of this discussion.
Rgds
Alex


----- Original Message ----- 
From: "Nalkhande Tarique Abbas" <ntarique at juniper.net>
To: "Onam Rubio" <onamrubio at hotmail.com>; "Junper J-nsp" 
<juniper-nsp at puck.nether.net>
Sent: Wednesday, October 21, 2009 6:19 PM
Subject: Re: [j-nsp] BGP policy-options policy-statement


>
> Hi Onam,
>
> The default BGP export policy is to readvertise all learned BGP routes
> to all BGP speakers.
>
>
> Thanks & Regards,
> Tarique A. Nalkhande
>
>
> -----Original Message-----
> From: juniper-nsp-bounces at puck.nether.net
> [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Onam Rubio
> Sent: Wednesday, October 21, 2009 10:14 PM
> To: Junper J-nsp
> Subject: Re: [j-nsp] BGP policy-options policy-statement
>
>
> Hello Tarique,
>
> I have a new group of BGP, and I will provide internet to my peer, I
> thought that to send full routing(All routes that I learn from my
> upstream provider. IMHO) to my neighboard, I need a term Default then
> accept.
>
> Best regards.
>
>> Subject: RE: [j-nsp] BGP policy-options policy-statement
>> Date: Wed, 21 Oct 2009 15:09:44 +0530
>> From: ntarique at juniper.net
>> To: onamrubio at hotmail.com; evgeniy at ip.datagroup.ua;
> juniper-nsp at puck.nether.net
>>
>>
>> ---->>>
>> <you said>
>> I have an issue, I reject my private prefix-list but my BGP policy
> keep
>> sending my private prefix-list.
>>
>> <Tarique>
>> set policy-options policy-statement OutBound-BGP-Routes-to-xxxx term
>> No-Advertise from route-filter 10.0.0.0/8 orlonger reject
>>
>>
>> ----->>>>
>> <you said>
>> **I chance the configuration and delete the term Default and my BGP
>> policy stop sending the private prefix-list
>>
>> term Default {
>>     then accept;
>> }
>>
>> <Tarique>
>> I am not at all sure about the intent of this term? What are we trying
>> to achieve with this term ?
>>
>>
>>
>> Thanks & Regards,
>> Tarique A. Nalkhande
>>
>> -----Original Message-----
>> From: juniper-nsp-bounces at puck.nether.net
>> [mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Onam Rubio
>> Sent: Wednesday, October 21, 2009 1:22 PM
>> To: evgeniy; Junper J-nsp
>> Subject: [j-nsp] BGP policy-options policy-statement
>>
>>
>> Hi experts,
>>
>> I have an issue, I reject my private prefix-list but my BGP policy
> keep
>> sending my private prefix-list.
>>
>> I made the following configuration.
>>
>> show configuration policy-options policy-statement
>> OutBound-BGP-Routes-to-xxxxx
>>
>> term No-Advertise {
>>     from {
>>         prefix-list Bogus-Networks;
>>     }
>>     then reject;
>> }
>> term Default {
>>     then accept;
>> }
>>
>> onam at Metis# show policy-options
>> prefix-list Bogus-Networks {
>>     10.0.0.0/8;
>>     127.0.0.0/8;
>>     172.16.0.0/12;
>>     192.168.0.0/16;
>>     224.0.0.0/3;
>> }
>>
>> onam at Metis# show protocols bgp group xxxxx
>> type external;
>> local-address x-x-x-x;
>> import Inbound-bgp-PRONTO;
>> family inet {
>>     unicast;
>> }
>> export OutBound-BGP-Routes-to-xxxxx;
>> peer-as 28088;
>> neighbor x-x-x-x;
>>
>> [edit]
>> onam at Metis#
>>
>> **I chance the configuration and delete the term Default and my BGP
>> policy stop sending the private prefix-list
>>
>>
>>
>>
>>
>> _________________________________________________________________
>> Invite your mail contacts to join your friends list with Windows Live
>> Spaces. It's easy!
>>
> http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.a
>> spx&mkt=en-us
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
> _________________________________________________________________
> Explore the seven wonders of the world
> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 



More information about the juniper-nsp mailing list