Port schema contains properties that describe a port of a switch, controller, chassis, or any other device that could be connected to another entity.NOTE: Performing GET method on the above URI with an invalid switch ID may return a 200 HTTP status code.
username:passwordAuthorization: Basic *****************X-Auth-Token: ********************curl --location '/redfish/v1/Fabrics//Switches//Ports/' \
--header 'Authorization: Basic <encoded-value>'{
"@odata.context": "/redfish/v1/$metadata#Port.Port",
"@odata.etag": "\"1739030982\"",
"@odata.id": "/redfish/v1/Fabrics/PCIe/Switches/P2PBridge.Slot.21/Ports/P2PBridge.Slot.21-2",
"@odata.type": "#Port.v1_12_0.Port",
"CurrentSpeedGbps": null,
"Description": "Advanced Micro Devices, Inc. [AMD/ATI]",
"Id": "P2PBridge.Slot.21-2",
"MaxSpeedGbps": null,
"Name": "P2PBridge.Slot.21-2",
"PortId": "188-0-0",
"PortProtocol": "PCIe",
"PortType": null,
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
},
"Width": 0
}