Fortinet white logo
Fortinet white logo

CLI Reference

config load-balance http2-profile

config load-balance http2-profile

This command is used by HTTP or HTTPS profiles. You must enable the HTTP/2 gateway function to use this profile.

Profile Description
LB_HTTP2_PROFILE_DEFAULT Set max-concurrent-stream 5, max-receive-window 65535, max-frame-size 16384, header-table-size 4096, max-header-list-size 65536, ssl-constraint enabled.

Syntax

config load-balance http2-profile

edit <profile name>

set priority-mode best-effort

set upgrade-mode upgradeable

set max-concurrent-stream <integer>

set max-receive-window <integer>

set max-frame-size <integer>

set header-table-size <integer>

set max-header-list-size <integer>

set ssl-constraint disable/enable

Parameter Description
header-table-size The size of header table for HPACK.
max-concurrent-stream The maximum number of concurrent streams.
max-frame-size The maximum size of a frame.
max-header-list-size The maximum size of the header list.
max-receive-window The maximum size of the receive window.
priority-mode The priority of stream mode.
ssl-constraint The SSL constraint check.
upgrade-mode The protocol upgrade to HTTP/2 mode.

Example:

config load-balance http2-profile

edit "http2"

set priority-mode best-effort

set upgrade-mode upgradeable

set max-concurrent-stream 5

set max-receive-window 32767

set max-frame-size 16384

set header-table-size 4096

set max-header-list-size 65536

set ssl-constraint disable

next

end

config load-balance http2-profile

config load-balance http2-profile

This command is used by HTTP or HTTPS profiles. You must enable the HTTP/2 gateway function to use this profile.

Profile Description
LB_HTTP2_PROFILE_DEFAULT Set max-concurrent-stream 5, max-receive-window 65535, max-frame-size 16384, header-table-size 4096, max-header-list-size 65536, ssl-constraint enabled.

Syntax

config load-balance http2-profile

edit <profile name>

set priority-mode best-effort

set upgrade-mode upgradeable

set max-concurrent-stream <integer>

set max-receive-window <integer>

set max-frame-size <integer>

set header-table-size <integer>

set max-header-list-size <integer>

set ssl-constraint disable/enable

Parameter Description
header-table-size The size of header table for HPACK.
max-concurrent-stream The maximum number of concurrent streams.
max-frame-size The maximum size of a frame.
max-header-list-size The maximum size of the header list.
max-receive-window The maximum size of the receive window.
priority-mode The priority of stream mode.
ssl-constraint The SSL constraint check.
upgrade-mode The protocol upgrade to HTTP/2 mode.

Example:

config load-balance http2-profile

edit "http2"

set priority-mode best-effort

set upgrade-mode upgradeable

set max-concurrent-stream 5

set max-receive-window 32767

set max-frame-size 16384

set header-table-size 4096

set max-header-list-size 65536

set ssl-constraint disable

next

end