[c-nsp] IOS-XR BGP Aggregate-addresses and VRF Export route-policy behaviour

Adam Vitkovsky Adam.Vitkovsky at gamma.co.uk
Tue Oct 4 10:28:31 EDT 2016


> James Bensley
> Sent: Tuesday, October 04, 2016 2:11 PM
>
> On 1 October 2016 at 13:51, Mailing Lists <lists at coop3r.com> wrote:
> > Need a second opinion on what should be happening with VRF export
> > route-policies on IOS-XR when using BGP aggregate-address prefixes...
> >
> > Example scenario:
> >
> > 3 VRF's A,B and C
> >
> > A and B export specific prefixes to C using an export route-policy
> >
> > A contains an aggregate-address in BGP
> >
> > BGP aggregate gets tagged and exported to C even though the route-map
> > specifies the specific longer prefix. This sort of behavior is
> > repeatable on ASR9K running 5.2.4 and 5.3.3 SP3 as well as XRv running
> > 5.3.3 which my example below is taken from
> >
> > Full Configuration from the XRv test example:
> >
> > http://pastebin.com/z0q3TTQB
> >
> > Routing table and BGP table from vrf-c and
> >
> > http://pastebin.com/nAc2vHza
> >
> > You can see the aggregate tagged with the RT that should only apply to
> > the specific prefixes.
> >
> > Have I properly misunderstood something and this is intentional
> > behavior, or is this very wrong?
> >
> > Thanks
>
>
> Can you try to swap this...
>
> if destination in (10.1.1.1/32, 10.2.2.2/32) then
>
> For a prefix list, I wonder if there is a problem with the matching clasue?
>
>
Other thing that comes to mind is removing the "as-set" from the aggregate route.
Just in case it is generated after the export-policy is applied and just happens to inherit attributes of contributing routes.
Just shooting in the dark.

adam










        Adam Vitkovsky
        IP Engineer

T:      0333 006 5936
E:      Adam.Vitkovsky at gamma.co.uk
W:      www.gamma.co.uk

This is an email from Gamma Telecom Ltd, trading as “Gamma”. The contents of this email are confidential to the ordinary user of the email address to which it was addressed. This email is not intended to create any legal relationship. No one else may place any reliance upon it, or copy or forward all or any of it in any form (unless otherwise notified). If you receive this email in error, please accept our apologies, we would be obliged if you would telephone our postmaster on +44 (0) 808 178 9652 or email postmaster at gamma.co.uk

Gamma Telecom Limited, a company incorporated in England and Wales, with limited liability, with registered number 04340834, and whose registered office is at 5 Fleet Place London EC4M 7RD and whose principal place of business is at Kings House, Kings Road West, Newbury, Berkshire, RG14 5BY.
---------------------------------------------------------------------------------------
 This email has been scanned for email related threats and delivered safely by Mimecast.
 For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------


More information about the cisco-nsp mailing list