<?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: Tagging internal routes with community in Routing and SD-WAN</title>
    <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793732#M55463</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;neighbor [peer_ip_address] send-community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Sep 2007 15:41:12 GMT</pubDate>
    <dc:creator>Edison Ortiz</dc:creator>
    <dc:date>2007-09-04T15:41:12Z</dc:date>
    <item>
      <title>Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793731#M55462</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set up community based filtering and I cannot seem to be able to tag our own routes with community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Configuration is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;router bgp 65000&lt;/P&gt;&lt;P&gt; bgp router-id 10.0.0.1&lt;/P&gt;&lt;P&gt; bgp log-neighbor-changes&lt;/P&gt;&lt;P&gt; neighbor 10.0.0.2 remote-as 65001&lt;/P&gt;&lt;P&gt; neighbor 192.168.1.1 remote-as 65002&lt;/P&gt;&lt;P&gt; !&lt;/P&gt;&lt;P&gt; address-family ipv4&lt;/P&gt;&lt;P&gt; redistribute static&lt;/P&gt;&lt;P&gt; neighbor 10.0.0.2 activate&lt;/P&gt;&lt;P&gt; neighbor 10.0.0.2 route-map CLIENT-IN in&lt;/P&gt;&lt;P&gt; neighbor 10.0.0.2 route-map CLIENT-OUT out&lt;/P&gt;&lt;P&gt; neighbor 192.168.1.1 activate&lt;/P&gt;&lt;P&gt; neighbor 192.168.1.1 remove-private-as&lt;/P&gt;&lt;P&gt; neighbor 192.168.1.1 route-map TRANSIT-IN in&lt;/P&gt;&lt;P&gt; neighbor 192.168.1.1 route-map TRANSIT-OUT out&lt;/P&gt;&lt;P&gt; no auto-summary&lt;/P&gt;&lt;P&gt; no synchronization&lt;/P&gt;&lt;P&gt; network 10.0.0.0 mask 255.255.255.0&lt;/P&gt;&lt;P&gt; network 100.0.0.0 mask 255.255.255.0&lt;/P&gt;&lt;P&gt; exit-address-family&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;ip classless&lt;/P&gt;&lt;P&gt;ip route 10.0.0.0 255.255.255.0 Null0 255&lt;/P&gt;&lt;P&gt;ip route 100.0.0.0 255.255.255.0 Null0 255&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;ip bgp-community new-format&lt;/P&gt;&lt;P&gt;ip community-list expanded CLIENT-OUT permit 65000:220&lt;/P&gt;&lt;P&gt;ip community-list expanded CLIENT-OUT permit 65000:200&lt;/P&gt;&lt;P&gt;ip community-list expanded CLIENT-OUT permit 65000:180&lt;/P&gt;&lt;P&gt;ip community-list expanded CLIENT-OUT permit 65000:100&lt;/P&gt;&lt;P&gt;ip community-list expanded TRANSIT-OUT permit 65000:220&lt;/P&gt;&lt;P&gt;ip community-list expanded TRANSIT-OUT permit 65000:100&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;ip prefix-list OUR-NET seq 5 permit 10.0.0.0/24&lt;/P&gt;&lt;P&gt;ip prefix-list OUR-NET seq 10 permit 100.0.0.0/24&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;route-map TRANSIT-OUT permit 10&lt;/P&gt;&lt;P&gt; match community TRANSIT-OUT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;route-map CLIENT-IN permit 10&lt;/P&gt;&lt;P&gt; set local-preference 120&lt;/P&gt;&lt;P&gt; set community 65000:220&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;route-map TRANSIT-IN permit 10&lt;/P&gt;&lt;P&gt; set local-preference 80&lt;/P&gt;&lt;P&gt; set community 65000:180&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;route-map CLIENT-OUT permit 10&lt;/P&gt;&lt;P&gt; match community CLIENT-OUT&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;route-map OUR-NET permit 10&lt;/P&gt;&lt;P&gt; match ip address prefix-list OUR-NET&lt;/P&gt;&lt;P&gt; set community 65000:100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The client gets routes from our upstream and upstream gets routes from our client but nobody gets our routes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something wrong in this configuration when tagging our own routes and advertising them to our upstream and client?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2019 02:35:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793731#M55462</guid>
      <dc:creator>armin.kask</dc:creator>
      <dc:date>2019-03-04T02:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793732#M55463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;neighbor [peer_ip_address] send-community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 15:41:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793732#M55463</guid>
      <dc:creator>Edison Ortiz</dc:creator>
      <dc:date>2007-09-04T15:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793733#M55464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try "neighbor xxx.xxx.xxx.xx send-community" with your BGP peers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 15:43:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793733#M55464</guid>
      <dc:creator>Joseph W. Doherty</dc:creator>
      <dc:date>2007-09-04T15:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793734#M55465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No change. Still customer and upstream get eachothers routes but our routes dont get distributed. I think the problem is that our local routes dont get community tagged but According to some manuals the route-map OUR-NET config should be correct. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:01:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793734#M55465</guid>
      <dc:creator>armin.kask</dc:creator>
      <dc:date>2007-09-04T16:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793735#M55466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Per your config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) you are announcing your static routes via redistribution. Do you see those static routes on this router BGP table ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) you have&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;route-map CLIENT-OUT permit 10&lt;/P&gt;&lt;P&gt;match community CLIENT-OUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and CLIENT-OUT is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ip community-list expanded CLIENT-OUT permit 65000:200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, routes leaving your router aren't tagged yet. Tags are applied as they are sent to the  BGP peer or as they come into your router. Your neighbor will see the tag (after adding the send-community option). You are only able to see the tags as they come into your router.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have nothing to match as they exit, I believe you want to apply the tag as they exit .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same idea applies to TRANSIT-OUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do a show ip bgp [ip address] on one of those routes you want to advertise, do you see a tag ? Were those routes originated on this router or learned from another BGP peer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:13:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793735#M55466</guid>
      <dc:creator>Edison Ortiz</dc:creator>
      <dc:date>2007-09-04T16:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793736#M55467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The redistribute static was an error from my experiments and I removed it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sh ip bgp 100.0.0.0 says:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BGP routing table entry for 100.0.0.0/24, version 5&lt;/P&gt;&lt;P&gt;Paths: (1 available, best #1, table Default-IP-Routing-Table)&lt;/P&gt;&lt;P&gt;Flag: 0x820&lt;/P&gt;&lt;P&gt;  Not advertised to any peer&lt;/P&gt;&lt;P&gt;  Local&lt;/P&gt;&lt;P&gt;    0.0.0.0 from 0.0.0.0 (10.0.0.1)&lt;/P&gt;&lt;P&gt;      Origin IGP, metric 0, localpref 100, weight 32768, valid, sourced, local, best&lt;/P&gt;&lt;P&gt;R3#&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to allow our routes to be advertised to  upstreams and our customers. I tried to tag them with community 65000:100 and then I added &lt;/P&gt;&lt;P&gt;the community to TRANSIT-OUT and CLIENT-OUT&lt;/P&gt;&lt;P&gt;community lists&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:25:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793736#M55467</guid>
      <dc:creator>armin.kask</dc:creator>
      <dc:date>2007-09-04T16:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793737#M55468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I reviewed your config a bit more carefully and now I believe I understand your logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) You have 192.168.1.1 and 10.0.0.2 neighbors and you are acting as a transit router.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) routes coming from 192.168.1.1 are tagged with 65000:180&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c) routes coming from 10.0.0.2 are tagged 65000:220&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;d) You have announce back to 192.168.1.1 routes learned from 10.0.0.2 with a match statement, and opposite direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you aren't matching your static routes in the advertisement. The route-map filters this advertisement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to add the OUR-NET prefix-list on each OUT route-map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;route-map TRANSIT-OUT permit 10&lt;/P&gt;&lt;P&gt;match community TRANSIT-OUT&lt;/P&gt;&lt;P&gt;match ip address prefix-list OUR-NET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:28:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793737#M55468</guid>
      <dc:creator>Edison Ortiz</dc:creator>
      <dc:date>2007-09-04T16:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793738#M55469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct, my router is transit between both AS-es.&lt;/P&gt;&lt;P&gt;When I add the prefix-list then my routes get advertised but is there a way to do this with communitys instead of prefix-lists? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 16:34:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793738#M55469</guid>
      <dc:creator>armin.kask</dc:creator>
      <dc:date>2007-09-04T16:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tagging internal routes with community</title>
      <link>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793739#M55470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Routes are tagged as they enter/exit your router. You can't tag your own routes for internal processing. You need to match based on prefix-lists.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2007 18:06:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/routing-and-sd-wan/tagging-internal-routes-with-community/m-p/793739#M55470</guid>
      <dc:creator>Edison Ortiz</dc:creator>
      <dc:date>2007-09-04T18:06:54Z</dc:date>
    </item>
  </channel>
</rss>

