Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 41
STP Config Request Example, Response Example, Error Request Example, Table 4
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 41 highlights
Table 4-21. dot1sconfig READ Internal Error Codes Error Code 0 -21 -22 -26 Code Name OPEN_E_NONE OPEN_E_INTERNAL OPEN_E_PARAM OPEN_E_FAIL Description Success. Internal error. Invalid parameter. Operation Fail. STP Config Request Example The following example shows STP parameters retrieval. curl -GET 10.10.10.1:8080/open/v1/dot1sconfig browser http://10.10.10.1:8080/open/v1/dot1sconfig Response Example { "dot1sconfig": { "mode": "enabled", "forceVersion": "802.1s", "configName": "20-0C-C8-4D-95-D8", "configRevision": 0, "bpduGuardMode": "disabled", "bpduFilterMode": "disabled", } "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Error Request Example The following example shows the request with invalid parameter. curl -GET "vlanId=1" 10.10.10.1:8080/open/v1/dot1sconfig Rest API Reference 41