Get BGP Discovered Prefixes (v2.0)
GEThttps://api.sase.paloaltonetworks.com/sdwan/v2.1/api/sites/:site_id/elements/:element_id/bgppeers/:config_id/discoveredprefixes
List all the BGP discovered prefix information.
Request
Path Parameters
site_id stringrequired
The ID of the site.
element_id stringrequired
The ID of the element.
config_id stringrequired
The ID of the BGP peer config.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (auto)
Schema
discovered_ipv4_prefixes PrefixInfo[]
discovered_ipv4_prefixes_countint32
The discovered IPv4 prefixes count for the BGP peer.
idstring
The ID of the BGP peer.
vrf_context_idstring
The VRF (Virtual Routing and Forwarding) ID.
{
"discovered_ipv4_prefixes": [
{
"as_path": [
0
],
"network": "string",
"nexthop": "string"
}
],
"discovered_ipv4_prefixes_count": 0,
"id": "string",
"vrf_context_id": "string"
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://pan.dev/sdwan/v2.1/api/sites/:site_id/elements/:element_id/bgppeers/:config_id/discoveredprefixes' \
-H 'Accept: application/json'
ResponseClear