Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config web-proxy forward-server-group

Configure a forward server group consisting or multiple forward servers. Supports failover and load balancing.

config web-proxy forward-server-group

Description: Configure a forward server group consisting or multiple forward servers. Supports failover and load balancing.

edit <name>

set affinity [enable|disable]

set ldb-method [weighted|least-session|...]

set group-down-option [block|pass]

config server-list

Description: Add web forward servers to a list to form a server group. Optionally assign weights to each server.

edit <name>

set weight {integer}

next

end

next

end

config web-proxy forward-server-group

Parameter name

Description

Type

Size

affinity

Enable/disable affinity, attaching a source-ip's traffic to the assigned forwarding server until the forward-server-affinity-timeout is reached (under web-proxy global).

option

-

 

Option

Description

enable

Enable affinity.

disable

Disable affinity.

ldb-method

Load balance method: weighted or least-session.

option

-

 

Option

Description

weighted

Load balance traffic to forward servers based on assigned weights. Weights are ratios of total number of sessions.

least-session

Send new sessions to the server with lowest session count.

active-passive

Send new sessions to the next active server in the list. Servers are selected with highest weight first and then in order as they are configured. Traffic switches back to the first server upon failure recovery.

group-down-option

Action to take when all of the servers in the forward server group are down: block sessions until at least one server is back up or pass sessions to their destination.

option

-

 

Option

Description

block

Block sessions until at least one server in the group is back up.

pass

Pass sessions to their destination bypassing servers in the forward server group.

config server-list

Parameter name

Description

Type

Size

weight

Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)

integer

Minimum value: 1 Maximum value: 100

config web-proxy forward-server-group

Configure a forward server group consisting or multiple forward servers. Supports failover and load balancing.

config web-proxy forward-server-group

Description: Configure a forward server group consisting or multiple forward servers. Supports failover and load balancing.

edit <name>

set affinity [enable|disable]

set ldb-method [weighted|least-session|...]

set group-down-option [block|pass]

config server-list

Description: Add web forward servers to a list to form a server group. Optionally assign weights to each server.

edit <name>

set weight {integer}

next

end

next

end

config web-proxy forward-server-group

Parameter name

Description

Type

Size

affinity

Enable/disable affinity, attaching a source-ip's traffic to the assigned forwarding server until the forward-server-affinity-timeout is reached (under web-proxy global).

option

-

 

Option

Description

enable

Enable affinity.

disable

Disable affinity.

ldb-method

Load balance method: weighted or least-session.

option

-

 

Option

Description

weighted

Load balance traffic to forward servers based on assigned weights. Weights are ratios of total number of sessions.

least-session

Send new sessions to the server with lowest session count.

active-passive

Send new sessions to the next active server in the list. Servers are selected with highest weight first and then in order as they are configured. Traffic switches back to the first server upon failure recovery.

group-down-option

Action to take when all of the servers in the forward server group are down: block sessions until at least one server is back up or pass sessions to their destination.

option

-

 

Option

Description

block

Block sessions until at least one server in the group is back up.

pass

Pass sessions to their destination bypassing servers in the forward server group.

config server-list

Parameter name

Description

Type

Size

weight

Optionally assign a weight of the forwarding server for weighted load balancing (1 - 100, default = 10)

integer

Minimum value: 1 Maximum value: 100