RADIUS Clients
The following table lists the properties that can be used in the body of a RADIUS client-related request and/or are provided in the response body. (In the "Optional" column, if a default value is applicable, it is listed in angle brackets (< >)).
Resource: RADIUS Clients
| Property Name | Type | Editable | Filter/Sort | Optional in Request/Response Body? | Description |
|---|---|---|---|---|---|
| guid | String | No | Neither | Optional on create only, but not on any subsequent uses | The unique identifier for this RADIUS client. |
| referenceName | String | Yes | Neither | No | The display name for this RADIUS client, must be unique |
| ipAddress | String | Yes | Neither | No | IP address of the RADIUS client. |
| enabled | Boolean | Yes | Neither | No (true by default) | If enabled, the client is available for use. If disabled, the client is not available for use. |
| sharedSecret | String | Yes | Neither | NO | The shared secret for this RADIUS client. |
| changeOfAuthority | <Object> Embedded | Yes | Neither | Yes | Change of Authority embedded object. If not present, COA has not been enabled; if present COA is enabled. |
| links | Link | No | No | No | A self reference href link is created. This link can be used in other API calls, such as within the "rule" section of a POST call to create a policy. |
Resource:ChangeOfAuthority
| Property Name | Type | Editable | Filter/Sort | Optional in Request/Response Body? | Description |
|---|---|---|---|---|---|
| port | Long | No | Neither | Optional on create only, but not on any subsequent uses | COA usually uses port 3799 in typical configurations and 2083 in RADSEC configurations. Some Cisco equipment uses port 1700. |
| macAddressFormat | Enum | Yes | Filter | No | COA MAC Address Format - MAC Addresses within attributes such as value of 'Calling-Station-Id' will be sent in this format. Enumeration values accepted are: |
| disconnectAttributes | List | Yes | Neither | Yes | A list of additional attributes to apply to radius configurations during the disconnect from the RADIUS client. Refer to Resource: Attribute. |
| portForwardList | List | Yes | Neither | Yes | This list should only be provided if port forwarding is required to reach the switches or controllers. By default, the system sends COA requests to the switch or controller on the default port (3799).You can enable this option by providing at least one value in the portForward list. Refer to the "Resource: portForward" table that follows. |
Resource:portForward
| Property Name | Type | Editable | Filter/Sort | Optional in Request/Response Body? | Description |
|---|---|---|---|---|---|
| nasIpAddress | String | Yes | Neither | No | The NAS Ip address for forwarding. |
| port | Long | Yes | Neither | No | The port number for forwarding |
| sharedSecret | String | Yes | Neither | No | The shared secret to use for this NAS IP. |
RADIUS Clients URIs and Actions
The following table indicates the URIs that you can append to the root URI, along with the actions you can take, and possible return codes you can receive.
Example of Using GET to Retrieve RADIUS Client Information
This example demonstrates how to obtain information about all RADIUS clients in your Cloudpath system by using the REST API GET call.
This example uses the following URI:
https://Jeff243.cloudpath.net/admin/publicApi/radius/clients/
where https://Jeff243.cloudpath.net/admin/publicApi is the root URI of the Cloudpath system being used (must include https, as shown).
The following table shows the required request headers for this URI example, with an example value of an active token that must be pasted into the Authorization header value:
Request Headers
| Key | Value |
|---|---|
| Content-type | application/json |
| Authorization | eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJqZWZmLnJob2RpZUBjb21tc2NvcGUuY29tIiwicm9sZVBrIjoiMjEwMDAiLCJhY2NvdW50QWRtaW5QayI6IjIiLCJhcGlLZXkiOiJaV2NjTGpQZUdZMGUiLCJpYXQiOjE1NzU1NzUxNTcsImV4cCI6MTU3NTU3NTQ1N30.2q4KTyDUevkAAz7mJyp529Be1-ip3EC8P06Xarmz5ao |
No request body is needed for this request. All the necessary information is in the URI.
Use the GET action to send the request.Once the request is sent, you will receive a "Status: 200 OK" if the GET is successful. The example response body below lists information for the specified RADIUS client.
{
"page": {
"page": 1,
"pageSize": 1,
"totalCount": 1
},
"contents": [
{
"guid": "1",
"referenceName": "Rad Client 12",
"ipAddress": "10.0.0.1",
"enabled": true,
"sharedSecret": "testtest",
"changeOfAuthority": {
"port": 3799,
"macAddressFormat": "COLON_6_GROUPS",
"disconnectAttributes": [],
"portForwardList": []
},
"links": [
{
"rel": "self",
"href": "https://jeff243.cloudpath.net/admin/publicApi/radius/clients/1",
"hreflang": null,
"media": null,
"title": null,
"type": null,
"deprecation": null
}
]
}
]
}