Read port mirroring configurations for all interfaces

Prev Next

Reads the port mirroring configurations for all available interfaces.

API URL

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

Sample curl request

curl -gsk -H "$c" https://172.16.177.50/wsapis/v2.0.0/config/network/portmirror | 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"
    },
    {
        "enable": false,
        "mirror_port": "",
        "name": "B",
        "opmode": "tap"
    }
]

Authentication

Standard WSAPI authentication

Response mime type

application/json