Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 68
Single FDB Entry Partial Request Example, Response Example, Error Example
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 68 highlights
Single FDB Entry Partial Request Example curl -GET -d "mac=00:11:22:33:44:55&vlanId=1" 10.10.10.1:8080/open/v1/fdbs browser http://10.10.10.1:8080/open/v1/fdbs?mac= 00:11:22:33:44:55&vlanId=1 Response Example { "fdbEntries": [ { "interface": "1/1", "vlanId": 1, "mac": "00:11:22:33:44:55", "entryType": "learned" } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Error Example curl -GET -d "x=-99" 10.10.10.1:8080/open/v1/fdbs browser http://10.10.10.1:8080/open/v1/fdbs?method=get&x=-99 Response Example Returns an appropriate status message. { "status": { "response_code": 400, "msg": "Bad Request", 68 Rest API Reference
68
Rest API Reference
Single FDB Entry Partial Request Example
curl -GET -d "mac=00:11:22:33:44:55&vlanId=1"
10.10.10.1:8080/open/v1/fdbs
browser
00:11:22:33:44:55&vlanId=1
Response Example
{
"fdbEntries": [
{
"interface": "1/1",
"vlanId": 1,
"mac": "00:11:22:33:44:55",
"entryType": "learned"
}
],
"status":
{
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
Error Example
curl -GET -d "x=-99" 10.10.10.1:8080/open/v1/fdbs
browser
Response Example
Returns an appropriate status message.
{
"status":
{
"response_code": 400,
"msg": "Bad Request",