The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

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