# BGP

{% hint style="warning" %}
**🚧Prior to creating a BGP plugin, you will need to configure at least 1 device with a unicast BGP neighbor.**
{% endhint %}

## Prerequisites <a href="#prerequisites" id="prerequisites"></a>

Before configuring the BGP Response Integration in Netography, you will need to add a BGP unicast neighbor. Refer to vendor specific documentation and the product you are using for configuration. Below are example links to different vendor BGP configuration documentation:

* [Cisco](https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/iproute_bgp/configuration/xe-16/irg-xe-16-book/bgp-dynamic-neighbors.html)
* [Juniper](https://www.juniper.net/documentation/us/en/software/junos/bgp/topics/ref/statement/neighbor-edit-protocols-bgp.html)
* [Arista](https://arista.my.site.com/AristaCommunity/s/article/bgp-peering-configuration-examples-for-service-providers)

## Netography Portal Steps <a href="#netography-portal-steps" id="netography-portal-steps"></a>

In **Settings > Response Integrations**, click **Add Integration**. Select **BGP**

![](/files/eQFiHnwCcz2iiDGA9w3U)

### Configuration <a href="#configuration" id="configuration"></a>

The following fields are specific to the BGP integration.

| Field              | Required | Description                                                                                       | Examples    |
| ------------------ | -------- | ------------------------------------------------------------------------------------------------- | ----------- |
| `Next Hop`         | yes      |                                                                                                   | 12.12.12.12 |
| `Neighbors`        | yes      | IPv4/v6 unicast BGP neighbors configured in the Netography Portal.                                |             |
| `Communities`      | yes      | One or many BGP communities.                                                                      | 3232:32     |
| `Local Preference` | yes      | Used to choose the exit path for an autonomous system. Default 100                                | 100         |
| `Factors`          | yes      |                                                                                                   | srcip       |
| `Expiration`       |          | Number of seconds the blocklist will remain active                                                | 3600        |
| `Max`              |          | Limit on number of blocks                                                                         | 1000        |
| `Allow List`       |          | One or many Allow Lists configured in the Netography Portal, or a List of IP or IP/CIDR addresses |             |
| `Aggregate`        |          | Aggregate IP addresses by mask length                                                             |             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fusion.vectra.ai/automate-responses/configuring-response-integrations/bgp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
