ddos dst entry src-port¶
DDOS Port & Protocol configuration
src-port Specification¶
Parameter Value Type Collection Object Key(s) port-num, protocol Collection Name src-port-list Collection URI /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port Element Name src-port Element URI /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port/{port-num}+{protocol} Element Attributes src-port_attributes Partition Visibility shared Statistics Data URI /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port/{port-num}+{protocol}/stats Operational Data URI /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port/{port-num}+{protocol}/oper Schema src-port schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port | ||
Create List | POST | /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port | ||
Get Object | GET | /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port/{port-num}+{protocol} | ||
Get List | GET | /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port | ||
Modify Object | POST | /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port/{port-num}+{protocol} | ||
Replace Object | PUT | /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port/{port-num}+{protocol} | ||
Replace List | PUT | /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port | ||
Delete Object | DELETE | /axapi/v3/ddos/dst/entry/{dst-entry-name}/src-port/{port-num}+{protocol} |
src-port-list¶
src-port-list is JSON List of src-port attributes
src-port-list : [
]
src-port attributes¶
deny
Description Blacklist and Drop all incoming packets for protocol
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
glid
Description Global limit ID
Type: string
Format: string-rlx
Maximum Length: 63 characters
Maximum Length: 1 characters
Reference Object: /axapi/v3/glid
outbound-src-tracking
Description ‘enable’: enable; ‘disable’: disable;
Type: string
Supported Values: enable, disable
Default: disable
port-num
Description Port Number
Type: number
Range: 0-65535
protocol
Description ‘dns-udp’: DNS-UDP Port; ‘dns-tcp’: DNS-TCP Port; ‘udp’: UDP Port; ‘tcp’: TCP Port;
Type: string
Supported Values: dns-udp, dns-tcp, udp, tcp
set-counter-base-val
Description Set T2 counter value of current context to specified value
Type: number
Range: 1-4294967295
template
Description: template is a JSON Block. Please see below for template
Type: Object
user-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
template¶
Specification Value Type object src-dns
Description DDOS dns src template
Type: string
Format: string-rlx
Maximum Length: 128 characters
Maximum Length: 1 characters
src-tcp
Description DDOS tcp src template
Type: string
Format: string-rlx
Maximum Length: 128 characters
Maximum Length: 1 characters
src-udp
Description DDOS udp src template
Type: string
Format: string-rlx
Maximum Length: 128 characters
Maximum Length: 1 characters