<?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 BGP MED attributes don't work in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77019#M19524</link>
    <description>Hello!&lt;BR /&gt;
&lt;BR /&gt;
x480, EXOS 12.6.5.2  patch1-3&lt;BR /&gt;
I received some prefix via BGP and over router-policy IN add MED 30 and MED 50 for them:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;# sh bgp routes network 5.45.121.0/24&lt;BR /&gt;&lt;BR /&gt;Feasible Routes&lt;BR /&gt;---------------&lt;BR /&gt;    Destination        Peer            Next-Hop        LPref Weight MED   AS-Path&lt;BR /&gt;*&amp;gt;i 5.45.121.0/24      193.25.180.255  193.25.180.244  500   1000   50    3326 21219 3327 198068&lt;BR /&gt;  i 5.45.121.0/24      193.25.181.0    193.25.180.244  500   1000   50    3326 21219 3327 198068&lt;BR /&gt;  i 5.45.121.0/24      10.17.21.3      10.17.21.3      500   1000   30    ( 65003 ) 21219 3327 198068&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Unfeasible Routes&lt;BR /&gt;-----------------&lt;BR /&gt; Destination        Peer            Next-Hop        LPref Weight MED   AS-Path&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Flags: (*) Preferred BGP route, (&amp;gt;) Active, (d) Suppressed, (h) History&lt;BR /&gt;       (s) Stale, (m) Multipath&lt;BR /&gt;&lt;BR /&gt;Origin: (?) Incomplete, (e) EGP, (i) IGP&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
Why first route active? First and third routes have same weight, LPref, AS-PATH (4), origin code.&lt;BR /&gt;
But third route have lower MED - it should be active route.</description>
    <pubDate>Tue, 04 Dec 2018 06:59:32 GMT</pubDate>
    <dc:creator>Karfax</dc:creator>
    <dc:date>2018-12-04T06:59:32Z</dc:date>
    <item>
      <title>BGP MED attributes don't work</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77019#M19524</link>
      <description>Hello!&lt;BR /&gt;
&lt;BR /&gt;
x480, EXOS 12.6.5.2  patch1-3&lt;BR /&gt;
I received some prefix via BGP and over router-policy IN add MED 30 and MED 50 for them:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;# sh bgp routes network 5.45.121.0/24&lt;BR /&gt;&lt;BR /&gt;Feasible Routes&lt;BR /&gt;---------------&lt;BR /&gt;    Destination        Peer            Next-Hop        LPref Weight MED   AS-Path&lt;BR /&gt;*&amp;gt;i 5.45.121.0/24      193.25.180.255  193.25.180.244  500   1000   50    3326 21219 3327 198068&lt;BR /&gt;  i 5.45.121.0/24      193.25.181.0    193.25.180.244  500   1000   50    3326 21219 3327 198068&lt;BR /&gt;  i 5.45.121.0/24      10.17.21.3      10.17.21.3      500   1000   30    ( 65003 ) 21219 3327 198068&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Unfeasible Routes&lt;BR /&gt;-----------------&lt;BR /&gt; Destination        Peer            Next-Hop        LPref Weight MED   AS-Path&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Flags: (*) Preferred BGP route, (&amp;gt;) Active, (d) Suppressed, (h) History&lt;BR /&gt;       (s) Stale, (m) Multipath&lt;BR /&gt;&lt;BR /&gt;Origin: (?) Incomplete, (e) EGP, (i) IGP&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
Why first route active? First and third routes have same weight, LPref, AS-PATH (4), origin code.&lt;BR /&gt;
But third route have lower MED - it should be active route.</description>
      <pubDate>Tue, 04 Dec 2018 06:59:32 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77019#M19524</guid>
      <dc:creator>Karfax</dc:creator>
      <dc:date>2018-12-04T06:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: BGP MED attributes don't work</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77020#M19525</link>
      <description>By default, EXOS doesn't consider the MED for routes with differing AS-paths. Try the following command and see if it changes it:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;enable bgp always-compare-med&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;
If not, can you get the output of:&lt;BR /&gt;
&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;sh bgp routes detail network 5.45.121.0/24&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Dec 2018 03:29:49 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77020#M19525</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2018-12-05T03:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: BGP MED attributes don't work</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77021#M19526</link>
      <description>Also, why not set the LPref instead of MED via policy in this case?</description>
      <pubDate>Wed, 05 Dec 2018 03:57:40 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77021#M19526</guid>
      <dc:creator>BrandonC</dc:creator>
      <dc:date>2018-12-05T03:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: BGP MED attributes don't work</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77022#M19527</link>
      <description>To add to Brandon's comment, by default EXOS compares MED only for paths in the same AS. In my experience, the use of MED is quite rare. It can be used to try to influence traffic entering your AS, but with little luck to succeed. If you want to influence how traffic can exit your AS, prefer Local Preference.</description>
      <pubDate>Wed, 12 Dec 2018 21:31:37 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/bgp-med-attributes-don-t-work/m-p/77022#M19527</guid>
      <dc:creator>Stephane_Grosj1</dc:creator>
      <dc:date>2018-12-12T21:31:37Z</dc:date>
    </item>
  </channel>
</rss>

