Magic Transit on-demand
Customers with access to the Magic Transit on-demand option can configure prefix advertisement from the IP Prefixes page in their Cloudflare account home or via the Cloudflare API.
A common workflow is to enable prefix advertisement during an attack so that you can take advantage of Cloudflare protection and then disable advertisement once the incident is resolved. Prefixes using BGP-controlled advertisements cannot be used in conjunction with dynamic advertisement (via dashboard/API). Please specify your preferred on-demand advertisement method during the prefix onboarding.
To ensure smooth operation in general and simplify the advertisement process during an attack scenario, refer to Dynamic advertisement: Best practices.