This URL gets IPv6 Setting (Drop/Pass/Scan IPv6) on the specified Sensor.
Resource URL
GET /sensor/<sensor_id>/ipv6
Request Parameters
| Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| sensor_id | Sensor Id | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
| Field Name | Description | Data Type |
|---|---|---|
| ipv6Mode | IPv6 Mode to be set. Can be "DROP_IPV_6_TRAFFICINLINE_ONLY", "PASS_IPV_6_TRAFFIC", "SCAN_IPV_6_TRAFFIC" | String |
Example
Request
GET https://%3CNSM_IP%3E/sdkapi/sensor/1001/ipv6
Response
{
"ipv6Mode": "SCAN_IPV_6_TRAFFIC"
}
Error Information
Following error codes are returned by this URL:
| S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
| 1 | 404 | 1106 | Invalid Sensor |
| 2 | 500 | 1124 | The Sensor is inactive |