Querying Used Ports
Function
This interface is used to query information about used ports.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/EdgeSystem/usedPort
Request header:
X-Auth-Token: auth_value
Request message body: None
Parameter Description
Parameter |
Description |
Value |
---|---|---|
device_ip |
IP address for logging in to a device. |
An IPv4 or IPv6 address |
auth_value |
Value of X-Auth-Token carried in Headers for authentication when the GET request is executed. |
You can obtain the value from the session created by using /redfish/v1/SessionService/Sessions. |
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1/EdgeSystem/usedPort
Request header:
X-Auth-Token: 6599174c38c36838737d9749179e1ee1
Request message body: None
Response:
{ "status": 200, "message": [ "1125", "22", "33", "36665", "443", "8880" ] }
Response code: 200
Output Description
Field |
Type |
Description |
---|---|---|
status |
Character string |
Response code returned |
message |
Array |
List of the ports used. |