Re: extended communities sent by default?

From: Marko Milivojevic <markom_at_ipexpert.com>
Date: Thu, 28 Feb 2013 17:44:33 -0800

I have to admit, I'm not 100% sure what your question is :-)

RD and RT are unrelated. RT is a community (an attribute) that exists
on a route. What you are seeing could be just routers perception of
it's local BGP table and not necessarily what's being advertised. You
can always capture the packets with Wireshark to confirm what's
happening.

--
Marko Milivojevic - CCIE #18427 (SP R&S)
Senior CCIE Instructor / Managing Partner - IPexpert
On Thu, Feb 28, 2013 at 2:49 PM, Tony Singh <mothafungla_at_gmail.com> wrote:
>
>
> here's what I don't understand
>
> if a vrf is defined under ipv4 unicast then how is the RT value propergated
> in order for export to be achieved as I'm seeing the desired routes in the
> vrf tables ok at both ends
>
> the RD is part of the NLRI to make ip prefix unique right...
>
> now if what your saying is true then extended communities is where this
> attribute is carried/exported and if it doesn't send them why am I see the
> desired routes in the vrf routing table?
>
> thanks for you time Marko
>
>
> Tony
>
>
>
> On 28 February 2013 20:36, Marko Milivojevic <markom_at_ipexpert.com> wrote:
>>
>> Are you actually seeing these communities being received on the other
>> side? This could be just a cosmetic display of which route is being
>> advertised to help you ID it in the local BGP table. I'd have to lab
>> it up myself, but AFAIK, unless you actually configure "neighbor
>> send-community", communities are not being send (barring the exception
>> of VPNv4/6, where extended communities are always sent)
>>
>> --
>> Marko Milivojevic - CCIE #18427 (SP R&S)
>> Senior CCIE Instructor / Managing Partner - IPexpert
>>
>> On Thu, Feb 28, 2013 at 11:48 AM, Tony Singh <mothafungla_at_gmail.com>
>> wrote:
>> >
>> > router bgp xxxx
>> >  bgp log-neighbor-changes
>> >  timers bgp 10 30
>> >  neighbor x.x.x.x remote-as xxxx
>> >  neighbor x.x.x.x shutdown
>> >  neighbor x.x.x.x password
>> >  neighbor x.x.x.x remote-as xxxx
>> >  neighbor x.x.x.x password
>> >  neighbor x.x.x.x  remote-as xxxx
>> >  neighbor x.x.x.x  password
>> >  !
>> >  address-family ipv4
>> >   neighbor x.x.x.x activate
>> >   neighbor x.x.x.x activate
>> >   neighbor x.x.x.x next-hop-self
>> >   neighbor x.x.x.x activate
>> >   no auto-summary
>> >   no synchronization
>> >   network x.x.x.x mask 255.255.255.192 route-map Not-Prefer
>> >   network x.x.x.x mask 255.255.255.192 route-map Not-Prefer
>> >   network x.x.x.x mask 255.255.255.192 route-map Not-Prefer
>> >   network x.x.x.x mask 255.255.255.128 route-map Prefer
>> >   network x.x.x.x mask 255.255.255.252 route-map Not-Prefer
>> >   network x.x.x.x mask 255.255.255.252 route-map Prefer
>> >   network x.x.x.x mask 255.255.255.248 route-map Prefer
>> >   network x.x.x.x mask 255.255.255.252 route-map Prefer
>> >   network x.x.x.x mask 255.255.255.252 route-map Not-Prefer
>> >  exit-address-family
>> >  !
>> >  address-family ipv4 vrf Customer
>> >   neighbor x.x.x.x remote-as xxxx
>> >   neighbor x.x.x.x password
>> >   neighbor x.x.x.x activate
>> >   no synchronization
>> >   network x.x.x.x mask 255.255.255.252
>> >  exit-address-family
>> >
>> > clear ip bgp *
>> >
>> > *Feb 28 19:35:48.607: BGP(0): x.x.x.x send UPDATE (prepend, chgflags:
>> > 0x10860) x.x.x.x , next x.x.x.x, metric 100, extended community
>> > RT:300:300
>> > *Feb 28 19:35:48.607: BGP(0): x.x.x.x send UPDATE (prepend, chgflags:
>> > 0x820)
>> > x.x.x.x , next x.x.x.x, metric 100, extended community RT:300:300
>> >
>> > *Feb 28 19:35:31.651: BGP(0): x.x.x.x  send UPDATE (prepend, chgflags:
>> > 0x820) x.x.x.x , next x.x.x.x metric 100, extended community
>> > *Feb 28 19:35:31.651: BGP(0): x.x.x.x send UPDATE (prepend, chgflags:
>> > 0x820)
>> > x.x.x.x next x.x.x.x metric 100, extended community
>> >
>> >
>> >
>> >
>> > On 28 February 2013 07:33, Marko Milivojevic <markom_at_ipexpert.com>
>> > wrote:
>> >>
>> >> Can you please post your configs?
>> >>
>> >> --
>> >> Marko Milivojevic - CCIE #18427 (SP R&S)
>> >> Senior CCIE Instructor / Managing Partner - IPexpert
>> >>
>> >> On Wed, Feb 27, 2013 at 11:25 PM, Tony Singh <mothafungla_at_gmail.com>
>> >> wrote:
>> >> > Yuri
>> >> >
>> >> > The config is under ipv4 vrf trust me ;)
>> >> >
>> >> > No vpnv4 configured!
>> >> >
>> >> > Tony
>> >> >
>> >> > --
>> >> > BR
>> >> >
>> >> > Sent from my iPhone on 3
>> >> >
>> >> > On 28 Feb 2013, at 06:50, Yuri Bank <yuribank_at_gmail.com> wrote:
>> >> >
>> >> >> Those look like SAFI128/vpnv4 UPDATE messages, in which case your
>> >> > configuration under "address family ipv4 unicast vrf" would have no
>> >> > impact.
>> >> >>
>> >> >> Extended communities would be required under 'address family vpnv4'
>> >> >>
>> >> >> -Yuri
>> >> >>
>> >> >> On Wed, Feb 27, 2013 at 2:59 PM, Tony Singh <mothafungla_at_gmail.com>
>> >> >> wrote:
>> >> >> Hi Experts
>> >> >>
>> >> >> I have a doubt about this as without neighbor x.x.x.x send-community
>> >> >> both I
>> >> >> am seeing propagation.
>> >> >>
>> >> >> Configuration is under ipv4 unicast vrf
>> >> >>
>> >> >> Feb 27 22:58:27.223: BGP(0): x.x.x.x send UPDATE (prepend, chgflags:
>> >> >> 0x0) x.x.x.x , next x.x.x.x , metric 0, extended community
>> >> >> RT:300:300
>> >> >> Feb 27 22:58:27.223: BGP(0): x.x.x.x  send UPDATE (prepend,
>> >> >> chgflags:
>> >> >> 0x0) x.x.x.x , next x.x.x.x , metric 0, extended community
>> >> >> RT:300:300
>> >> >>
>> >> >>
>> >> >> Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_SNA-M),
>> >> >> Version
>> >> >> 12.4(24)T2, RELEASE SOFTWARE (fc2)
>> >> >>
>> >> >>
>> >> >>
>> >> >> BR
>> >> >>
>> >> >> Tony
>> >> >>
>> >> >>
>> >> >> Blogs and organic groups at http://www.ccie.net
>> >> >>
>> >> >>
>> >> >> _______________________________________________________________________
>> >> >> Subscription information may be found at:
>> >> >> http://www.groupstudy.com/list/CCIELab.html
>> >> >
>> >> >
>> >> > Blogs and organic groups at http://www.ccie.net
>> >> >
>> >> >
>> >> > _______________________________________________________________________
>> >> > Subscription information may be found at:
>> >> > http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Thu Feb 28 2013 - 17:44:33 ART

This archive was generated by hypermail 2.2.0 : Fri Mar 01 2013 - 07:57:59 ART