Get BGP Config (v2.4)
GET/v2.4/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/bgpconfigs/:bgp_config_id
List a specific BGP configuration from NB.
Request
Path Parameters
ID of the tenant.
The ID of the site.
The ID of the element.
The ID of the BGP config.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The BGP config admin distance. The device sets the default Admin Distance of all learned prefixes to 20. The admin value should be in the range 1-255.
The advertisement interval of the BGP config. The advertisement interval should be between 0 - 300 seconds and the default is 1 second.
By default, graceful restart is Off. Change the default setting to On.
The BGP config hold time. The hold time should be between 3 - 600 seconds.
The BGP configuration ID.
List of IPv6 prefixes advertised to WAN.
The keep-alive time of the BGP config. The keep-alive time should be between 3 - 200 seconds.
The Local AS Number should be between 1 and 4294967295 or as A.B, where A and B are both numbers between 1 and 4294967295. If the number entered is an A.B format, the web interface displays the corresponding 32-bit conversion below the entered value. If the number entered is a 32-bit format, the web interface displays the corresponding A.B value below the entered value. The Local AS Number is mandatory.
The BGP config maximum paths. The max path value should be between 1 - 255. The default is 1.
The MD5 Secret should be between 1 and 32 characters. The default value is 0.
The BGP config multi hop limit. The multi-hop limit should be between 1 - 255 hops. The default is 1 hop.
ospf_redistribution OspfRedistribution[]
Info on OSPF distribution.
The route map ID.
The VRF context ID.
Possible values: [md5
, none
]
The authentication type of the BGP peer.
The peer retry time should be between 0 - 65535 seconds. The default is 120 seconds.
The type of prefix advertisement; Default, Unaggregated or Auto-aggregated.
The prefix advertises to LAN.
The prefix advertises to WAN.
The IP address of the ION device. Max size = 256.
The stale path time for the BGP config. The stalepath time should be between 1 - 3600 seconds. The default is 120 seconds.
{
"admin_distance": 0,
"adv_interval": 0,
"graceful_restart": true,
"hold_time": 0,
"id": "string",
"ipv6_prefixes_to_adv_to_wan": [
"string"
],
"keepalive_time": 0,
"local_as_num": "string",
"maximum_paths": 0,
"md5_secret": "string",
"multi_hop_limit": 0,
"ospf_redistribution": [
{
"route_map_id": "string",
"vrf_context_id": "string"
}
],
"peer_auth_type": "md5",
"peer_retry_time": 0,
"prefix_adv_type": "string",
"prefix_adv_type_to_lan": "string",
"prefixes_to_adv_to_wan": [
"string"
],
"router_id": "string",
"stalepath_time": 0
}