Skip to main content

Get BGP Discovered Prefixes (v2.0)

GET 

https://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

Successful Operation

Schema
    discovered_ipv4_prefixes PrefixInfo[]

    The discovered IPv4 prefixes for the BGP peer.

  • Array [
  • as_pathint64[]

    The AS path of the IPv4/IPv6 prefix.

    networkstring

    The network of the IPv4/IPv6 prefix.

    nexthopstring

    The next-hop of the IPv4/IPv6 prefix.

  • ]
  • 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.

curl -L 'https://pan.dev/sdwan/v2.1/api/sites/:site_id/elements/:element_id/bgppeers/:config_id/discoveredprefixes' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://api.sase.paloaltonetworks.com
Parameters
— pathrequired
— pathrequired
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!