mirror-port¶
Enable a port to act as Mirror Port
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 | ||
Create List | POST | /axapi/v3/mirror-port | ||
Get Object | GET | /axapi/v3/mirror-port/{mirror-index} | ||
Get List | GET | /axapi/v3/mirror-port | ||
Modify Object | POST | /axapi/v3/mirror-port/{mirror-index} | ||
Replace Object | PUT | /axapi/v3/mirror-port/{mirror-index} | ||
Replace List | PUT | /axapi/v3/mirror-port | ||
Delete Object | DELETE | /axapi/v3/mirror-port/{mirror-index} |
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
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters