This URL retrieves the radius configuration for the domain.
Resource URL
GET /domain/<domain_id>/remoteaccess/radius
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Domain id | Number | Yes |
Response Parameters
Following fields are returned.
Field Name | Description | Data Type |
|---|---|---|
| Inherit settings from parent | Boolean |
| Enable radius configuration flag | Boolean |
| Primary radius server | Object |
| Seconday radius server | Object |
| Syslog facility | String |
| Attack severity to syslog priority mapping | Object |
| Message format | String |
| What attacks to log | Object |
Details of primaryRadiusServer and secondayRadiusServer:
Field Name | Description | Data Type |
|---|---|---|
| IP address | String |
| Shared secret key | String |
| Authentication port | Number |
| Connection time out in seconds | Number |
| Enable accounting flag | Boolean |
| Accounting port | Number |
Example
Request
GET https://<NSM_IP>/sdkapi/domain/0/remoteaccess/radius
Response
{
"inheritSettings": false,
"enableRadiusCLIAuthentication": true,
"primaryRadiusServer":
{
"serverIpAddr": "1.1.1.3",
"sharedSecret": "adsadasl3232",
"authenticationPort": 1812,
"connectionTimeoutInSeconds": 6,
"enableAccounting": false,
"accountingPort": 1813
},
"secondayRadiusServer":
{
"serverIpAddr": "1.1.1.5",
"sharedSecret": "dssdfksdnfsdf",
"authenticationPort": 1812,
"connectionTimeoutInSeconds": 6,
"enableAccounting": false,
"accountingPort": 1813
}
}Error Information
Following error code is returned by this URL:
No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 404 | 1105 | Invalid domain |