06-21-2021 10:16 AM
How do you remove 4 byte Private BGP ASN as you advertise the prefixes to your ISP?
I already tried neighbor x.x.x.x remove-private-as command. This command only removes 2 byte private BGP ASN.
Within my environment, we use both 2 byte private ASN and 4 byte private ASN. On our border router to the ISP, we use the above command and it looks like it only works for 2 byte private ASN and not the 4 byte ones.
Thanks for the help.
Solved! Go to Solution.
06-21-2021 02:33 PM
Hello network2004@gmail.com ,
what is your border router ?
post a show version
as a workaround you could try to use an aggregate-address with summary-only option as an attempt to remove the 4 bytes private AS numbers from the AS path attribute. This might be possible or not in your scenario.
Hope to help
Giuseppe
06-21-2021 10:44 AM
network2004@gmail.com : Are you using asnotation for 4 Byte BGP number ?
06-21-2021 11:16 AM
I briefly read about it and I am not sure what asnotation does. Could you explain how to use asnotation? thanks.
06-21-2021 11:48 AM
network2004@gmail.com : there are two types of notation, ASplain and ASdot. check out and if you think my post helps, please vote
06-21-2021 12:24 PM
So neighbor x.x.x.x remove-private-as command removes 4 byte private BGP ASN ?
06-21-2021 02:33 PM
Hello network2004@gmail.com ,
what is your border router ?
post a show version
as a workaround you could try to use an aggregate-address with summary-only option as an attempt to remove the 4 bytes private AS numbers from the AS path attribute. This might be possible or not in your scenario.
Hope to help
Giuseppe
06-21-2021 07:09 PM
Thanks Giuseppe. Aggregate with summary only is also what I did in the lab too. I see that Juniper has the option to remove 4 byte private ASN and I just want to double check if Cisco has the same option too.
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