Fortinet Document Library

Version:

Version:

Version:


Table of Contents

Administration Guide

Download PDF
Copy Link

Specific network port

Display a specific network port.

URL = https://<servername>:8443/api/host/adapter/{dbid}/port

URL = https://<servername>:8443/api/network/device/{dbid}/ports

URL = https://<servername>:8443/api/network/device/port/{dbid}

Return value

Type

Description

Description

String

Port Description

Device ID

Integer

ID that uniquely identifies the network device.

Hosts Connected

Boolean

True = Host is connected.

ID

Integer

ID that uniquely identifies the port.

MAC Address

String

MAC Address of the port.

Name

String

Port name

Example XML format:

<networkPortResult>

<status>success</status>

<networkPorts>

<description>Stk Master 1/7</description>

<deviceId>943</deviceId>

<hostsConnected>true</hostsConnected>

<id>944</id>

<macAddress>00:04:96:1F:89:C4</macAddress>

<name>1007</name>

</networkPorts>

</networkPortResult>

Specific network port

Display a specific network port.

URL = https://<servername>:8443/api/host/adapter/{dbid}/port

URL = https://<servername>:8443/api/network/device/{dbid}/ports

URL = https://<servername>:8443/api/network/device/port/{dbid}

Return value

Type

Description

Description

String

Port Description

Device ID

Integer

ID that uniquely identifies the network device.

Hosts Connected

Boolean

True = Host is connected.

ID

Integer

ID that uniquely identifies the port.

MAC Address

String

MAC Address of the port.

Name

String

Port name

Example XML format:

<networkPortResult>

<status>success</status>

<networkPorts>

<description>Stk Master 1/7</description>

<deviceId>943</deviceId>

<hostsConnected>true</hostsConnected>

<id>944</id>

<macAddress>00:04:96:1F:89:C4</macAddress>

<name>1007</name>

</networkPorts>

</networkPortResult>