BGP Replace All Private ASNs?


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:

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.


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