Sun Ethernet Fabric Operating System SLB Administration Guide

Exit Print View

Updated: July 2015
 
 

Set Up Switch A

Shut down SLB-related switch ports on the switch.

  1. Shut down switch ports connected to the clients.
    SEFOS# configure terminal
    SEFOS(config)# interface range extreme-ethernet 0/1-4
    SEFOS(config-if-range)# shutdown
    SEFOS(config-if-range)# exit
    
  2. Shut down uplink ports to switch B.
    SEFOS(config)# interface range extreme-ethernet 0/9-10
    SEFOS(config-if-range)# shutdown
    SEFOS(config-if-range)# exit
    
  3. Disable GVRP and GMRP.
    SEFOS(config)# set gvrp disable
    SEFOS(config)# set gmrp disable
    
  4. Set up spanning tree so that it works with two separate VLANs.
    SEFOS(config)# spanning-tree mst configuration
    SEFOS(config-mst)# name example3
    SEFOS(config-mst)# revision 1
    SEFOS(config-mst)# instance 1 vlan 3
    SEFOS(config-mst)# instance 2 vlan 4
    SEFOS(config-mst)# exit
    
  5. Set up the client VLAN.

    Set up VLAN switch port access to the client network.

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

    Set up the 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 the server VLANs on uplinks.

    SEFOS(config)# vlan 3
    SEFOS(config-vlan)# port extreme-ethernet 0/9
    SEFOS(config-vlan)# exit
    SEFOS(config)# vlan 4
    SEFOS(config-vlan)# port extreme-ethernet 0/10
    SEFOS(config-vlan)# exit
    

    Set up the VLAN gateway interface addresses of server subnets.

    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
    SEFOS(config)# interface vlan 4
    SEFOS(config-if)# shutdown
    SEFOS(config-if)# ip address 192.1.0.100 255.255.255.0
    SEFOS(config-if)# no shutdown
    SEFOS(config-if)# exit
    
  7. Set up SLB entries.

    Set up the first SLB group.

    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
    

    Set up the second SLB group.

    SEFOS(config)# slb 11.11.11.0 255.255.255.0 192.1.0.1,192.1.0.2,192.1.0.3
    
  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)
     
    SLB Group ID: 2 Virtual IP: 11.11.11.0/24
    Server Members:
    IP Address       Vlan  MacAddress        Port State     Comments
    ================ ====  ================= ==== ========= ==================
    192.1.0.1        ----  --:--:--:--:--:-- ---- IDLE
    192.1.0.2        ----  --:--:--:--:--:-- ---- IDLE
    192.1.0.3        ----  --:--:--:--:--:-- ---- IDLE
    

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