REST API Method: PUT /rest/portmirror/{identifier}

Creates a Port mirror config given a specific ID.

URL:

https://192.168.0.111/rest/portmirror/{identifier}

HTTP Method

PUT

Requires Authentication:

true

Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
PMSrcPortYesNostringnone20 - Max Length Specifies the source interface to be used for mirroring
PMDestPortYesNostringnone20 - Max Length Specifies the port on which the mirrored packets are received.
DirectionNoNoEnum2Possible values:
  • 0 - TRANSMIT
  • 1 - RECEIVE
  • 2 - BOTH
Specifies direction of packets with respect to source port to be mirrored. The direction can be to monitor transmitted packets, received packets or both.

  • No labels