Fortinet white logo
Fortinet white logo

CLI Reference

wanopt cache-service

wanopt cache-service

Use this command to configure cache-service clusters for WAN optimization and webcaching between multiple FortiGates. The result is that the cache-service daemons between different FortiGates can collaborate together for serving web-cache-entries.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

config wanopt cache-service

New config command.

Configure cache-service clusters between multiple FortiGates.

config wanopt cache-service
    set prefer-scenario {balance | prefer-speed | prefer-cache}   Set the preferred cache behavior towards the balance between latency and hit-ratio.
            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.
    set collaboration {enable | disable}   Enable/disable cache-collaboration between cache-service clusters.
    set device-id {string}   Set identifier for this cache device. size[35]
    set acceptable-connections {any | peers}   Set strategy when accepting cache collaboration connection.
            any    We can accept any cache-collaboration connection.
            peers  We can only accept connections that are already in src-peers.
    config dst-peer
        edit {device-id}
        # Modify cache-service destination peer list.
            set device-id {string}   Device ID of this peer. size[35]
            set auth-type {integer}   Set authentication type for this peer. range[0-255]
            set encode-type {integer}   Set encode type for this peer. range[0-255]
            set priority {integer}   Set priority for this peer. range[0-255]
            set ip {ipv4 address any}   Set cluster IP address of this peer.
        next
    config src-peer
        edit {device-id}
        # Modify cache-service source peer list.
            set device-id {string}   Device ID of this peer. size[35]
            set auth-type {integer}   Set authentication type for this peer. range[0-255]
            set encode-type {integer}   Set encode type for this peer. range[0-255]
            set priority {integer}   Set priority for this peer. range[0-255]
            set ip {ipv4 address any}   Set cluster IP address of this peer.
        next
end

wanopt cache-service

wanopt cache-service

Use this command to configure cache-service clusters for WAN optimization and webcaching between multiple FortiGates. The result is that the cache-service daemons between different FortiGates can collaborate together for serving web-cache-entries.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

config wanopt cache-service

New config command.

Configure cache-service clusters between multiple FortiGates.

config wanopt cache-service
    set prefer-scenario {balance | prefer-speed | prefer-cache}   Set the preferred cache behavior towards the balance between latency and hit-ratio.
            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.
    set collaboration {enable | disable}   Enable/disable cache-collaboration between cache-service clusters.
    set device-id {string}   Set identifier for this cache device. size[35]
    set acceptable-connections {any | peers}   Set strategy when accepting cache collaboration connection.
            any    We can accept any cache-collaboration connection.
            peers  We can only accept connections that are already in src-peers.
    config dst-peer
        edit {device-id}
        # Modify cache-service destination peer list.
            set device-id {string}   Device ID of this peer. size[35]
            set auth-type {integer}   Set authentication type for this peer. range[0-255]
            set encode-type {integer}   Set encode type for this peer. range[0-255]
            set priority {integer}   Set priority for this peer. range[0-255]
            set ip {ipv4 address any}   Set cluster IP address of this peer.
        next
    config src-peer
        edit {device-id}
        # Modify cache-service source peer list.
            set device-id {string}   Device ID of this peer. size[35]
            set auth-type {integer}   Set authentication type for this peer. range[0-255]
            set encode-type {integer}   Set encode type for this peer. range[0-255]
            set priority {integer}   Set priority for this peer. range[0-255]
            set ip {ipv4 address any}   Set cluster IP address of this peer.
        next
end