Skip navigation
Cisco Learning Home > Certifications > Routing & Switching (CCNA) > Discussions

_Communities

This Question is Not Answered 1 Correct Answer available (4 pts) 2 Helpful Answers available (2 pts)
837 Views 11 Replies Latest reply: May 1, 2012 11:37 PM by borzol CCNP (CCIE R&S candidate) RSS

Currently Being Moderated

Route-Map Question.

Apr 26, 2012 9:59 PM

Krishna 712 posts since
Aug 24, 2011

Hi Friends,

 

I have a route-map configured in the Router R1.

 

 

route-map Set_Comm permit 10
match ip address 99
set community 100:25
route-map Set_Comm permit 20

 

Access-list 99 is configured as shown below:

 

R1#sh access-lists 99
Standard IP access list 99
    10 permit 1.0.0.0, wildcard bits 0.255.255.255 (2 matches)

 

 

I have applied the route-map Set_Comm outbound for the neighbor 3.3.3.3


neighbor 3.3.3.3 route-map Set_Comm out


Loggin in to Router R3(3.3.3.3)


R1#3
Trying 3.3.3.3 ... Open

R3#sh ip bgp
BGP table version is 15, local router ID is 33.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
r> 1.0.0.0          1.1.1.1                  0          9999 100 i
r                   2.2.2.2                                0 200 100 i
*> 2.0.0.0          2.2.2.2                  0             0 200 i
*> 3.0.0.0          0.0.0.0                  0         32768 i
*> 12.0.0.0         2.2.2.2                  0             0 200 i
*> 13.0.0.0         0.0.0.0                  0         32768 i
*  23.0.0.0         2.2.2.2                  0             0 200 i
*>                  0.0.0.0                  0         32768 i

 

The problem is that only the route 1.0.0.0 is received from R1. If I remove the route-map I"ll get the entire routes from R1.

 

Can anyone check and tell me what the issue is?

 

Krishna


  • Sey 1,388 posts since
    May 4, 2010
    Currently Being Moderated
    1. Apr 27, 2012 2:29 AM (in response to Krishna)
    Re: Route-Map Question.
    The problem is that only the route 1.0.0.0 is received from R1. If I remove the route-map I"ll get the entire routes from R1.

    Can anyone check and tell me what the issue is?

    There is no issue. You configured BGP filtering by permitting 1.0.0.0/8 only, and it works.

     

    What did you want to achieve?

  • Stephen 488 posts since
    Apr 22, 2011
    Currently Being Moderated
    2. Apr 27, 2012 3:05 AM (in response to Krishna)
    Re: Route-Map Question.

    Looks okay, the other routes should propagate normally.  I'm guessing you have a bunch of routes on R1 that aren't in the routing table, but trying to send them to R3. Do a #sh ip bgp & #sh ip route on R1 & R3.  Also tell me if there is an inbound filter on R3 for the r1 neighbor.

  • Sey 1,388 posts since
    May 4, 2010
    Currently Being Moderated
    4. Apr 27, 2012 3:57 AM (in response to Krishna)
    Re: Route-Map Question.

    Did you want to just set community without filtering routes? If so, the issue is that there is an implicit deny in the end of any route-map. So if you want to permit all other routes, add

     

    route-map Set_Comm permit 20

    end

  • Sey 1,388 posts since
    May 4, 2010
    Currently Being Moderated
    6. Apr 28, 2012 2:29 AM (in response to Krishna)
    Re: Route-Map Question.

    So is it working as expected now?

  • borzol CCNP (CCIE R&S candidate) 276 posts since
    Apr 6, 2012
    Currently Being Moderated
    8. Apr 30, 2012 5:12 AM (in response to Krishna)
    Re: Route-Map Question.

    hi,

     

    if you use communities int bgp you should use send community in router section because it is an optional bgp path attribute.

     

    Did you use it?

     

    If you see the sh bgp ipv4 unicast 1.0.0.0 255.0.0.0 output you will see the commuity string.

     

    regards,

     

    borzol

  • eugen 89 posts since
    Oct 7, 2010
    Currently Being Moderated
    9. May 1, 2012 9:20 PM (in response to Krishna)
    Re: Route-Map Question.

    Your Acl permits only 1.0.0.0 network and denies everything else. Maybe add other subnets to acl if you want them to be propagated to other routers.

     

    Hope this helps

    Eugen

  • Bradford Chatterjee (CCIEx2/CCDE) 347 posts since
    Jul 7, 2009
    Currently Being Moderated
    10. May 1, 2012 9:34 PM (in response to Krishna)
    Re: Route-Map Question.

    Based only on the configuration that you've shown us, it should be working. Either you've hit a bug in the version of IOS that you are using, or there's something else in your config that is broken. When you run the "show ip bgp neighbor 3.3.3.3 advertised-routes" on R1 with the route-map in place, what do you see? It would probably also be helpful if you post the rest of your configuration for R1 and R3.

  • borzol CCNP (CCIE R&S candidate) 276 posts since
    Apr 6, 2012
    Currently Being Moderated
    11. May 1, 2012 11:37 PM (in response to Krishna)
    Re: Route-Map Question.

    hi Krishna,

     

    can U send me the inbound route filter on r3?

     

    And is it normal of the perspective of whole topology that 1.0.0.0 is RIB failure?

     

    It can be when you have better igp route, memory failure or no more free spaces int vrf routing table. Is it ok for you?

     

    borzol

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)