Configuring the SLB Topology Example
Configuring the SLB-L2 Topology Example
SLB-L2 Configuration Guidelines and Prerequisites
Conditions for a Member Participating in Load Distribution
Set the Traffic Distribution Policy
Restore the Default Traffic Distribution Policy
Set the Health-Monitor Parameters
View the Traffic Distribution Policy
Restore the Default Traffic Distribution Policy
Restore the Default Failover Method
Creating Example SLB Configurations
Creating a Basic SLB Configuration
Enable the Switch Ports (Basic SLB)
Save the Current Configuration (Basic SLB)
Creating a Separate VLAN SLB Configuration
Separate VLAN SLB Configuration
Configuration With Separate VLANs Steps
Set Up the Switch (Separate VLAN SLB)
Set Up the Client (Separate VLAN SLB)
Set Up the Server (Separate VLAN SLB)
Enable the Switch Ports (Separate VLAN SLB)
Save the Current Configuration (Separate VLAN SLB)
Creating a Multiple SLB Group Configuration
Multiple-SLB-Group Configuration
Configuration With Multiple SLB Groups Steps
Set Up the Client (Multiple SLB Group)
Set Up the Servers in SLB Group 1
Set Up the Servers in SLB Group 2
Enable the Switch Ports (Multiple SLB Group)
Save the Current Configuration (Multiple SLB Group)
Restart the Server Following Failure
Creating SLB-L2 Configuration Examples
Bump-In-The-Wire Configuration
Creating a Single-Switch Configuration
Basic Single-Switch Configuration
Create a Single-Switch Configuration
Creating a Dual-Switch Configuration
Create a Dual-Switch Configuration
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