Fortinet white logo
Fortinet white logo

CLI Reference

config wanopt cache-service

config wanopt cache-service

Designate cache-service for wan-optimization and webcache.

config wanopt cache-service

Description: Designate cache-service for wan-optimization and webcache.

set prefer-scenario [balance|prefer-speed|...]

set collaboration [enable|disable]

set device-id {string}

set acceptable-connections [any|peers]

config dst-peer

Description: Modify cache-service destination peer list.

edit <device-id>

set auth-type {integer}

set encode-type {integer}

set priority {integer}

set ip {ipv4-address-any}

next

end

config src-peer

Description: Modify cache-service source peer list.

edit <device-id>

set auth-type {integer}

set encode-type {integer}

set priority {integer}

set ip {ipv4-address-any}

next

end

end

config wanopt cache-service

Parameter name

Description

Type

Size

prefer-scenario

Set the preferred cache behavior towards the balance between latency and hit-ratio.

option

-

Option

Description

balance

Balance between speed and cache hit ratio.

prefer-speed

Prefer response speed at the expense of increased cache bypasses.

prefer-cache

Prefer improving hit-ratio through increasing latency tolerance.

collaboration

Enable/disable cache-collaboration between cache-service clusters.

option

-

Option

Description

enable

Enable cache cache-collaboration.

disable

Disable cache cache-collaboration.

device-id

Set identifier for this cache device.

string

Maximum length: 35

acceptable-connections

Set strategy when accepting cache collaboration connection.

option

-

Option

Description

any

We can accept any cache-collaboration connection.

peers

We can only accept connections that are already in src-peers.

Parameter name

Description

Type

Size

auth-type

Set authentication type for this peer.

integer

Minimum value: 0 Maximum value: 255

encode-type

Set encode type for this peer.

integer

Minimum value: 0 Maximum value: 255

priority

Set priority for this peer.

integer

Minimum value: 0 Maximum value: 255

ip

Set cluster IP address of this peer.

ipv4-address-any

Not Specified

Parameter name

Description

Type

Size

auth-type

Set authentication type for this peer.

integer

Minimum value: 0 Maximum value: 255

encode-type

Set encode type for this peer.

integer

Minimum value: 0 Maximum value: 255

priority

Set priority for this peer.

integer

Minimum value: 0 Maximum value: 255

ip

Set cluster IP address of this peer.

ipv4-address-any

Not Specified

config wanopt cache-service

config wanopt cache-service

Designate cache-service for wan-optimization and webcache.

config wanopt cache-service

Description: Designate cache-service for wan-optimization and webcache.

set prefer-scenario [balance|prefer-speed|...]

set collaboration [enable|disable]

set device-id {string}

set acceptable-connections [any|peers]

config dst-peer

Description: Modify cache-service destination peer list.

edit <device-id>

set auth-type {integer}

set encode-type {integer}

set priority {integer}

set ip {ipv4-address-any}

next

end

config src-peer

Description: Modify cache-service source peer list.

edit <device-id>

set auth-type {integer}

set encode-type {integer}

set priority {integer}

set ip {ipv4-address-any}

next

end

end

config wanopt cache-service

Parameter name

Description

Type

Size

prefer-scenario

Set the preferred cache behavior towards the balance between latency and hit-ratio.

option

-

Option

Description

balance

Balance between speed and cache hit ratio.

prefer-speed

Prefer response speed at the expense of increased cache bypasses.

prefer-cache

Prefer improving hit-ratio through increasing latency tolerance.

collaboration

Enable/disable cache-collaboration between cache-service clusters.

option

-

Option

Description

enable

Enable cache cache-collaboration.

disable

Disable cache cache-collaboration.

device-id

Set identifier for this cache device.

string

Maximum length: 35

acceptable-connections

Set strategy when accepting cache collaboration connection.

option

-

Option

Description

any

We can accept any cache-collaboration connection.

peers

We can only accept connections that are already in src-peers.

Parameter name

Description

Type

Size

auth-type

Set authentication type for this peer.

integer

Minimum value: 0 Maximum value: 255

encode-type

Set encode type for this peer.

integer

Minimum value: 0 Maximum value: 255

priority

Set priority for this peer.

integer

Minimum value: 0 Maximum value: 255

ip

Set cluster IP address of this peer.

ipv4-address-any

Not Specified

Parameter name

Description

Type

Size

auth-type

Set authentication type for this peer.

integer

Minimum value: 0 Maximum value: 255

encode-type

Set encode type for this peer.

integer

Minimum value: 0 Maximum value: 255

priority

Set priority for this peer.

integer

Minimum value: 0 Maximum value: 255

ip

Set cluster IP address of this peer.

ipv4-address-any

Not Specified