/system/mirrorsAsk AIpost https://switch-ip/rest/v10.16/system/mirrorsBody Paramsstring of stringsrequiredReference Resource: MirrorMirror references for sessions configured in this bridge.activebooleanThe intended state of the mirror session: active or inactive. The operation_state value contains the actual state in hardware (e.g. active, inactive, or error). When missing or false, the state is inactive.truefalsecommentstringlength ≤ 64Descriptive comment for the session.idint64required1 to 4294967295Reference Resource: MirrorThe Mirror Session ID.originstringenumOrigin of the Mirror, i.e., how the Mirror is provisioned: synthesized: Mirror has been dynamically synthesized by the system. static : Mirror is provisioned by the administrator via CLI or REST.synthesizedstaticAllowed:synthesizedstaticoutput_portstringReference Resource: PortEthernet port reference in Port used to transmit the mirror packets. There must be a valid Ethernet port for the session operation state to become active. The output port should be reserved exclusively for transmitting mirror packets for this session. It should not participate in any other network activity (e.g. Spanning Tree, LACP etc).select_dst_portarray of stringslength ≤ 4Reference Resource: PortSet of Ethernet port or LAG references in Port on which transmitted packets are selected to be mirrored.select_dst_portADD stringselect_src_portarray of stringslength ≤ 4Reference Resource: PortSet of Ethernet port or LAG references in Port on which received packets are selected to be mirrored.select_src_portADD stringsession_typestringenumMirror Session output/destination type. 'none' : session doesn't have defined destination 'port' : session mirrors to the physical interface 'cpu' : session mirrors to the internal CPU 'tunnel' : session mirrors into a tunnelnoneportcputunnelAllowed:noneportcputunneltunnelobjectTunnel parameters. Only considered if the session_type is 'tunnel'.tunnel objecttunnel_vrfstringReference Resource: VRFVRF to be used for reaching the tunnel destination IP address. If not specified, 'default' VRF will be used instead.Responses 201Created 400Bad Request 401Unauthorized 403Forbidden 404Not Found 415Unsupported Media Type 500Internal Server Error 501Not Implemented 503Service UnavailableUpdated over 4 years ago