slb template policy class-list lid

Configure a IP limiting rules for system-wide IP limiting to be added to a policy template.

lid Specification

Type Collection
Object Key(s) lidnum
Collection Name lid-list
Collection URI /axapi/v3/slb/template/policy/{name}/class-list/lid/
Element Name lid
Element URI /axapi/v3/slb/template/policy/{name}/class-list/lid/{lidnum}
Element Attributes lid_attributes
Schema lid schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/slb/template/policy/{name}/class-list/lid/

lid Attributes

Create List

POST

/axapi/v3/slb/template/policy/{name}/class-list/lid/

lid Attributes

Get Object

GET

/axapi/v3/slb/template/policy/{name}/class-list/lid/{lidnum}

lid Attributes

Get List

GET

/axapi/v3/slb/template/policy/{name}/class-list/lid/

lid-list

Modify Object

POST

/axapi/v3/slb/template/policy/{name}/class-list/lid/{lidnum}

lid Attributes

Replace Object

PUT

/axapi/v3/slb/template/policy/{name}/class-list/lid/{lidnum}

lid Attributes

Replace List

PUT

/axapi/v3/slb/template/policy/{name}/class-list/lid/

lid-list

Delete Object

DELETE

/axapi/v3/slb/template/policy/{name}/class-list/lid/{lidnum}

lid Attributes

lid-list

lid-list is JSON List of lid Attributes

lid-list : [

lid Attributes

action-value

Description: ‘forward’: Forward the traffic even it exceeds limit; ‘reset’: Reset the connection when it exceeds limit;

Type: string

Supported Values: forward, reset

bw-per

Description: Per (Specify interval in number of 100ms)

Type: number

Range: 1-65535

bw-rate-limit

Description: Specify bandwidth rate limit (Bandwidth rate limit in bytes)

Type: number

Range: 1-2147483647

conn-limit

Description: Specifies the maximum number of concurrent connections allowed for a client. Connection limit 0 immediately locks down matching clients.

Type: number

Range: 0-1048575

conn-per

Description: Specify limit period in increments of 100 ms.

Type: number

Range: 1-65535

conn-rate-limit

Description: Specifies the maximum number of new connections allowed for a client within the specified limit period.

Type: number

Range: 1-2147483647

dns64

Description: dns64 is a JSON Block . Please see below for dns64

Type: Object

interval

Description: Specify a logging period, in which the ACOS device holds onto the repeated messages for the specified period, then sends one message at the end of the period for all instances that occurred within the period.

Type: number

Range: 1-255

lidnum

Description: Specify the Limit ID number.

Type: number

Range: 1-31

Required: Yes

lockout

Description: Specifies the number of minutes during which to apply the over-limit action after the client exceeds a limit. The lockout period is activated when a client exceeds any limit.

Type: number

Range: 1-1023

log

Description: Generates log messages when clients exceed a limit. When you enable logging, a separate message is generated for each over-limit occurrence, by default.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

over-limit-action

Description: Specifies the action to take when a client exceeds one or more of the limits. This command also configures lockout and enables logging.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

request-limit

Description: Specifies the maximum number of concurrent Layer 7 requests allowed for a client.

Type: number

Range: 1-1048575

request-per

Description: Specify limit period in increments of 100 ms.

Type: number

Range: 1-65535

request-rate-limit

Description: Specifies the maximum number of Layer 7 requests allowed for the client within the specified limit period.

Type: number

Range: 1-4294967295

response-code-rate-limit

Description: response-code-rate-limit is a JSON List . Please see below for response-code-rate-limit

Type: List

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

dns64

Specification
Type object

disable

Description: Disable settings for IPv6 DNS features

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

exclusive-answer

Description: Exclusive Answer in DNS Response

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

prefix

Description: IPv6 prefix

Type: string

Format: ipv6-address-plen

response-code-rate-limit

Specification
Type list
Block object keys

code-range-end

Description: server response code range end

Type: number

Range: 100-600

code-range-start

Description: server response code range start

Type: number

Range: 100-600

period

Description: seconds

Type: number

Range: 1-127

threshold

Description: the times of getting the response code

Type: number

Range: 1-15