Interestengly enough, you can use the combination "local-as no-prepend replace-as" to implement a for of "AS NATing" with BGP.
For example, if you have the following configuration
AS100--AS200--AS300
You may want to make AS100 thinking that it peers with AS300 and AS300 thinking that it peers with AS100. To accomplish this, AS300 should be configured with "local-as no-prepend replace-as 300" on the peering with AS100 and with "local-as no-prepend replace-as 100" on the peering with AS 300. Furthermore, if you implement MPLS or any other kind of tunneling in AS200, you may make it looking like AS200 does not even exist, and AS100/300 peer directly.
Petr Lapukhov, CCIE #16379 (R&S/Security/SP/Voice)
petr@internetworkexpert.com
InternetworkExpert Inc.
http://www.internetworkexpert.com