Magic Transit customers can now configure AS prepending on their BYOIP prefixes advertised at the Cloudflare edge. This allows for smoother traffic migration and minimizes packet loss when changing providers.
AS prepending makes the Cloudflare route less preferred by increasing the AS path length. You can use this to gradually shift traffic away from Cloudflare before withdrawing a prefix, avoiding abrupt routing changes.
Prepending can be configured via the API or through BGP community values when peering with the Magic Transit routing table. For more information, refer to Advertise prefixes.
Source: Cloudflare

![Power Pages - Power Pages version 9.8.5.x Early Upgrade Release [MC1317738] 2 pexels cup of couple 7657215](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-cup-of-couple-7657215-150x150.webp)

![Microsoft Purview | Data Security Investigations: Proactive AI insights in Data Security Posture Management [MC1317196] 4 pexels apasaric 3310691](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-apasaric-3310691-150x150.webp)
![Microsoft Copilot Notebooks: Introducing Infographics [MC1317195] 5 pexels dom j 7304 310436](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-dom-j-7304-310436-150x150.webp)
