User guide
17-10 E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
S
ERVER
L
OAD
B
ALANCING
(SLB)
config client add port 1-4
enable ipforwarding
The following commands create a round-robin pool, MyWeb, and add nodes to the new
pool:
create slb pool MyWeb lb-method round
config slb pool MyWeb add 192.168.200.1:80
config slb pool MyWeb add 192.168.200.2:80
The following command creates a translation mode VIP for the website and assigns the
MyWeb pool to it:
create slb vip WebVip pool MyWeb mode translation 192.168.201.1:80
The following commands create a round-robin pool, MySSL, and add nodes to the new
pool:
create slb pool MySSL lb-method round
config slb pool MySSL add 192.168.200.1:443
config slb pool MySSL add 192.168.200.2:443
The following command creates a translation mode VIP for the website and assigns the
MySSL pool to it:
create slb vip SSLVip pool MySSL mode translation 192.168.201.1:443
The following commands enable SLB, configure the server VLAN to act as the server
side, and configure the client VLAN to act as the client side.
enable slb
config vlan srvr slb-type server
config vlan clnt slb-type client
P
ORT
T
RANSLATION
M
ODE
Port translation is essentially the same thing as translational mode, except that the
Layer 4 port on the virtual server can be different from the Layer 4 port on the nodes
being load balanced. The switch takes the traffic and changes the IP address and port
address to that of the severs to be balanced. As with any server load balancing
application, the content must be duplicated on all physical servers.