Configuring the SLB Topology Example
SLB Configuration Guidelines and Prerequisites
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
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
Before you enable the switch ports on the network, ensure that you have set up the switch, the server, and the client for each server in the SLB group, as described in the previous sections.
SEFOS# configure terminal
SEFOS(config)# interface range extreme-ethernet 0/15-21 SEFOS(config-if-range)# no shutdown SEFOS(config-if-range)# exit
SEFOS(config)# interface range extreme-ethernet 0/11-12 SEFOS(config-if-range)# no shutdown SEFOS(config-if-range)# end
SEFOS# configure terminal
SEFOS(config)# interface range extreme-ethernet 0/9-10 SEFOS(config-if-range)# no shutdown SEFOS(config-if-range)# end
SEFOS(config)# interface range extreme-ethernet 0/1-4 SEFOS(config-if-range)# no shutdown SEFOS(config-if-range)# end
SEFOS# show slb SLB Group ID: 1 Virtual IP: 10.10.10.0/24 Server Members: IP Address Vlan MacAddress Port State Comments ================ ==== ================= ==== ========= ================== 192.0.0.1 3 00:1b:21:53:6e:e0 9 ACTIVE 192.0.0.2 3 00:1b:21:53:6f:00 9 ACTIVE 192.0.0.3 3 00:3e:16:20:12:01 9 ACTIVE 192.0.0.4 3 00:3e:15:18:05:30 9 STANDBY (up) SLB Group ID: 2 Virtual IP: 11.11.11.0/24 Server Members: IP Address Vlan MacAddress Port State Comments ================ ==== ================= ==== ========= ================== 192.0.0.1 4 00:4b:21:32:ed:34 10 ACTIVE 192.0.0.2 4 00:4b:21:49:a4:90 10 ACTIVE 192.0.0.3 4 00:3e:16:16:57:22 10 ACTIVE
It might take up to 30 seconds for the server status to show. If executing the slb show command does not show the server status, repeat the command every few seconds until it shows the status. If no status appears after 30 seconds, ensure that you have correctly completed the preceding steps.
For information about the status of a server member, see Conditions for a Member Participating in Load Distribution.
The client should now be able to reach the virtual server using the VIP, as follows:
client1% ping 10.10.10.1 10.10.10.1 is alive client1% ping 11.11.11.1 11.11.11.1 is alive