[c-nsp] BGP query

Antoine Monnier mrantoinemonnier at gmail.com
Fri Mar 11 02:56:29 EST 2016

neighbor (ip) allowas-in
but be careful of routing loops

On Thu, Mar 10, 2016 at 5:38 PM, james list <jameslist72 at gmail.com> wrote:

> Dear experts
> I've a BGP question. I've a router peering with a customer of mine, plain
> EBGP no MPLS, see following chain as example:
> myroutera --ebgp-- myrouterB --ebgp-- myrouterC --ebgp-- mycustomerA
> --ebgp-- mycustomer_BGP_worldwide_network
> Between myrouterX I use EBGP with private AS, now I've mycustomerA router
> that in its BGP path is injecting to me a private AS already present in my
> network and I'm getting routes discarded for that at the end of the chain.
> I tried to use:
> - remove_private_as on myrouterC towards my network in egress but it seems
> that it's able to remove only if there are private as in the path and at
> the first not private stop removing;
> - as_override but it works only under a vrf environment and it's not the
> case
> I'm wondering if you see another solution, I'm thinking to a route-map that
> "match" as-path or network and then a "set" of AS path in the egress
> session among myrouterC and myrouterB,
> but I do not see it very scalable and manageble...
> Any idea if I'm correct or other solutions you see ?
> Cheers
> James
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/

More information about the cisco-nsp mailing list