![]() This object is used to configure the target whose media is captured and sent to the monitoring server. | |
Exists on Condition | (/system/sbcPersonality/role !='msbc') and (/system/sbcPersonality/role !='mrfp') |
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
![]() ![]() | name | M | string | The name of the target. | |
![]() | gcid | M | uint32 | gcid that want to be tapped | |
![]() | monitorEndpoint | M | reference | The name of the endpoint to be used for recording. | |
![]() | monitorLeg | O | enumeration | both | choose which leg to tap, ingress, egress, all(4 legs in gw-gw) or both |
![]() | duration | O | uint32 | 0 | The duration (in seconds 1 - 65535) that the monitor target will be tapped |
![]() | state | O | enumeration | disabled | Administrative state of the monitor target. Changes may only be made while disabled and will only take effect when enabled next. |
REST API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/global/monitorTarget/{name} |
REST API: POST Example |
---|
curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/vnd.yang.data+xml' https://{SBX-SERVER}/api/config/global --data ' |
REST API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/global/monitorTarget/{name} |