flowspec destination-port¶
Configure Destination Port for a Flowspec
destination-port Specification¶
Parameter Value Type Collection Object Key(s) port-attribute, port-num Collection Name destination-port-list Collection URI /axapi/v3/flowspec/{name}/destination-port Element Name destination-port Element URI /axapi/v3/flowspec/{name}/destination-port/{port-attribute}+{port-num} Element Attributes destination-port_attributes Partition Visibility shared Schema destination-port schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/flowspec/{name}/destination-port | ||
Create List | POST | /axapi/v3/flowspec/{name}/destination-port | ||
Get Object | GET | /axapi/v3/flowspec/{name}/destination-port/{port-attribute}+{port-num} | ||
Get List | GET | /axapi/v3/flowspec/{name}/destination-port | ||
Modify Object | POST | /axapi/v3/flowspec/{name}/destination-port/{port-attribute}+{port-num} | ||
Replace Object | PUT | /axapi/v3/flowspec/{name}/destination-port/{port-attribute}+{port-num} | ||
Replace List | PUT | /axapi/v3/flowspec/{name}/destination-port | ||
Delete Object | DELETE | /axapi/v3/flowspec/{name}/destination-port/{port-attribute}+{port-num} |
destination-port-list¶
destination-port-list is JSON List of destination-port attributes
destination-port-list : [
]
destination-port attributes¶
port-attribute
Description ‘eq’: Match only packets on a given destination port; ‘gt’: Match only packets with a greater port number; ‘lt’: Match only packets with a lower port number; ‘range’: match only packets in the range of port numbers;
Type: string
Supported Values: eq, gt, lt, range
port-num
Description Specify the port number
Type: number
Range: 1-65535
port-num-end
Description Specify the port number
Type: number
Range: 2-65535
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters