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. Disable GVRP and GMRP.

       SEFOS(config)# set gvrp disable
       SEFOS(config)# set gmrp disable

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

       SEFOS# configure terminal

3. 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

4. Shut down switch ports connected to servers.

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

5. Set up the client VLAN.

   Set up switch port access of the client network.

       SEFOS(config)# vlan 2
       SEFOS(config-vlan)# exit
       SEFOS(config)# interface range extreme-ethernet 0/3-6
       SEFOS(config-if-range)# switchport access vlan 2
       SEFOS(config-if-range)# exit

   Set up interface address of the client VLAN.

       SEFOS(config)# interface vlan 2
       SEFOS(config-if)# shutdown
       SEFOS(config-if)# ip address 20.0.0.100 255.255.255.0
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# exit

6. Set up the server VLAN.

   Set up VLAN switch port access for the server network.

       SEFOS(config)# vlan 3
       SEFOS(config-vlan)# exit
       SEFOS(config)# interface range extreme-ethernet 0/15-18
       SEFOS(config-if-range)# switchport access vlan 3
       SEFOS(config-if-range)# exit

   Set up interface address of the server VLAN.

       SEFOS(config)# interface vlan 3
       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

7. 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

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

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

9. 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 |