Retrieve details of a BGP peer group for VIP
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
GET /network/ip/bgp/peer-groups/{uuid}
Introduced In: 9.7
Retrieves details of a BGP peer group for VIP.
Related ONTAP commands
-
network bgp peer-group show
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
uuid |
string |
path |
True |
UUID of the peer group |
fields |
array[string] |
query |
False |
Specify the fields to return. |
Response
Status: 200, Ok
Name | Type | Description |
---|---|---|
ipspace |
Either the UUID or name is supplied on input. |
|
local |
Information describing the local interface that is being used to peer with a router using BGP. On a POST operation, an existing BGP interface is used by specifying the interface, or create a new one by specifying the port and IP address. |
|
name |
string |
Name of the peer group |
peer |
Information describing the router to peer with |
|
state |
string |
State of the peer group |
uuid |
string |
UUID of the peer group |
Example response
{
"ipspace": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"name": "exchange",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
},
"local": {
"interface": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"ip": {
"address": "10.10.10.7"
},
"name": "lif1",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
},
"ip": {
"address": "10.10.10.7",
"netmask": "24"
},
"port": {
"_links": {
"self": {
"href": "/api/resourcelink"
}
},
"name": "e1b",
"node": {
"name": "node1"
},
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}
},
"name": "bgpv4peer",
"peer": {
"address": "10.10.10.7"
},
"state": "string",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}
Error
Status: Default, Error
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
href
Name | Type | Description |
---|---|---|
href |
string |
_links
Name | Type | Description |
---|---|---|
self |
ipspace
Either the UUID or name is supplied on input.
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
IPspace name |
uuid |
string |
IPspace UUID |
ip
IP information
Name | Type | Description |
---|---|---|
address |
string |
IPv4 or IPv6 address |
interface
Name | Type | Description |
---|---|---|
_links |
||
ip |
IP information |
|
name |
string |
The name of the interface. |
uuid |
string |
The UUID that uniquely identifies the interface. |
ip
IP information to create a new interface.
Name | Type | Description |
---|---|---|
address |
string |
IPv4 or IPv6 address |
netmask |
string |
Input as netmask length (16) or IPv4 mask (255.255.0.0). For IPv6, the default value is 64 with a valid range of 1 to 127. Output is always netmask length. |
node
Name | Type | Description |
---|---|---|
name |
string |
Name of node on which the port is located. |
port
Name | Type | Description |
---|---|---|
_links |
||
name |
string |
|
node |
||
uuid |
string |
local
Information describing the local interface that is being used to peer with a router using BGP. On a POST operation, an existing BGP interface is used by specifying the interface, or create a new one by specifying the port and IP address.
Name | Type | Description |
---|---|---|
interface |
||
ip |
IP information to create a new interface. |
|
port |
peer
Information describing the router to peer with
Name | Type | Description |
---|---|---|
address |
string |
Peer router address |
asn |
integer |
Autonomous system number of peer |
is_next_hop |
boolean |
Use peer address as next hop. |
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |