Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### SLB Administration Guide

Search Scope:

- This Document
- Entire Library

## Set Up the Switch

Shut down SLB-related switch ports on the switch.

1. Enter Global Configuration mode so you can shut down SLB-related switch ports on the switch.

       SEFOS# configure terminal

2. Shut down switch ports connected to the client network.

       SEFOS(config)# interface range extreme-ethernet 0/3-6
       SEFOS(config-if-range)# shutdown
       SEFOS(config-if-range)# exit

3. Shut down switch ports connected to the servers.

       SEFOS(config)# interface range extreme-ethernet 0/15-18
       SEFOS(config-if-range)# shutdown
       SEFOS(config-if-range)# exit

4. Set up the interface address of the switch.

       SEFOS(config)# interface vlan 1
       SEFOS(config-if)# shutdown
       SEFOS(config-if)# ip address 192.0.0.100 255.255.255.0
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# exit

5. Set up SLB entries.

       SEFOS(config)# slb 10.10.10.0 255.255.255.0 192.0.0.1,192.0.0.2,192.0.0.3
       SEFOS(config)# slb standby 10.10.10.0 255.255.255.0 192.0.0.4

6. Set the traffic distribution hash policy (if needed).

       SEFOS(config)# slb policy src-ip
       SEFOS(config)# end

7. View the updated 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        ----  --:--:--:--:--:-- ---- IDLE
       192.0.0.2        ----  --:--:--:--:--:-- ---- IDLE
       192.0.0.3        ----  --:--:--:--:--:-- ---- IDLE
       192.0.0.4        ----  --:--:--:--:--:-- ---- STANDBY   (down)

   The preceding output shows that all active servers are in idle state (not reachable from the switch) and that the standby server is also unreachable from the switch (marked as `down` in the Comments column).

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |