Read port mirroring configurations for a specified interface

Prev Next

Reads the port mirroring configurations for a specified interface.

API URL

GET https://<host>/wsapis/v2.0.0/config/network/portmirror/{name}

Payload

JSON containing interface name.

Example: '{"mirror_port": "pether5"}'

Sample curl request

curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/portmirror/A | python -m json.tool

Availability

This command is available on the following platforms:

  • Network Security

  • Helix Enterprise

Response

{
    "enable": true,
    "mirror_port": "pether4",
    "name": "A",
    "opmode": "tap"
}

Authentication

Standard WSAPI authentication

Response mime type

application/json