/config/net/ptp/interface/{if}/transport

The network transport to use for the interface. Possible values are:

  • UDPv4: UDP over IPv4.
  • UDPv6: UDP over IPv6.
  • L2: Layer-2 transport (e.g., Ethernet).

Get /config/net/ptp/interface/{if}/transport

SecurityApiKey
Request
path Parameters
if
required
string

The name of a network interface to use for PTP.

Example: eth0
Responses
200

Normal response.

401

Unauthorized response.

get/config/net/ptp/interface/{if}/transport
Request samples
Response samples
application/json
{
  • "result": "L2",
  • "error": "Error message (present if an error occurred)."
}

Replace /config/net/ptp/interface/{if}/transport

SecurityApiKey
Request
path Parameters
if
required
string

The name of a network interface to use for PTP.

Example: eth0
Request Body schema: application/json
string (configNetPtpInterfaceIfTransport)

The network transport to use for the interface. Possible values are:

  • UDPv4: UDP over IPv4.
  • UDPv6: UDP over IPv6.
  • L2: Layer-2 transport (e.g., Ethernet).
Enum: "L2" "UDPv4" "UDPv6"
Responses
200

Normal response.

401

Unauthorized response.

put/config/net/ptp/interface/{if}/transport
Request samples
application/json
"L2"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/net/ptp/interface/{if}/transport

SecurityApiKey
Request
path Parameters
if
required
string

The name of a network interface to use for PTP.

Example: eth0
Request Body schema: application/json
string (configNetPtpInterfaceIfTransport)

The network transport to use for the interface. Possible values are:

  • UDPv4: UDP over IPv4.
  • UDPv6: UDP over IPv6.
  • L2: Layer-2 transport (e.g., Ethernet).
Enum: "L2" "UDPv4" "UDPv6"
Responses
200

Normal response.

401

Unauthorized response.

post/config/net/ptp/interface/{if}/transport
Request samples
application/json
"L2"
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/net/ptp/interface/{if}/transport

Reset to UDPv4.

SecurityApiKey
Request
path Parameters
if
required
string

The name of a network interface to use for PTP.

Example: eth0
Responses
200

Normal response.

401

Unauthorized response.

delete/config/net/ptp/interface/{if}/transport
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}