cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1544
Views
0
Helpful
2
Replies

Remove Private AS not working

CHARLES HEUPEL
Level 1
Level 1

I'm having an issue with the remove-private-as community.  We have a Customer who is dual homed to two of our routers and they are using a Private AS number.  When configuring my bgp session to them, I added the neighbor x.x.x.x remove-private-as but it doesn't seem to be working.  I know the router will not remove the private as if there is a mixture of public and private AS numbers but I don't believe we have that issue.  Any ideas on why we're not removing the AS number?  Diagram is attached and configuration is below.

RTR-1

router bgp "public-as"

neighbor x.x.x.x remote-as 65512

!

address-family ipv4 unicast

neighbor x.x.x.x activate

neighbor x.x.x.x default-originate

neighbor x.x.x.x  remove-private-as

!

RTR-2

router bgp "public-as"

neighbor x.x.x.x remote-as 65512

!

address-family ipv4 unicast

neighbor x.x.x.x activate

neighbor x.x.x.x default-originate

neighbor x.x.x.x  remove-private-as

1 Accepted Solution

Accepted Solutions

Hello Charles,

Looking at you toplogy, and the config, you are applying the removel towards the private ebgp peers,

AS65535                    AS10                                AS20

As path (Private) ← remove As path (private) ---- AS path only

It should be:

AS65535                    AS10                                 AS20

As path (Private) --- remove As path (private) → AS path only

Also in your diagram, you have ISP IBGP peers which wont work, they need to be towards ebgp peers.

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

2 Replies 2

Hello Charles,

Looking at you toplogy, and the config, you are applying the removel towards the private ebgp peers,

AS65535                    AS10                                AS20

As path (Private) ← remove As path (private) ---- AS path only

It should be:

AS65535                    AS10                                 AS20

As path (Private) --- remove As path (private) → AS path only

Also in your diagram, you have ISP IBGP peers which wont work, they need to be towards ebgp peers.

res

Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks....that did it.