Dell N3200-ON Networking N-Series Switches RESTful API User Guide version 6.8. - Page 50
Forwarding State and Port Role., Ancillary Single Request Example, Response Example
View all Dell N3200-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 50 highlights
"error_code": 0 } } Ancillary Single Request Example An example using an ancillary request parameter to determine Port Forwarding State and Port Role. curl -GET -d "interface=0/10&mstId=1&fields= intfPortFwdState,intfPortRole" 10.10.10.1:8080/open/v1/dot1sinterfaces browser http://10.10.10.1:8080/open/v1/dot1sinterfaces?interface= 0/10&mstId=0&fields=intfPortFwdState,intfPortRole Response Example { "dot1intfs": [ { "interface": "0/10", "mstId": 0, "intfPortFwdState": "disabled", "intfPortRole": "disabled" } ], "status": { "response_code": 200, "msg": "OK", "more_info": "", "error_code": 0 } } Error Request Example The following example shows the request with an invalid parameter. curl -GET "vlanId=1" 10.10.10.1:8080/open/v1/dot1sinterfaces browser http://10.10.10.1:8080/open/v1/dot1sinterfaces?vlanId=1 50 Rest API Reference