ddos dst zone src-port zone-src-port

DDOS Port & Protocol configuration

zone-src-port Specification

Parameter

Value

Type

Collection

Object Key(s)

port-num, protocol

Collection Name

zone-src-port-list

Collection URI

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port

Element Name

zone-src-port

Element URI

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port/{port-num}+{protocol}

Element Attributes

zone-src-port_attributes

Partition Visibility

shared

Statistics Data URI

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port/{port-num}+{protocol}/stats

Operational Data URI

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port/{port-num}+{protocol}/oper

Schema

zone-src-port schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port

zone-src-port attributes

Create List

POST

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port

zone-src-port attributes

Get Object

GET

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port/{port-num}+{protocol}

zone-src-port attributes

Get List

GET

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port

zone-src-port-list

Modify Object

POST

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port/{port-num}+{protocol}

zone-src-port attributes

Replace Object

PUT

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port/{port-num}+{protocol}

zone-src-port attributes

Replace List

PUT

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port

zone-src-port-list

Delete Object

DELETE

/axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port/{port-num}+{protocol}

zone-src-port attributes

zone-src-port-list

zone-src-port-list is JSON List of zone-src-port attributes

zone-src-port-list : [

zone-src-port attributes

default-action-list

Description Configure default-action-list

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/ddos/action-list

deny

Description Blacklist and Drop all incoming packets for protocol

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

glid-cfg

Description: glid-cfg is a JSON Block. Please see below for glid-cfg

Type: Object

level-list

outbound-src-tracking

Description ‘enable’: enable; ‘disable’: disable;

Type: string

Supported Values: enable, disable

Default: disable

port-ind

Description: port-ind is a JSON Block. Please see below for port-ind

Type: Object

Reference Object: /axapi/v3/ddos/dst/zone/{zone-name}/src-port/zone-src-port/{port-num}+{protocol}/port-ind

port-num

Description Source Port Number

Type: number

Range: 1-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

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

zone-template

Description: zone-template is a JSON Block. Please see below for zone-template

Type: Object

glid-cfg

Specification

Value

Type

object

glid

Description Global limit ID

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/glid

glid-action

Description ‘drop’: Drop packets for glid exceed (Default); ‘ignore’: Do nothing for glid exceed;

Type: string

Supported Values: drop, ignore

zone-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

port-ind

Specification

Value

Type

object

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

level-list

Specification

Value

Type

list

Block object keys

indicator-list

level-num

Description ‘0’: Default policy level; ‘1’: Policy level 1;

Type: string

Supported Values: 0, 1

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

level-list_indicator-list

Specification

Value

Type

list

Block object keys

type

Description ‘pkt-rate’: rate of incoming packets; ‘bit-rate’: rate of incoming bits;

Type: string

Supported Values: pkt-rate, bit-rate

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

zone-threshold-large-num

Description Threshold of the entire zone for the src-port

Type: number

Range: 1-10995116277760

zone-threshold-num

Description Threshold of the entire zone for the src-port

Type: number

Range: 1-2147483647