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 |
Description |
Type |
Size |
Default |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
prefer-scenario |
Set the preferred cache behavior towards the balance between latency and hit-ratio. |
option |
- |
prefer-speed |
||||||||
|
|
|||||||||||
collaboration |
Enable/disable cache-collaboration between cache-service clusters. |
option |
- |
disable |
||||||||
|
|
|||||||||||
device-id |
Set identifier for this cache device. |
string |
Maximum length: 35 |
default_dev_id |
||||||||
acceptable-connections |
Set strategy when accepting cache collaboration connection. |
option |
- |
any |
||||||||
|
|
config dst-peer
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
auth-type |
Set authentication type for this peer. |
integer |
Minimum value: 0 Maximum value: 255 |
0 |
encode-type |
Set encode type for this peer. |
integer |
Minimum value: 0 Maximum value: 255 |
0 |
priority |
Set priority for this peer. |
integer |
Minimum value: 0 Maximum value: 255 |
1 |
ip |
Set cluster IP address of this peer. |
ipv4-address-any |
Not Specified |
0.0.0.0 |
config src-peer
Parameter |
Description |
Type |
Size |
Default |
---|---|---|---|---|
auth-type |
Set authentication type for this peer. |
integer |
Minimum value: 0 Maximum value: 255 |
0 |
encode-type |
Set encode type for this peer. |
integer |
Minimum value: 0 Maximum value: 255 |
0 |
priority |
Set priority for this peer. |
integer |
Minimum value: 0 Maximum value: 255 |
1 |
ip |
Set cluster IP address of this peer. |
ipv4-address-any |
Not Specified |
0.0.0.0 |