[alcatel-nsp] VPRN with BGP route redistribution problem

Dan Snyder sliplever at gmail.com
Tue Sep 28 22:31:36 EDT 2010


You need a router policy to do this.

configure router policy-options
begin
policy-statement "MPbgp-to-bgp"
                entry 10
                    from
                        protocol bgp-vpn
                    exit
                    to
                        protocol bgp
                    exit
                    action accept
                    exit
                exit
            exit
commit



configure service vprn 10
bgp
group "ce1"
export "MPbgp-to-bgp"

HTH,
Dan



On Tue, Sep 28, 2010 at 10:16 PM, Martin Triller <martrinet at gmail.com>wrote:

> I'm trying to get a L3VPN working and use BGP as the PE-CE protocol.
> Somehow I can't get the routes which I learn over a global L3VPN BGP session
> to be announced to the CE over BGP. Must be missing something in my
> configuration
>
> The routes are learned correctly from the other side PE and they are in my
> local routing table (I can see them with "SHOW ROUTER xxxxx ROUTE-TABLE"):
>
> Route Table (Service: xxxxx)
> ======================================================
> Dest Prefix                                   Type    Proto    Age
> Pref
>        Next Hop[Interface Name]
> Metric
>
> -------------------------------------------------------------------------------
> [...]
> y.y.y.y/24                                      Remote  BGP VPN
> 00h00m45s   170
>        z.z.z.z (tunneled)                                         0
> [...]
>
> However, the route is not announced to my direct BGP peer over the direct
> session.
>
> Here is my vprn configuration:
>
>     service
>         vprn 10 customer 1 create
>             autonomous-system 11111
>             route-distinguisher 11111:22222
>             auto-bind ldp
>             vrf-target target:11111:22222
>             interface "ce0-vlan801"  create
>                 address x.x.x.1/24
>                 sap 8/1/1:801 create
>                 exit
>             exit
>             bgp
>                 router-id x.x.x.1
>                 group "ce1"
>                     type external
>                     peer-as 22222
>                     neighbor x.x.x.2
>                     exit
>                 exit
>             exit
>             no shutdown
>         exit
>     exit
>
> What do I miss? Do I need some import of the routes from the vrf table into
> bgp? Tried a few versions, but failed on all of them. BGP is all up and fine
> and all the learned routes from the CE are imported and sent to the other
> side just fine, just the routes learned over the vpn bgp session are only
> making it into the local service routing table and are not announced to the
> CE router.
>
> Any hints?
>
>
> _______________________________________________
> alcatel-nsp mailing list
> alcatel-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/alcatel-nsp
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/alcatel-nsp/attachments/20100928/3663d1f5/attachment-0001.html>


More information about the alcatel-nsp mailing list