<?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: Unable to set BGP Local Preference on VPNv4 routes in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85742#M20621</link>
    <description>&lt;P&gt;One more thing&amp;nbsp;to add, for XOS VPN-V4 and Local Pref to work together, all the PE devices must have the same RD for that particular VRF otherwise Local Pref&amp;nbsp;doesn't take affect.&lt;/P&gt;&lt;P&gt;…..and upgrade to&amp;nbsp;ExtremeXOS 22.7.3-Patch1-3&amp;nbsp;if your want XOS VPN-V4 to work properly.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 20:23:46 GMT</pubDate>
    <dc:creator>Rowan_Sakul</dc:creator>
    <dc:date>2021-02-22T20:23:46Z</dc:date>
    <item>
      <title>Unable to set BGP Local Preference on VPNv4 routes</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85739#M20618</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;We're trying to our MPLS PE device to properly advertise VPNv4 routes with an appropriate local preference within iBGP-VPNv4.&lt;BR /&gt;This is so we can influence the preferred path and PE devices the traffic traverses in our L3VPN MPLS network.&lt;/P&gt;&lt;P&gt;We've managed to use the following policy to mark inbound BGP IPv4 routes with a Local Preference&lt;BR /&gt;Config XOS Command: (within Customer VR) "&lt;EM&gt;configure bgp neighbor [CUSTOMER_PEER] route-policy in VPRN-CUSTOMER-1-I-SITE-PE1&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;Policy File: VPRN-CUSTOMER-1-I-SITE-PE1&lt;BR /&gt;&lt;EM&gt;entry ALLOW_ALL_WITH_LP50 {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if match all {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nlri 0.0.0.0/0 ;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } then {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; local-preference 50;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; permit;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Verify XOS Command: (within Customer VR) "&lt;EM&gt;show bgp neighbor [CUSTOMER_PEER] received-routes all&lt;/EM&gt;"&lt;BR /&gt;The command above shows LPref as correct, but this does not appear to be inherited once its been exported across to VPN-V4, it reverts back to the default of 100.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;We also tried used the same policy file above as an vpnv4 export policy, but this also did not change what the other PEs see in the VPN-V4 table.&lt;BR /&gt;Config XOS Command: (VR-Default) "&lt;EM&gt;enable bgp export vr VPRN-CUSTOMER-1 bgp address-family vpnv4 export-policy VPRN-CUSTOMER-1-I-SITE-PE1&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help point me in the right direction?&lt;BR /&gt;Also, can you re-use the same policy file on multiple peers and routing/export policies?&lt;/P&gt;&lt;P&gt;We run XOS 21.1.5.2 and 22.7.2.4 on our network.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 15:00:43 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85739#M20618</guid>
      <dc:creator>Rowan_Sakul</dc:creator>
      <dc:date>2020-10-06T15:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set BGP Local Preference on VPNv4 routes</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85740#M20619</link>
      <description>&lt;P&gt;Got it sorted, once you’ve got your policy file sorted&amp;nbsp;[OUTBOUND_POLICY_FILE] you need to apply it in the following way:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;configure bgp neighbor [ROUTE_REFELECTOR_1]&amp;nbsp;address-family vpnv4 route-policy out [OUTBOUND_POLICY_FILE]&lt;BR /&gt;configure bgp neighbor [ROUTE_REFELECTOR_2]&amp;nbsp; address-family vpnv4 route-policy out [OUTBOUND_POLICY_FILE]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The takeaway point is to remember to be specific around the relevant address family you are working with. Also that&amp;nbsp;the Local Pref value doesn’t move between address families (at least in my experience with XOS).&lt;/P&gt;&lt;P&gt;I’m not sure you can use&amp;nbsp;&lt;EM&gt;nlri&amp;nbsp;&lt;/EM&gt;as a matching field either, I tested using a route target to match routes I wanted to manipulate.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 20:30:32 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85740#M20619</guid>
      <dc:creator>Rowan_Sakul</dc:creator>
      <dc:date>2020-12-08T20:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set BGP Local Preference on VPNv4 routes</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85741#M20620</link>
      <description>&lt;P&gt;FYI, this is the Routing Policy we ended up with, we are matching on a community sent from an upstream PE device:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;@description "THIS POLICY IS FOR MANIPULATING ROUTES OUTBOUND-TOWARDS THE ROUTE REFLECTORS"&lt;BR /&gt;&lt;BR /&gt;# THESE ENTIRES SET THE LOCAL PREFERENCE BASED ON BGP COMMUNITIES&lt;BR /&gt;&lt;BR /&gt;# THE DEFAULT LOCAL PREFERENCE VALUE IS 100&lt;BR /&gt;&lt;BR /&gt;# FOR xG CELLULAR SERVICES&lt;BR /&gt;&lt;BR /&gt;entry SET_LPREF_80 {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if match any {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;community "65100:80";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} then {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;local-preference 80;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;permit;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# FOR WIRELESS SERVICES&lt;BR /&gt;&lt;BR /&gt;entry SET_LPREF_90 {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if match any {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;community "65100:90";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} then {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;local-preference 90;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;permit;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# FOR FUTURE IF REQUIRED (NBN EE)&lt;BR /&gt;&lt;BR /&gt;entry SET_LPREF_110 {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if match any {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;community "65100:110";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} then {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;local-preference 110;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;permit;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# FOR FUTURE IF REQUIRED (DARK FIBRE)&lt;BR /&gt;&lt;BR /&gt;entry SET_LPREF_120 {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if match any {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;community "65100:120";&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} then {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;local-preference 120;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;permit;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# PERMIT REMAINING VPN-V4 ROUTES&lt;BR /&gt;&lt;BR /&gt;# IF NO MATCH CONDITIONS SPECIFIED THEN EVERY ROUTING ENTITY MATCHES&lt;BR /&gt;&lt;BR /&gt;entry PERMIT_ALL {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if match any {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} then {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;permit;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;#IF NO POLICY MATCH DEFAULT ACTION IS DENY&lt;/CODE&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 13:17:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85741#M20620</guid>
      <dc:creator>Rowan_Sakul</dc:creator>
      <dc:date>2020-12-09T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set BGP Local Preference on VPNv4 routes</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85742#M20621</link>
      <description>&lt;P&gt;One more thing&amp;nbsp;to add, for XOS VPN-V4 and Local Pref to work together, all the PE devices must have the same RD for that particular VRF otherwise Local Pref&amp;nbsp;doesn't take affect.&lt;/P&gt;&lt;P&gt;…..and upgrade to&amp;nbsp;ExtremeXOS 22.7.3-Patch1-3&amp;nbsp;if your want XOS VPN-V4 to work properly.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 20:23:46 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/unable-to-set-bgp-local-preference-on-vpnv4-routes/m-p/85742#M20621</guid>
      <dc:creator>Rowan_Sakul</dc:creator>
      <dc:date>2021-02-22T20:23:46Z</dc:date>
    </item>
  </channel>
</rss>

