Magic Transit on-demand
If you have access to the Magic Transit on-demand option, you can configure prefix advertisement from the IP Prefixes page in your Cloudflare account home or through 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. Dynamic advertisement (through the dashboard or API) does not support prefixes using BGP-controlled advertisements. Specify your preferred on-demand advertisement method during prefix onboarding.
To ensure smooth operation and simplify the advertisement process during an attack scenario, refer to Dynamic advertisement: Best practices.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark
-