[c-nsp] neighbor remove-private-as don't work on PE-CE

Ibrahim Abo Zaid ibrahim.abozaid at gmail.com
Wed Oct 6 11:28:02 EDT 2010


yes you got me now

but as you know , in route-map configuration i can only prepend to the
as-path no delete

i mean that prepend action adds a given number of occurrence of specific ASN
to the current AS-Path but it doesn't modify it
it can't be used to remove/delete some AS strings from it

so how i can edit AS-path for received updates ?

On Wed, Oct 6, 2010 at 5:16 PM, Heath Jones <hj1980 at gmail.com> wrote:

> > sorry i didn't make it clear
> > but i was using local-as between them and i want PE router to appear to
> CE
> > as it belongs to different AS (with private ASN) but the updates from PE
> to
> > CE contains real ASN number only not the private one
> > plz ignore the previous description
>
> There are 2 places where you see a neighboring eBGP router's AS number.
> - neighbor configuration on the local router
> - nlri's sent from the neighbor
>
> It sounds from this new description that you want the CE 65510 to
> neighbor with PE 65530,
> but updates from PE 65530 will show it's public AS number?
>
> According to BGP specification, the CE should receive nlri's
> containing 65530 in the path.
> You could configure filtering on the CE router to remove 65530 and
> prepend the real AS number.
> Does that help?
>


More information about the cisco-nsp mailing list