<?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 Help creating OSPF export with static routes, with specific tags and cost. in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64454#M18146</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The static routes are as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;configure iproute add 10.1.0.0 255.255.0.0 172.16.2.10&lt;BR /&gt;configure iproute add 20.150.27.0 255.255.255.0 172.16.2.10&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What I would like to do is redistribute those examples into OSPF&amp;nbsp;with the first route using a tag of 2 and the other as a tag of 102, both with a cost of 8.&lt;/P&gt;&lt;P&gt;I’m likely going to need a .pol file to do this, maybe something along the line of the below but not sure it would work or is the best way to do it?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;#### static-redist.pol file ####&lt;BR /&gt;entry static_first&lt;BR /&gt;{&lt;BR /&gt;if match any&lt;BR /&gt;{&lt;BR /&gt;nlri 10.1.0.0/16;&lt;BR /&gt;}&lt;BR /&gt;then&lt;BR /&gt;{&lt;BR /&gt;next-hop 172.16.2.10&lt;BR /&gt;tag 2&lt;BR /&gt;cost 8&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;entry static_second&lt;BR /&gt;{&lt;BR /&gt;if match any&lt;BR /&gt;{&lt;BR /&gt;nlri 20.150.27.0/24;&lt;BR /&gt;}&lt;BR /&gt;then&lt;BR /&gt;{&lt;BR /&gt;next-hop 172.16.2.10&lt;BR /&gt;tag 102&lt;BR /&gt;cost 8&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;enable ospf export static static-redist&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The export command below has various options&amp;nbsp;of which ‘tag’ is one component, but due to requiring different static routes with different tags I assume I will need a policy&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;enable ospf export [bgp | direct | e-bgp | i-bgp | rip | static | isis |&lt;BR /&gt;isis-level-1 | isis-level-1-external | isis-level-2 | isis-level-2-&lt;BR /&gt;external | host-mobility] [cost cost type [ase-type-1 | ase-type-2] {tag&lt;BR /&gt;number} | policy-map]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The bit I’m stuck on is how to get the routes, to their specific destinations, with their specific tags using a policy?&lt;/P&gt;&lt;P&gt;Appreciate any support in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2020 17:02:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-02T17:02:10Z</dc:date>
    <item>
      <title>Help creating OSPF export with static routes, with specific tags and cost.</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64454#M18146</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The static routes are as follows:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;configure iproute add 10.1.0.0 255.255.0.0 172.16.2.10&lt;BR /&gt;configure iproute add 20.150.27.0 255.255.255.0 172.16.2.10&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What I would like to do is redistribute those examples into OSPF&amp;nbsp;with the first route using a tag of 2 and the other as a tag of 102, both with a cost of 8.&lt;/P&gt;&lt;P&gt;I’m likely going to need a .pol file to do this, maybe something along the line of the below but not sure it would work or is the best way to do it?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;#### static-redist.pol file ####&lt;BR /&gt;entry static_first&lt;BR /&gt;{&lt;BR /&gt;if match any&lt;BR /&gt;{&lt;BR /&gt;nlri 10.1.0.0/16;&lt;BR /&gt;}&lt;BR /&gt;then&lt;BR /&gt;{&lt;BR /&gt;next-hop 172.16.2.10&lt;BR /&gt;tag 2&lt;BR /&gt;cost 8&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;entry static_second&lt;BR /&gt;{&lt;BR /&gt;if match any&lt;BR /&gt;{&lt;BR /&gt;nlri 20.150.27.0/24;&lt;BR /&gt;}&lt;BR /&gt;then&lt;BR /&gt;{&lt;BR /&gt;next-hop 172.16.2.10&lt;BR /&gt;tag 102&lt;BR /&gt;cost 8&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;enable ospf export static static-redist&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The export command below has various options&amp;nbsp;of which ‘tag’ is one component, but due to requiring different static routes with different tags I assume I will need a policy&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;enable ospf export [bgp | direct | e-bgp | i-bgp | rip | static | isis |&lt;BR /&gt;isis-level-1 | isis-level-1-external | isis-level-2 | isis-level-2-&lt;BR /&gt;external | host-mobility] [cost cost type [ase-type-1 | ase-type-2] {tag&lt;BR /&gt;number} | policy-map]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The bit I’m stuck on is how to get the routes, to their specific destinations, with their specific tags using a policy?&lt;/P&gt;&lt;P&gt;Appreciate any support in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 17:02:10 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64454#M18146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-02T17:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating OSPF export with static routes, with specific tags and cost.</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64455#M18147</link>
      <description>&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;I am still reviewing but that looks to be the correct way but also adding an “else permit” statement at the end with no other action modifier.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris Thompson&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 19:10:03 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64455#M18147</guid>
      <dc:creator>CThompsonEXOS</dc:creator>
      <dc:date>2020-10-02T19:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating OSPF export with static routes, with specific tags and cost.</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64456#M18148</link>
      <description>&lt;P&gt;Thanks for looking Chris. Will keep an eye on the post.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 19:15:40 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64456#M18148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-02T19:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating OSPF export with static routes, with specific tags and cost.</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64457#M18149</link>
      <description>&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I got it working below I did have to make some syntax changes to the ACL(see below):&lt;/P&gt;&lt;P&gt;static-redirect.pol&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;entry static_first&lt;BR /&gt;{&lt;BR /&gt;if match any&lt;BR /&gt;{&lt;BR /&gt;nlri 10.1.0.0/16;&lt;BR /&gt;}&lt;BR /&gt;then&lt;BR /&gt;{&lt;BR /&gt;next-hop 172.16.2.10;&lt;BR /&gt;tag 2;&lt;BR /&gt;cost 8;&lt;BR /&gt;permit;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;entry static_second&lt;BR /&gt;{&lt;BR /&gt;if match any&lt;BR /&gt;{&lt;BR /&gt;nlri 20.150.27.0/24;&lt;BR /&gt;}&lt;BR /&gt;then&lt;BR /&gt;{&lt;BR /&gt;next-hop 172.16.2.10;&lt;BR /&gt;tag 102;&lt;BR /&gt;cost 8;&lt;BR /&gt;permit;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;From there I configured the policy with the syntax below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;configure ospf area 0.0.0.0 external-filter static-redirect&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;On the OSPF neighbor I now see the proper tags:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;EXOS-VM.37 # show ospf lsdb as-external&lt;BR /&gt;&lt;BR /&gt;                AS External LSAs&lt;BR /&gt;Link State ID   Adv Router      Seq#         Age Chksum  Tag&lt;BR /&gt;-------------------------------------------------------------&lt;BR /&gt;10.1.0.0        172.16.2.1      0xffffffff80000001  213  0x9edf   2&lt;BR /&gt;20.150.27.0     172.16.2.1      0xffffffff80000001  213  0xfd61 102&lt;BR /&gt;EXOS-VM.38 #&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris Thompson&lt;/P&gt;</description>
      <pubDate>Sun, 04 Oct 2020 01:29:22 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64457#M18149</guid>
      <dc:creator>CThompsonEXOS</dc:creator>
      <dc:date>2020-10-04T01:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating OSPF export with static routes, with specific tags and cost.</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64458#M18150</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Really appreciate the support and the trouble of testing it.&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 00:03:37 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/help-creating-ospf-export-with-static-routes-with-specific-tags/m-p/64458#M18150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-05T00:03:37Z</dc:date>
    </item>
  </channel>
</rss>

