<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: deny specific prefixes in bgp in ExtremeSwitching (Other)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9897#M925</link>
    <description>Elie,&lt;BR /&gt;
&lt;BR /&gt;
I supuse you forgot &lt;BR /&gt;
&lt;BR /&gt;
then{&lt;BR /&gt;
permit; &lt;BR /&gt;
}&lt;BR /&gt;</description>
    <pubDate>Thu, 22 Jun 2017 23:52:00 GMT</pubDate>
    <dc:creator>Nick_Yakimenko</dc:creator>
    <dc:date>2017-06-22T23:52:00Z</dc:date>
    <item>
      <title>deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9883#M911</link>
      <description>Hi, &lt;BR /&gt;
i am trying to deny exact prefixes 66.133.0.0/23 and 66.133.2.0/23 from being advertised and allow everyhting else  to an iBGP neighbor (214.63.21.4) the configuration should be done on 214.63.21.3. using a neighbor route-policy command.&lt;BR /&gt;
&lt;BR /&gt;
Neighbor 214.63.21.3 is connected to neighbor 214.63.21.4. &lt;BR /&gt;
&lt;BR /&gt;
can someone help .&lt;BR /&gt;
thank you,&lt;BR /&gt;
elie&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:10:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9883#M911</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T20:10:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9884#M912</link>
      <description>Hi Elie,&lt;BR /&gt;
&lt;BR /&gt;
You should be able to do this with a routing policy. See the link below for syntax details:&lt;BR /&gt;
&lt;A href="http://documentation.extremenetworks.com/exos_22.2/EXOS_21_1/Routing_Policies/r_routing-policy-file-syntax.shtml" target="_blank" rel="nofollow noreferrer noopener"&gt;http://documentation.extremenetworks.com/exos_22.2/EXOS_21_1/Routing_Policies/r_routing-policy-file-...&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
For example, you could do:entry ip_entry {  if match any {   nlri  66.133.0.0/23 exact;   nlri  66.133.0.2/23 exact;  } then {   deny;  } }</description>
      <pubDate>Thu, 22 Jun 2017 20:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9884#M912</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2017-06-22T20:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9885#M913</link>
      <description>Hi Brandon, &lt;BR /&gt;
all other routes other than 66.133.0.0 66.133.2.0 will be allowed correct ? or everything else will be blocked too ?&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9885#M913</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T20:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9886#M914</link>
      <description>Hi Elie,&lt;BR /&gt;
&lt;BR /&gt;
There is an implicit deny on routing policies, so you would need an explicit permit all entry to allow other prefixes.</description>
      <pubDate>Thu, 22 Jun 2017 20:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9886#M914</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2017-06-22T20:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9887#M915</link>
      <description>so the End Result for only denying the 66 and allow all others  would be something like this :&lt;BR /&gt;
configure bgp neighbor 30.119.210.6 route-policy out AS1187_OUT&lt;BR /&gt;
&lt;BR /&gt;
edit policy AS1187_OUT&lt;BR /&gt;
entry TOEXP{&lt;BR /&gt;
if match {&lt;BR /&gt;
nlri 66.133.0.0/23 exact;&lt;BR /&gt;
nlri 66.133.2.0/23 exact;&lt;BR /&gt;
}then{&lt;BR /&gt;
deny;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry TOEXP1 {&lt;BR /&gt;
if match any {&lt;BR /&gt;
nlri 0.0.0.0/0;&lt;BR /&gt;
}then{&lt;BR /&gt;
permit;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
Please, correct me if I am wrong .&lt;BR /&gt;
thank you very much for your help &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9887#M915</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T20:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9888#M916</link>
      <description>That's correct. Just make sure to use 'if match any' for the entries with multiple of the same match conditions.</description>
      <pubDate>Thu, 22 Jun 2017 20:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9888#M916</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2017-06-22T20:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9889#M917</link>
      <description>Thank You Brandon . &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9889#M917</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T20:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9890#M918</link>
      <description>Hi Brandon,  i advertised these 2 prefixes 66.133.0.0/23 66.133.2.0/23  on the primary router connected to the primary ISP . i used the policy written above to block these 2 routes from being advertised to the standby router that i connected to the secondary ISP . the router said . Error:  Failed to read policy file AS1187_OUT &lt;BR /&gt;
&lt;BR /&gt;
can you please advice ?&lt;BR /&gt;
thank you,&lt;BR /&gt;
elie&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:48:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9890#M918</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T20:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9891#M919</link>
      <description>First you create policy&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;edit policy bgp-out &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
An editor based on vi will be opened (press i to edit, ESC to stop editing, then type :wq to exit &lt;BR /&gt;
&lt;BR /&gt;
Enter following &lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;entry bgp-out-00 {if match any {&lt;BR /&gt;
        nlri 66.133.0.0/23;&lt;BR /&gt;
        nlri 66.133.2.0/23;        }&lt;BR /&gt;
then {&lt;BR /&gt;
        deny ;&lt;BR /&gt;
        }&lt;BR /&gt;
}&lt;/BLOCKQUOTE&gt;Then you apply the policy to a neighbor:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;configure bgp neighbor 214.63.21.4 route-policy out bgp-out&lt;/BLOCKQUOTE&gt;if you ever after edit the policy, you may refresh changes issuing the command&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;refresh policy bgp-out&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:54:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9891#M919</guid>
      <dc:creator>Nick_Yakimenko</dc:creator>
      <dc:date>2017-06-22T20:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9892#M920</link>
      <description>Thank You Nick&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:54:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9892#M920</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T20:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9893#M921</link>
      <description>Thank You Nick! &lt;BR /&gt;
why didnt you use the exact keyword after the nlri 66.133.0.0/23 ?</description>
      <pubDate>Thu, 22 Jun 2017 23:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9893#M921</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T23:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9894#M922</link>
      <description>in fact, without exact keyword you may filter out only 66.133.0.0/22&lt;BR /&gt;
that will filter all specific announces of your inetnum 66.133.0.0-66.133.3.254 from a /22 to a /32</description>
      <pubDate>Thu, 22 Jun 2017 23:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9894#M922</guid>
      <dc:creator>Nick_Yakimenko</dc:creator>
      <dc:date>2017-06-22T23:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9895#M923</link>
      <description>hi Nick,&lt;BR /&gt;
can you please explain to me what this route-policy do when applied to a bgp neighbor out &lt;BR /&gt;
entry TOEXP{&lt;BR /&gt;
if match all {&lt;BR /&gt;
nlri 66.133.0.0/23 exact;&lt;BR /&gt;
nlri 66.133.2.0/23 exact;&lt;BR /&gt;
}then{&lt;BR /&gt;
deny;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry TOEXP1{&lt;BR /&gt;
if match any{&lt;BR /&gt;
nlri 0.0.0.0/0;&lt;BR /&gt;
}then{&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
. once i applied this config on the primary bgp router out toward the standby router the Switch reboots with EPM application wdg timer warning messages and the rtmgr process memory went high &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 23:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9895#M923</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T23:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9896#M924</link>
      <description>Elie,&lt;BR /&gt;
&lt;BR /&gt;
what EXOS you have on those switches ?&lt;BR /&gt;
&lt;BR /&gt;
Maybe you are facing: &lt;A href="https://gtacknowledge.extremenetworks.com/articles/Solution/Switch-reboots-with-EPM-application-wdg-timer-warning-messages" target="_blank" rel="nofollow noreferrer noopener"&gt;https://gtacknowledge.extremenetworks.com/articles/Solution/Switch-reboots-with-EPM-application-wdg-...&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
--&lt;BR /&gt;
Jarek</description>
      <pubDate>Thu, 22 Jun 2017 23:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9896#M924</guid>
      <dc:creator>Jarek</dc:creator>
      <dc:date>2017-06-22T23:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9897#M925</link>
      <description>Elie,&lt;BR /&gt;
&lt;BR /&gt;
I supuse you forgot &lt;BR /&gt;
&lt;BR /&gt;
then{&lt;BR /&gt;
permit; &lt;BR /&gt;
}&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 23:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9897#M925</guid>
      <dc:creator>Nick_Yakimenko</dc:creator>
      <dc:date>2017-06-22T23:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9898#M926</link>
      <description>thank you Nick you are right &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jun 2017 23:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9898#M926</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T23:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: deny specific prefixes in bgp</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9899#M927</link>
      <description>Jared, that is what i found too . i need to upgrade the OS</description>
      <pubDate>Thu, 22 Jun 2017 23:52:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-other/deny-specific-prefixes-in-bgp/m-p/9899#M927</guid>
      <dc:creator>Elie_Raad</dc:creator>
      <dc:date>2017-06-22T23:52:00Z</dc:date>
    </item>
  </channel>
</rss>

