Cache service
The config wanopt cache-service
command is used to configure cache-service
clusters between multiple FortiGates. The result is that the cache-service
daemons of the different FortiGates can collaborate together for serving web cache entries.
To configure the wanopt cache-service
config wanopt cache-service
set prefer-scenario
set collaboration
set device-id
set acceptable-connections
config dst-peer
edit <dst-peer-name>
set auth-type
set encode-type
set priority
set ip
config src-peer
edit <src-peer>
set auth-type
set encode-type
set priority
set ip
Option | Description |
---|---|
prefer-scenario
|
Set the preferred cache behavior to the appropriate balance between latency and hit ratio Options:
|
collaboration
|
enable/disable cache collaboration between cache-service clusters |
device-id
|
Set identifier for this cache device |
acceptable-connections
|
Set strategy when accepting cache collaboration connection Options:
|
auth-type
|
Set authentication type for this peer Value is integer from 0 to 255 |
encode-type
|
Set encode type for this peer Value is integer from 0 to 255 |
priority
|
Set priority for this peer Value is integer from 0 to 255. Default = 1 |
ip
|
Set cluster IP address of this peer |