Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 38
Single dot1dtpportentries Partial Request Example, Response Example, Error Example, browser
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 38 highlights
"inDiscards": 1 } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Single dot1dtpportentries Partial Request Example curl -GET -d "port=0/1&fields=inFrames,outFrames" 10.10.10.1:8080/open/v1/dot1dtpportentries browser http://10.10.10.1:8080/open/v1/dot1dtpportentries?port= 0/1&fields=inFrames,outFrames Response Example { "dot1dTpPortEntries": [ { "port": "0/1", "maxInfo": 255, "inFrames": 13, "outFrames": 31, "inDiscards": 0 } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Error Example curl -GET -d "index=-99" 10.10.10.1:8080/open/v1/dot1dtpportentries browser 38 Rest API Reference
38
Rest API Reference
"inDiscards": 1
}
],
"status":
{
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
Single dot1dtpportentries Partial Request Example
curl -GET -d "port=0/1&fields=inFrames,outFrames"
10.10.10.1:8080/open/v1/dot1dtpportentries
browser
0/1&fields=inFrames,outFrames
Response Example
{
"dot1dTpPortEntries": [
{
"port": "0/1",
"maxInfo": 255,
"inFrames": 13,
"outFrames": 31,
"inDiscards": 0
}
],
"status": {
"response_code": 200,
"msg": "OK",
"more_info": "",
"error_code": 0
}
}
Error Example
curl -GET -d "index=-99"
10.10.10.1:8080/open/v1/dot1dtpportentries
browser