- Home
- API Enriched
- Network
- operate
- Show BGP Peer Info.
Show BGP Peer Info.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/operate/namespaces/example/sites/example/ver/bgp_peers';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/operate/namespaces/example/sites/example/ver/bgp_peers \ --header 'Authorization: <Authorization>'Show BGP Peer information.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace Namespace for which the request is sent (system)
Site Name Name of the site.
Responses
Section titled “Responses”A successful response.
List of BGP peers and their status from all ver instances in the site.
object
Peer Status information from each ver instance.
List of BGP peers and their status from a ver instance.
object
Host name of VER instance.
Peer Status information of the ver.
Most recently observed status of the BGP Peering session.
object
Number of prefixes advertised to the peer.
Number of times the connection moved from Established state to a non Established state.
Name of the interface through which peering is being done.
Local address used by the VER to connect to the peer.
object
object
IPv4 Address in string form with dot-decimal notation.
object
IPv6 Address in form of string. IPv6 address must be specified as hexadecimal numbers separated by ’:’ The address can be compacted by suppressing zeros e.g. ‘2001:db8:0:0:0:0:2:1’ becomes ‘2001:db8::2:1’ or ‘2001:db8:0:0:0:2:0:0’ becomes ‘2001:db8::2::’
Autonomous System Number (ASN) of the Peer.
Port used by the Peer.
Router ID of the peer.
Number of prefixes received from the peer.
Timestamp at which last state change to Established state or to not Established state happened.
object
Timestamp at which last BFD state change happened.
Example
{ "ver": [ { "peer": [ { "protocol_status": "Unknown", "up_down": "BGP_PEER_DOWN", "bfd_status": { "state": "BFD_PEER_UNKNOWN" } } ] } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example