Fortinet black logo

CLI Reference

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.
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.
option -
collaboration Enable/disable cache-collaboration between cache-service clusters.
enable: Enable cache cache-collaboration.
disable: Disable cache cache-collaboration.
option -
device-id Set identifier for this cache device. string Maximum length: 35
acceptable-connections 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.
option -
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

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.
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.
option -
collaboration Enable/disable cache-collaboration between cache-service clusters.
enable: Enable cache cache-collaboration.
disable: Disable cache cache-collaboration.
option -
device-id Set identifier for this cache device. string Maximum length: 35
acceptable-connections 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.
option -
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