
17.2 Command Examples
This example sets Least Load First load balancing to distribute 100 Kbps of upstream traffic to WAN1 for every 200 Kbps of upstream traffic that goes through WAN2. The bandwidth measurement is averaged over 30 seconds. Then it changes the load balancing method to Least Load First.
ras> ls band up 100 200 ras> ls mode 1
ras> ls disp
Load Sharing Active: Yes
Load Sharing dispatch outgoing traffic by Least Load First Method: Upstream
Upload traffic WAN1: 100, WAN2: 200
Download traffic WAN1: 0, WAN2: 0 ras> ls timeframe 30
This example configures Weighted Round Robin load balancing to give a weight of 10 to WAN1 and a weight of 5 to WAN2. Then it changes the load balancing method to Weighted Round Robin.
ras> ls wrr 10 5
ras> ls | mode | 2 | |
ras> ls | disp | Active: Yes | |
Load Sharing | |||
Load | Sharing | dispatch outgoing traffic by Weighted Round Robin | |
WAN1 | weight: | 10, WAN2 weight: 5 |
This example configures spillover load balancing to send traffic to the secondary WAN when the primary WAN bandwidth exceeds 100 Kbps. Then it changes the load balancing method to spillover.
ras> ls spillover 100
ras> ls | mode | 3 | |
ras> ls | disp | Active: Yes | |
Load Sharing | |||
Load | Sharing | dispatch outgoing traffic by Spillover | |
Send | traffic | to secondary WAN when primary WAN bandwidth exceeds 100 Kbps. |
134 |
| |
ZyWALL (ZyNOS) CLI Reference Guide |
| |
|
|
|