[c-nsp] [IOS XR] export to default-vrf

Catalin Petrescu cpmarvin at gmail.com
Thu Nov 14 09:34:08 EST 2013


Thx Oliver .

router bgp xx
address-family ipv4 unicast << this was missing

vrf TEST
  address-family ipv4 unicast
   redistribute connected metric 10
   redistribute static metric 10

 as the leak route is know via bgp ( in default vrf)  and not
connected/static ( as in vrf )

Regards,
Catalin


On Thu, Nov 14, 2013 at 11:07 AM, Oliver Boehmer (oboehmer) <
oboehmer at cisco.com> wrote:

>
> >Hi all,
> >
> >Did anyone get this to work on XR 4.3.2.
> >
> >vrf TEST
> > address-family ipv4 unicast
> >  export to default-vrf route-policy default_policy_pass_all
> >
> >route-policy default_policy_pass_all
> >  pass
> >end-policy
> >
> >[...]
> >RP/0/RSP1/CPU0:#sh route vrf TEST
> >....
> >B    99.99.99.1/32 [200/10] via 11.11.11.11 (nexthop in vrf default),
> >17:54:43
>
> is this an iBGP or an eBGP vrf route you are trying to export? Only
> external or locally originated routes are candidates to be exported from a
> VRF (anywhere, wether in global or into a different VRF), you need to do
> this on the originating PE. This rule is there to avoid loops, similar to
> standard BGP advertisement rule of only sending iBGP paths to external or
> RR-client peers.
>
>         oli
>
>


More information about the cisco-nsp mailing list