Wanguard icon

Wanguard

Interact with Wanguard DDoS Detection and Mitigation API

Actions160

BGP Announcement → Create

AI-generated

Summary

Create a new BGP announcement with specified IP prefix and BGP connector ID, optionally setting the next hop, expiration time, and a comment.

Inputs

  • Prefix (required) — Specify the IP prefix to announce in CIDR notation (e.g., 192.0.2.0/24).
  • BGP Connector ID (required) — Provide the identifier of the BGP connector to use for the announcement.
  • Next Hop — Optionally specify the BGP next hop IP address for the announcement.
  • Expiration — Optionally set the expiration time in seconds after which the announcement will expire.
  • Comment — Optionally add a comment or note associated with the BGP announcement.

Output shape

a single JSON object representing the created BGP announcement

The operation returns the created BGP announcement details as JSON. It does not paginate and returns an error object if creation fails and Continue On Fail option is enabled.

Examples

Example 1: Create a BGP announcement for prefix 192.0.2.0/24 on connector ID 123, with a next hop and comment

Set Prefix to '192.0.2.0/24', BGP Connector ID to 123, Next Hop to '192.0.2.1', and enter a Comment describing the announcement.

Discussion