HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

/system/stp_instances/{STP_Instance.instance_type},{STP_Instance.stp_instance_id}/stp_instance_ports/{STP_Instance_Port.port}

Path Params
string
enum
required

Reference Resource: STP_Instance
Identifies, which specific STP protocol the instance is associated with.

Allowed:
string
required

Reference Resource: STP_Instance
Unique identifier of the STP Instance.

string
required

Reference Resource: STP_Instance_Port
Specifies the port for the STP instance.

Body Params
integer
0 to 200000000

The cost to reach root port.

integer
0 to 15

The priority value used along with the switch MAC address to determine which device is root. Configured as a multiple of 16. The lower a priority value, the higher the priority. For LAGs, the default is 4. For other interfaces the default is 8

Responses
204

No Content

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Unsupported Media Type

500

Internal Server Error

501

Not Implemented

503

Service Unavailable

Language
Response
Click Try It! to start a request and see the response here!