Get BGP Discovered Prefix Information (v2.2)
GET/v2.2/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/bgppeers/:bgp_peer_config_id/discoveredprefixes
Get BGP discovered prefix information.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
site_id stringrequired
The ID of the site.
element_id stringrequired
The ID of the element.
bgp_peer_config_id stringrequired
The BGP peer config ID.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
discovered_ipv4_prefixes PrefixInfo[]
The discovered IPv4 prefixes for the BGP peer.
as_path int64[]
The AS path of the IPv4/IPv6 prefix.
network string
The network of the IPv4/IPv6 prefix.
nexthop string
The next-hop of the IPv4/IPv6 prefix.
discovered_ipv4_prefixes_count int32
The discovered IPv4 prefixes count for the BGP peer.
discovered_ipv6_prefixes PrefixInfo[]
The discovered IPv6 prefixes for the BGP peer.
as_path int64[]
The AS path of the IPv4/IPv6 prefix.
network string
The network of the IPv4/IPv6 prefix.
nexthop string
The next-hop of the IPv4/IPv6 prefix.
discovered_ipv6_prefixes_count int32
The discovered IPv6 prefixes count for the BGP peer.
id string
The ID of the BGP peer.
vrf_context_id string
The VRF (Virtual Routing and Forwarding) ID.
{
"discovered_ipv4_prefixes": [
{
"as_path": [
0
],
"network": "string",
"nexthop": "string"
}
],
"discovered_ipv4_prefixes_count": 0,
"discovered_ipv6_prefixes": [
{
"as_path": [
0
],
"network": "string",
"nexthop": "string"
}
],
"discovered_ipv6_prefixes_count": 0,
"id": "string",
"vrf_context_id": "string"
}
Loading...