JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun Ethernet Fabric Operating System

SLB Administration Guide

search filter icon
search icon

Document Information

Using This Documentation

Product Notes

Related Documentation

Acronyms and Abbreviations

CLI Command Modes

Feedback

Support and Accessibility

SLB Overview

Configuring the SLB Topology Example

SLB Description

SLB Topology Example

SLB Configuration Guidelines and Prerequisites

Default Settings

Configuring the SLB-L2 Topology Example

SLB-L2 Description

Sample SLB-L2 Topology Example

SLB-L2 Configuration Guidelines and Prerequisites

Default Settings

Conditions for a Member Participating in Load Distribution

Configuring SLB Entries

Create SLB Server Members

Remove SLB Server Members

Set the Traffic Distribution Policy

Restore the Default Traffic Distribution Policy

Create Multiple LBGs

Server Health-Check Function

Configuring SLB-L2 Entries

Create SLB-L2 Server Members

Remove SLB-L2 Port Members

View the Traffic Distribution Policy

Restore the Default Traffic Distribution Policy

Set the Failover Method

Restore the Default Failover Method

Create Multiple SLB-L2 Groups

Creating Example SLB Configurations

Creating a Basic SLB Configuration

Basic SLB Configuration

Basic SLB Configuration Steps

Set Up the Switch

Set Up the Client

Set Up the Server

Enable the Switch Ports

Save the Current Configuration

Creating a Separate VLAN SLB Configuration

Separate VLAN SLB Configuration

Configuration With Separate VLANs Steps

Set Up the Switch

Set Up the Client

Set Up the Server

Enable the Switch Ports

Save the Current Configuration

Creating a Multiple SLB Group Configuration

Multiple-SLB-Group Configuration

Configuration With Multiple SLB Groups Steps

Set Up Switch A

Set Up Switch B

Set Up the Client

Set Up the Servers in SLB Group 1

Set Up the Servers in SLB Group 2

Enable the Switch Ports

Save the Current Configuration

Creating a Failover Example

Failover Example

Trigger a Failover

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

Dual-Switch Configuration

Create a Dual-Switch Configuration

Creating an SLB-L2 Failover Example

SLB-L2 Failover Example

Trigger a Failover

Restart the Interface Following Failure

Enable the Switch Ports

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.

  1. Enter configuration mode on switch B.
    SEFOS# configure terminal
  2. Enable the switch ports on the server.
    SEFOS(config)# interface range extreme-ethernet 0/15-21
    SEFOS(config-if-range)# no shutdown
    SEFOS(config-if-range)# exit
  3. Enable the uplinks to switch A.
    SEFOS(config)# interface range extreme-ethernet 0/11-12
    SEFOS(config-if-range)# no shutdown
    SEFOS(config-if-range)# end
  4. Enter configuration mode on switch A.
    SEFOS# configure terminal
  5. Enable the uplinks to switch B.
    SEFOS(config)# interface range extreme-ethernet 0/9-10
    SEFOS(config-if-range)# no shutdown
    SEFOS(config-if-range)# end
  6. Enable the client network.
    SEFOS(config)# interface range extreme-ethernet 0/1-4
    SEFOS(config-if-range)# no shutdown
    SEFOS(config-if-range)# end
  7. View the SLB configuration.
    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