These guidelines and prerequisites apply to SLB configurations:
Set up as many as 16 servers per SLB group.
Establish up to 16 SLB groups.
Set up as many as 32 servers on the switch for load balancing.
Ensure that server members within an SLB group do not span multiple VLANs.
Choose any IP address for a VIP, ensuring that the IP address is not in the same subnet as the physical server's subnet.
Although it is not a strict requirement, you should disable switch ports that are involved in the SLB before setting up SLB.
If port-channel is configured along with SLB, ensure that the load balancing policy of both SLB and port-channel is the same. Some of the SLB policies are not available for port-channel. Ensure that such a policy is not chosen.
In this example, 1 is a previously configured port-channel interface.
SEFOS(config)# slb policy src-ip SEFOS(config)# port-channel load-balance src-ip 1
In this example, 1 is a previously configured port-channel interface. This configuration is not valid because the slb policy and the port-channel policies are different.
SEFOS(config)# slb policy src-ip SEFOS(config)# port-channel load-balance dest-ip 1
In this example, port-channel policy is left as default. This configuration is not valid because the default port-channel policy is not src-ip.
SEFOS(config)# slb policy src-ip