[j-nsp] Strange behavior of BGP policy

2010-11-09 Thread Alexander Shikoff
Hello, On MX80-48T with JunOS 10.2R1.8 I have a BGP session with downstream configured as follows: minot...@br1-gdr.ki# show routing-instances World protocols bgp group Downstreams neighbor 178.214.196.6 description MHost: World; import [ Local-Pref-400 from-MHost Deny-Rest ]; export

Re: [j-nsp] Strange behavior of BGP policy

2010-11-09 Thread William Jackson
: juniper-nsp-boun...@puck.nether.net [mailto:juniper-nsp-boun...@puck.nether.net] On Behalf Of Alexander Shikoff Sent: 09 November 2010 11:19 To: juniper-nsp Subject: [j-nsp] Strange behavior of BGP policy Hello, On MX80-48T with JunOS 10.2R1.8 I have a BGP session with downstream configured

Re: [j-nsp] Strange behavior of BGP policy

2010-11-09 Thread Tim Vollebregt
Hi Alexander, When using this policy you are doing the following: -Reject sending default route -Sending prefix 178.214.192.0/19 -Accepting all other advertisements by BGP it's default behaviour. I think this would be fine: show policy-options policy-statement to-MHost term Itself { from

Re: [j-nsp] Strange behavior of BGP policy

2010-11-09 Thread Tore Anderson
Hi Alexander, * Alexander Shikoff Filtering of outgoing prefixes is performed via to-MHost policy: minot...@br1-gdr.ki# show policy-options policy-statement to-MHost term Default { from { route-filter 0.0.0.0/0 exact; } then reject; } term Itself { from {

Re: [j-nsp] Strange behavior of BGP policy

2010-11-09 Thread Alexandre Snarskii
On Tue, Nov 09, 2010 at 12:18:37PM +0200, Alexander Shikoff wrote: Filtering of outgoing prefixes is performed via to-MHost policy: minot...@br1-gdr.ki# show policy-options policy-statement to-MHost term Default { from { route-filter 0.0.0.0/0 exact; } then reject; }

Re: [j-nsp] Strange behavior of BGP policy

2010-11-09 Thread Christian
I guess you want a reject instead of the last accept, rgds, Christian Le 09/11/2010 11:18, Alexander Shikoff a écrit : Hello, On MX80-48T with JunOS 10.2R1.8 I have a BGP session with downstream configured as follows: minot...@br1-gdr.ki# show routing-instances World protocols bgp group

Re: [j-nsp] Strange behavior of BGP policy

2010-11-09 Thread Tomas Caslavsky
you have then accept on the of policy to-MHost so all other routes will be accepted ( the reject will announce only 178.214.192.0/19 from static ) Tomas Dne 09/11/2010 11:18, Alexander Shikoff napsal(a): Hello, On MX80-48T with JunOS 10.2R1.8 I have a BGP session with downstream

Re: [j-nsp] Strange behavior of BGP policy

2010-11-09 Thread Alexander Shikoff
Thanks a lot to all who replied! On Tue, Nov 09, 2010 at 01:57:00PM +0300, Alexandre Snarskii wrote: On Tue, Nov 09, 2010 at 12:18:37PM +0200, Alexander Shikoff wrote: Filtering of outgoing prefixes is performed via to-MHost policy: minot...@br1-gdr.ki# show policy-options