config link-load-balance gateway
Use this command to configure gateway links.
The gateway link configuration enables you to specify health checks, bandwidth rate thresholds, and spillover threshold behavior for the gateway links you add to link groups.
Before you begin:
- You must know the IP addresses of the ISP gateway link used in the network segment where the FortiADC appliance is deployed.
- You must have added health check configuration objects that you want to use to probe the gateway links.
- You must have read-write permission for link load balancing settings.
After you have configured a gateway link configuration object, you can select it in the link group configuration.
Syntax
config link-load-balance gateway
edit <name>
set health-check-ctrl {enable|disable}
set health-check-list {<datasource> ...}
set health-check-relation {AND|OR}
set inbound-bandwidth <integer>
set ip <class_ip>
set outbound-bandwidth <integer>
set spillover-threshold-in <integer>
set spillover-threshold-out <integer>
set spillover-threshold-total <integer>
next
end
health-check-ctrl |
Enable/disable health checks. |
health-check-list |
Specify one or more health check configuration objects. |
health-check-relation |
|
inbound-bandwidth |
Maximum bandwidth rate for inbound traffic through this gateway link. |
ip |
IP address of the gateway link. |
outbound-bandwidth |
Maximum bandwidth rate for outbound traffic to this gateway link. If traffic exceeds this threshold, the FortiADC system considers the gateway to be full and does not dispatch new connections to it. The default is 2,000,000 Kbps. The valid range is 1 to 2,147,483,647. We recommend you tune bandwidth thresholds strategically, using the bandwidth rate and price structure agreement you have with your ISP to your advantage. |
spillover-threshold-in |
Maximum inbound bandwidth rate for a link in a spillover load balancing pool. |
spillover-threshold-out |
Maximum outbound bandwidth rate for a link in a spillover load balancing pool. If you enable spillover load balancing in the link group configuration, the system maintains a spillover list. It dispatches new connections to the link with the greatest priority until its spillover threshold is exceeded; then dispatches new connections to the link with the next greatest priority until its threshold is exceeded, and so on. The default is 2,000,000 Kbps. The valid range is 1 to 2,147,483,647. |
spillover-threshold-total |
Maximum total bandwidth rate (inbound plus outbound) for a link in a spillover load balancing pool. |
Example
FortiADC-VM (gateway) # edit llb-gateway
Add new entry 'llb-gateway' for node 2501
FortiADC-VM (llb-gateway) # get
ip : 0.0.0.0
inbound-bandwidth : 2000000
outbound-bandwidth : 2000000
health-check-ctrl : disable
spillover-threshold-in: 2000000
spillover-threshold-out: 2000000
spillover-threshold-total: 2000000
FortiADC-VM (llb-gateway) # set ip 192.168.1.1
FortiADC-VM (llb-gateway) # end
FortiADC-VM # get link-load-balance gateway llb-gateway
ip : 192.168.1.1
inbound-bandwidth : 2000000
outbound-bandwidth : 2000000
health-check-ctrl : disable
spillover-threshold-in: 2000000
spillover-threshold-out: 2000000
spillover-threshold-total: 2000000