InlinePortMirroringSession1

InlinePortMirroringSession1
InlinePortMirroringSession1
JSON Example
{
    "direction": "string",
    "encapsulation_vlan_id": 0,
    "mirror_destination": {
        "resource_type": "string"
    },
    "mirror_sources": [
        "MirrorSource Object"
    ],
    "port_mirroring_filters": [
        "PortMirroringFilter Object"
    ],
    "preserve_original_vlan": false,
    "session_type": "string",
    "snap_length": 0,
    "tcp_ip_stack": "string"
}
string
direction
Required

Port mirroring session direction

Possible values are : INGRESS, EGRESS, BIDIRECTIONAL,
integer As int64 As int64
encapsulation_vlan_id
Optional

Only for Remote SPAN Port Mirror.

mirror_destination
Required

mirror_destination

mirror_sources
Required
Constraints: minItems: 1

Mirror sources

port_mirroring_filters
Optional

An array of 5-tuples used to filter packets for the mirror session, if not provided, all the packets will be mirrored.

boolean
preserve_original_vlan
Optional

Only for Remote SPAN Port Mirror. Whether to preserve original VLAN.

string
session_type
Optional
Constraints: default: LocalPortMirrorSession

If this property is unset, this session will be treated as LocalPortMirrorSession.

Possible values are : LogicalPortMirrorSession, UplinkPortMirrorSession, RspanSrcMirrorSession, RspanDstMirrorSession, LocalPortMirrorSession, LogicalLocalPortMirrorSession, L3PortMirrorSession,
integer As int64 As int64
snap_length
Optional
Constraints: minimum: 60 maximum: 65535

If this property is set, the packet will be truncated to the provided length. If this property is unset, entire packet will be mirrored.

string
tcp_ip_stack
Optional

If set to mirror, mirror packet will be sent via dedicated mirror stack to destination; If set to default, mirror packet will be sent via default stack; So far, the value mirror can only be chosen in L3PortMirrorSession.

Possible values are : Default, Mirror,