Service Manual

</bgp>
<neighbor>
<neighbor-router>11.1.1.2</neighbor-router>
<remote-as>200</remote-as>
<dmzlink-bw>false</dmzlink-bw>
<shutdown>false</shutdown>
</neighbor>
<neighbor>
<neighbor-router>11.1.1.3</neighbor-router>
<remote-as>200</remote-as>
<dmzlink-bw>false</dmzlink-bw>
<shutdown>false</shutdown>
</neighbor>
</bgp>
</collection
* Connection #0 to host 10.16.151.159 left intact
* Closing connection #0
The following conguration is to fetch the operational data for the BGP NLRI table via REST API (Router 1):
curl -u admin:admin http://10.16.151.159:8008/api/operational/mib/bgp4-v2/dellNetBgpM2NlriTable
\?deep
<collection xmlns:y="http://tail-f.com/ns/rest">
<dellNetBgpM2NlriTable>
<dellNetBgpM2PeerIndex>1</dellNetBgpM2PeerIndex?
<dellNetBgpM2NlriAfi>1</dellNetBgpM2NlriAfi>
<dellNetBgpM2NlriSafi>1</dellNetBgpM2NlriSafi>
<dellNetBgpM2NlriPrefix>5.0.0.0</dellNetBgpM2NlriPrefix>
<dellNetBgpM2NlriPrefixLen>24</dellNetBgpM2NlriPrefixLen>
<dellNetBgpM2NlriIndex>0</dellNetBgpM2NlriIndex>
<dellNetBgpM2NlriBest>true</dellNetBgpM2NlriBest>
<dellNetBgpM2NlriCalcLocalPref>100</dellNetBgpM2NlriCalcLocalPref>
<dellNetBgpM2PathAttrIndex>1860238788</dellNetBgpM2PathAttrIndex
<dellNetBgpM2NlriOpaqueType>none</dellNetBgpM2NlriOpaqueType>
<dellNetBgpM2RouteFlag>active</dellNetBgpM2RouteFlag>
</dellNetBgpM2NlriTable>
</collection>
* Connection #0 to host 10.16.151.159 left intact
* Closing connection #0
HTTP Status Error Codes
The REST API server returns the following HTTP status error codes.
Status Error
Codes
Description
200 OK The request was successfully completed. A response body returns containing a representation of the resource.
201 Created A resource is created and the new resource URI returns in the “Location” header.
204 No Content The request is successfully completed but no response body returns.
400 Bad Request The request could not be processed because it contains missing or invalid information (such as a validation error on
an input eld, a missing required value, and so on).
401 Unauthorized The request requires user authentication. The response includes a “WWW-Authenticate” header eld for basic
authentication.
403 Forbidden Access to the resource is denied by the server due to authorization rules.
404 Not Found The requested resource does not exist.
405 Method Not
Allowed
The HTTP method specied in the request (DELETE, GET, HEAD, PATCH, POST, PUT) is not supported for this
resource.
406 Not Acceptable The resource this request identies is not capable of generating the requested representation, specied in the
Accept” header or in the “format” query parameter.
REST API 135