<?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: How to configure route policy to redistribute connected route to bgp? in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48294#M12599</link>
    <description>Hi Parthiban,  Does entry two mean “all connected routes”?</description>
    <pubDate>Tue, 10 Apr 2018 17:46:00 GMT</pubDate>
    <dc:creator>David32</dc:creator>
    <dc:date>2018-04-10T17:46:00Z</dc:date>
    <item>
      <title>How to configure route policy to redistribute connected route to bgp?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48292#M12597</link>
      <description>Hi guys,&lt;BR /&gt;
&lt;BR /&gt;
I want to redistribute direct (connected) routes to bgp basically.&lt;BR /&gt;
But I also want to specify community for particular prefixes as well.&lt;BR /&gt;
&lt;BR /&gt;
For example, a Router-A has vlan A (10.1.1.0/24) and vlan B (10.2.2.0/24), vlan C (10.3.3.0/24) locally.&lt;BR /&gt;
&lt;BR /&gt;
And Router-A wants to redistribute direct route to BGP but also want to specify 10.1.1.0/24 prefix with community 7777:100.&lt;BR /&gt;
&lt;BR /&gt;
So I tried to configure above as below:&lt;BR /&gt;
&lt;BR /&gt;
enable bgp export direct address-family ipv4-unicast export-policy CONN_TO_BGP&lt;BR /&gt;
&lt;BR /&gt;
Policy: CONN_TO_BGPentry 10 { &lt;BR /&gt;
if match any { &lt;BR /&gt;
    nlri 10.1.1.0/24 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
    community set "7777:100" ;&lt;BR /&gt;
    permit  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
&lt;BR /&gt;
However, when I checked the routes from Router-B, it only receives 10.1.1.0/24 with community 7777:100 but no other direct routes.&lt;BR /&gt;
&lt;BR /&gt;
Please help me.</description>
      <pubDate>Tue, 10 Apr 2018 17:06:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48292#M12597</guid>
      <dc:creator>David32</dc:creator>
      <dc:date>2018-04-10T17:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to configure route policy to redistribute connected route to bgp?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48293#M12598</link>
      <description>Hi David,&lt;BR /&gt;
&lt;BR /&gt;
Try this &lt;BR /&gt;
&lt;BR /&gt;
CONN_TO_BGPentry 10 { &lt;BR /&gt;
if match any { &lt;BR /&gt;
    nlri 10.1.1.0/24 ;&lt;BR /&gt;
}&lt;BR /&gt;
then {&lt;BR /&gt;
    community set "7777:100" ;&lt;BR /&gt;
    permit  ;&lt;BR /&gt;
}&lt;BR /&gt;
}&lt;BR /&gt;
entry two {&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;
}</description>
      <pubDate>Tue, 10 Apr 2018 17:46:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48293#M12598</guid>
      <dc:creator>Parthiban_V</dc:creator>
      <dc:date>2018-04-10T17:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to configure route policy to redistribute connected route to bgp?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48294#M12599</link>
      <description>Hi Parthiban,  Does entry two mean “all connected routes”?</description>
      <pubDate>Tue, 10 Apr 2018 17:46:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48294#M12599</guid>
      <dc:creator>David32</dc:creator>
      <dc:date>2018-04-10T17:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to configure route policy to redistribute connected route to bgp?</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48295#M12600</link>
      <description>Let me ask one more question.    With Parthiban’s anwer above, let say this router A has 3 bgp neighnors, router-b, router-c and router-d. I want to redistribute direct routes to all three neighbors basically. But I want to filter prefix 10.1.1.0/24 with community 7777:100 to router-c and also want to filter 10.2.2.0/24 with community 8888:100 to router-d.    In orther words, router-b will receive all direct routes from router-a, router-c will receive all direct routes except 10.1.1.0/24 and router-d will receive all direct routes except 10.2.2.0/24.  For this scenario, how should I configure route policies?    Br  David</description>
      <pubDate>Tue, 10 Apr 2018 18:20:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/how-to-configure-route-policy-to-redistribute-connected-route-to/m-p/48295#M12600</guid>
      <dc:creator>David32</dc:creator>
      <dc:date>2018-04-10T18:20:00Z</dc:date>
    </item>
  </channel>
</rss>

