BGP Replace All Private ASNs?


#1

Hello,

I was wondering if there is a way to remove all private ASN’s and replace all occurences of them with the configured local-as that is presented to the neighbor?

Something like:
remove-private-as
remove-private

Looking at replacing one of my devices with an x64 system running VyOS as it appears that VyOS can do everything else I would need it to.

Thanks.


#2

vyos has set protocols bgp 1234 neighbor 1.1.1.1 remove-private-as
I have not tested it