Create port mirroring configuration

Prev Next

Creates port mirroring based on the provided input.

API URL

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

Payload

JSON array containing names of the qualified ports.

Example: {"name":"B", "mirror_port":"pether4"}

Sample curl request

curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/portmirror -d '{"name":"A", "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 configured",
  "suggestedHttpCode": 201
}

Authentication

Standard WSAPI authentication

Response mime type

application/json