Configure dynamic advertisement
Before you start (Magic Transit customers only)
After enabling the prefix advertisement or advertising a new prefix, do the following:
- Ensure that the traffic is being successfully routed via the Cloudflare network. Check the Network Analytics dashboard or to analyze the path IP packets are taking.
- Re-enable Advanced TCP Protection.
Configure dynamic advertisement via the dashboard
To configure IP prefix assignment from your Cloudflare account home, use the Status drop-down list in the IP Prefixes dialog, as outlined below.
- Log in to your Cloudflare dashboard.
- On Account Home, select IP Prefixes.
- To edit a prefix, click the Edit at the end of the entry.
- From Edit IP Prefixes, under Status, select Advertised or Withdrawn.
- Click Save to commit your changes.
After saving your changes, it takes between 2 to 7 minutes to enable advertisement and approximately 15 minutes to disable (withdraw) advertisement.
Configure dynamic advertisement via the API
Most dynamic advertisement operations require that you supply the Cloudflare ID for any prefix you want to access with the Cloudflare API. The following section outlines how to obtain Prefix IDs.
Obtain Prefix IDs
You can obtain Prefix IDs from the IP Prefixes page in your Cloudflare Account Home.
- Click the expander for the entry whose Prefix ID you want to obtain.
- To obtain the Prefix ID, refer to the API Tag value. To add the value to your clipboard, click Copy.