Update port mirroring configuration

Prev Next

Updates the port mirroring on all interfaces.

API URL

POST https://<host>/wsapis/v2.0.0/config/network/portmirror/{name} -d <payload>

Payload

JSON array containing read-only fields.

Example: {"mirror_port":"pether6"}

Sample curl request

curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/portmirror/A -d '{"mirror_port":"pether5"}' -H 'content-type:application/json'

Availability

This command is available on the following platforms:

  • Network Security

  • Helix Enterprise

Response

{
  "error": true,
  "message": "Port Mirroring updated",
  "suggestedHttpCode": 200
}

Authentication

Standard WSAPI authentication