glid¶
Configure global limit ID
glid Specification¶
Type Collection Object Key(s) num Collection Name glid-list Collection URI /axapi/v3/glid Element Name glid Element URI /axapi/v3/glid/{num} Element Attributes glid_attributes Schema glid schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/glid | ||
Create List | POST | /axapi/v3/glid | ||
Get Object | GET | /axapi/v3/glid/{num} | ||
Get List | GET | /axapi/v3/glid | ||
Modify Object | POST | /axapi/v3/glid/{num} | ||
Replace Object | PUT | /axapi/v3/glid/{num} | ||
Replace List | PUT | /axapi/v3/glid | ||
Delete Object | DELETE | /axapi/v3/glid/{num} |
glid-list¶
glid-list is JSON List of glid attributes
glid-list : [
]
glid attributes¶
action-value
Description ‘drop’: Silently Drop the new connection / new packet when it exceeds limit; ‘dns-cache-disable’: Disable dns cache when it exceeds limit; ‘dns-cache-enable’: Enable dns cache when it exceeds limit; ‘forward’: Forward the traffic even it exceeds limit; ‘reset’: Reset the connection when it exceeds limit;
Type: string
Supported Values: drop, dns-cache-disable, dns-cache-enable, forward, reset
conn-limit
Description Connection Limit for the GLID
Type: number
Range: 1-1048575
conn-rate-limit
Description Connection rate Limit for the GLID
Type: number
Range: 1-2147483647
conn-rate-limit-interval
Description
Type: number
Range: 1-65535
dns
Description: dns is a JSON Block. Please see below for dns
Type: Object
dns64
Description: dns64 is a JSON Block. Please see below for dns64
Type: Object
lockout
Description Don’t accept any new connection for certain time (Lockout duration in minutes)
Type: number
Range: 1-1023
log
Description Log a message
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
log-interval
Description Log interval (minute, by default system will log every over limit instance)
Type: number
Range: 1-255
num
Description Global Limit ID
Type: number
Range: 1-1023
over-limit-action
Description Action when exceeds limit
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
request-limit
Description Request limit
Type: number
Range: 1-1048575
request-rate-limit
Description Request rate limit
Type: number
Range: 1-4294967295
request-rate-limit-interval
Description Number of 100ms
Type: number
Range: 1-65535
use-nat-pool
Description Use NAT pool specified to do reverse NAT for class list members bound to the lid
Type: string
Maximum Length: 63 characters
Maximum Length: 1 characters
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
dns64¶
Specification Type object disable
Description Disable
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
dns¶
Specification Type object action
Description ‘cache-disable’: Disable dns cache; ‘cache-enable’: Enable dns cache;
Type: string
Supported Values: cache-disable, cache-enable
Default: cache-disable
ttl
Description TTL for cache entry (TTL in seconds)
Type: number
Range: 1-65535
weight
Description Weight for cache entry
Type: number
Range: 1-7