07-16-2011 08:19 AM - edited 03-04-2019 01:00 PM
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
Solved! Go to Solution.
07-16-2011 09:35 AM
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
07-16-2011 09:35 AM
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
07-16-2011 09:58 AM
Thanks....that did it.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide