mirror-port

Enable a port to act as a mirror port and receive copies of another port’s traffic.

mirror-port Specification

Type Collection
Object Key(s) mirror-index
Collection Name mirror-port-list
Collection URI /axapi/v3/mirror-port/
Element Name mirror-port
Element URI /axapi/v3/mirror-port/{mirror-index}
Element Attributes mirror-port_attributes
Schema mirror-port schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/mirror-port/

mirror-port Attributes

Create List

POST

/axapi/v3/mirror-port/

mirror-port Attributes

Get Object

GET

/axapi/v3/mirror-port/{mirror-index}

mirror-port Attributes

Get List

GET

/axapi/v3/mirror-port/

mirror-port-list

Modify Object

POST

/axapi/v3/mirror-port/{mirror-index}

mirror-port Attributes

Replace Object

PUT

/axapi/v3/mirror-port/{mirror-index}

mirror-port Attributes

Replace List

PUT

/axapi/v3/mirror-port/

mirror-port-list

Delete Object

DELETE

/axapi/v3/mirror-port/{mirror-index}

mirror-port Attributes

mirror-port-list

mirror-port-list is JSON List of mirror-port Attributes

mirror-port-list : [

mirror-port Attributes

ethernet

Description: Ethernet port as mirror port (Port Value)

Type: number

Format: interface

mirror-dir

Description: ‘input’: Mirror incoming packets to this port; ‘output’: Mirror outgoing packets to this port; ‘both’: Mirror both incoming and outgoing packets to this port;

Type: string

Supported Values: input, output, both

Default: both

mirror-index

Description: Mirror index

Type: number

Range: 1-4

Required: Yes

uuid

Description: uuid of the object

Type: string