User guide

17-30 E
XTREME
W
ARE
S
OFTWARE
U
SER
G
UIDE
S
ERVER
L
OAD
B
ALANCING
(SLB)
create vlan inside
create vlan server
config vlan inside ipaddress 1.10.0.2 /16
config vlan inside add port 31
config vlan server ipaddress 1.205.0.1 /16
config vlan server add port 29-30
enable ipforwarding
create slb pool testpool
config slb pool testpool add 1.205.1.1:80
config slb pool testpool add 1.205.1.2:80
create slb vip site1 pool testpool mode transparent 1.10.1.1:80
create slb vip site2 pool testpool mode transparent 1.10.1.2:80
enable slb
config vlan inside slb-type client
config vlan server slb-type server
config slb failover unit 1 remote 1.10.0.3 local 1.10.0.2:1028
enable slb failover
enable slb failover ping
config slb vip site1 unit 1
config slb vip site2 unit 2
config slb fail ping-check 1.10.0.1 freq 1
To configure this example on the second switch, use the following commands:
create vlan inside
create vlan server
config vlan inside ipaddress 1.10.0.3 /16
config vlan inside add port 31
config vlan server ipaddress 1.206.0.1 /16
config vlan server add port 29-30
enable ipforwarding