slb template virtual-port

Configure a template of SLB settings for virtual service ports. You can bind only one virtual service port template to a virtual service port. However, you can bind the virtual service port template to multiple virtual service ports.

virtual-port Specification

Type Collection
Object Key(s) name
Collection Name virtual-port-list
Collection URI /axapi/v3/slb/template/virtual-port/
Element Name virtual-port
Element URI /axapi/v3/slb/template/virtual-port/{name}
Element Attributes virtual-port_attributes
Schema virtual-port schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/slb/template/virtual-port/

virtual-port Attributes

Create List

POST

/axapi/v3/slb/template/virtual-port/

virtual-port Attributes

Get Object

GET

/axapi/v3/slb/template/virtual-port/{name}

virtual-port Attributes

Get List

GET

/axapi/v3/slb/template/virtual-port/

virtual-port-list

Modify Object

POST

/axapi/v3/slb/template/virtual-port/{name}

virtual-port Attributes

Replace Object

PUT

/axapi/v3/slb/template/virtual-port/{name}

virtual-port Attributes

Replace List

PUT

/axapi/v3/slb/template/virtual-port/

virtual-port-list

Delete Object

DELETE

/axapi/v3/slb/template/virtual-port/{name}

virtual-port Attributes

virtual-port-list

virtual-port-list is JSON List of virtual-port Attributes

virtual-port-list : [

virtual-port Attributes

aflow

Description: Enables aFlow control. aFlow helps avoid packet drops and retransmissions when a real server port reaches its configured connection limit.
When aFlow is enabled, the ACOS device queues HTTP/HTTPS packets from clients when a server port reaches a configured connection limit, instead of dropping them. The ACOS device then monitors the port, and begins forwarding the queued packets when connections become available again. To prevent flooding of the port, the ACOS device forwards the queued packets at a steady rate.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

allow-syn-otherflags

Description: Allows initial SYN packet with other flags.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

allow-vip-to-rport-mapping

Description: Enables the VIP to Real Port Mapping feature for a subnet VIP.
NOTE: The virtual port template containing this option must be bound to the VIP, and the VIP itself must use a subnet for the last octet (for example, 10.10.100/24), or the feature will not work.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

conn-limit

Description: Specifies the maximum number of connections allowed on virtual ports that use this template.
The max-connections option specifies the maximum number of concurrent connections.

Type: number

Range: 1-8000000

Default: 8000000

conn-limit-no-logging

Description: Disables logging for connections after the connection limit is reached on the virtual server port.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

conn-limit-reset

Description: Specifies the action to take for connections after the connection limit is reached on the virtual server port. If you change the action to reset, the connections are reset instead.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

conn-rate-limit

Description: Limits the rate of new connections the ACOS device is allowed to send to virtual service ports that use this template. When a virtual service port reaches its connection limit, the ACOS device stop selecting the port to serve client requests. Specifies maximum of new connections allowed on the virtual service port.

Type: number

Range: 1-1048575

conn-rate-limit-no-logging

Description: Disables logging when a virtual service port reaches its connection limit.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

conn-rate-limit-reset

Description: Send a reset (RST) to a client after the connection rate has been exceeded. By default (without this option), the ACOS device silently drops the request.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

drop-unknown-conn

Description: Please contact A10 Networks.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

dscp

Description: Sets the Differentiated Services Code Point (DSCP) value in client requests before forwarding them to the server.

Type: number

Range: 1-63

ignore-tcp-msl

Description: Immediately reuse TCP sockets after session termination, without waiting for the SLB Maximum Session Life (MSL) time to expire.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

name

Description: Name of the template.

Type: string

Format: string-rlx

Default: default

Required: Yes

rate-interval

Description: Specifies whether the connection rate limit applies to one-second intervals or 100-ms intervals.

Type: string

Supported Values: 100ms, second

Default: second

reset-l7-on-failover

Description: Resets a Layer 7 connection upon failover.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

reset-unknown-conn

Description: Enables sending of a TCP Reset (RST) in response to a session mismatch. A session mismatch occurs when the ACOS device receives a TCP packet for a TCP session that is not in the active session table on the ACOS device.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

snat-msl

Description: Set the Maximum Segment Life (MSL) for source-NAT connections. This option is useful for servers that have older TCP/IP stacks, which wait up to 240 seconds (4 minutes) after a FIN before the endpoint can enter a new connection.

Type: number

Range: 1-1800

snat-port-preserve

Description: Source NAT Port Preservation

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string