Sun Ethernet Fabric Operating System

Exit Print View

Updated: July 2015
 
 

Configure Switch ES1-24p-1

  1. Start the configuration with all ports and the default VLAN shutdown.
    ES1-24p-1 SEFOS# configure terminal
    ES1-24p-1 SEFOS(config)# set gvrp disable
    ES1-24p-1 SEFOS(config)# set gmrp disable
    ES1-24p-1 SEFOS(config)# set port-channel enable
    ES1-24p-1 SEFOS(config)# interface vlan 1
    ES1-24p-1 SEFOS(config-if)# shutdown
    ES1-24p-1 SEFOS(config-if)# no ip address
    ES1-24p-1 SEFOS(config-if)# exit
    ES1-24p-1 SEFOS(config)#  shutdown spanning-tree
    ES1-24p-1 SEFOS(config)# interface range extreme-ethernet 0/1-24
    ES1-24p-1 SEFOS(config-if-range)# shutdown
    ES1-24p-1 SEFOS(config-if-range)# end
    
  2. Configure VLANs manually.

    You must add at least one port to the VLAN before you can assign the VLAN name.

    ES1-24p-1 SEFOS# configure terminal
    ES1-24p-1 SEFOS(config)# vlan 20
    ES1-24p-1 SEFOS(config-vlan)# ports add extreme-ethernet 0/23 untagged extreme-ethernet 0/23 
    ES1-24p-1 SEFOS(config-vlan)# vlan active
    ES1-24p-1 SEFOS(config-vlan)# exit
    ES1-24p-1 SEFOS(config)# vlan 100
    ES1-24p-1 SEFOS(config-vlan)# ports add extreme-ethernet 0/4,0/20 untagged extreme-ethernet 0/4,0/20
    ES1-24p-1 SEFOS(config-vlan)# vlan active
    ES1-24p-1 SEFOS(config-vlan)# exit
    ES1-24p-1 SEFOS(config)# end
    
  3. Enable the ports and allow appropriate VLANs as untagged.
    ES1-24p-1 SEFOS# configure terminal
    ES1-24p-1 SEFOS(config)# interface extreme-ethernet 0/4
    ES1-24p-1 SEFOS(config-if)# description connected to Host-2 01”
    ES1-24p-1 SEFOS(config-if)# switchport pvid 100
    ES1-24p-1 SEFOS(config-if)# no shutdown
    ES1-24p-1 SEFOS(config-if)# exit
    ES1-24p-1 SEFOS(config)# interface extreme-ethernet 0/20
    ES1-24p-1 SEFOS(config-if)# description connected to ES1-24p-2
    ES1-24p-1 SEFOS(config-if)# switchport acceptable-frame-type untaggedAndPrioritytagged
    ES1-24p-1 SEFOS(config-if)# switchport pvid 100
    ES1-24p-1 SEFOS(config-if)# no shutdown
    ES1-24p-1 SEFOS(config-if)# exit
    ES1-24p-1 SEFOS(config)# interface extreme-ethernet 0/23
    ES1-24p-1 SEFOS(config-if)# description "connected to ToR72p-1 on port61"
    ES1-24p-1 SEFOS(config-if)# switchport acceptable-frame-type untaggedAndPrioritytagged
    ES1-24p-1 SEFOS(config-if)# switchport pvid 20
    ES1-24p-1 SEFOS(config-if)# no shutdown
    ES1-24p-1 SEFOS(config-if)# exit
    ES1-24p-1 SEFOS(config)# end
    
  4. Configure the L3 interface with IPv4 and IPv6 addresses for all the VLANs created previously.
    ES1-24p-1 SEFOS# configure terminal 
    ES1-24p-1 SEFOS(config)# interface vlan 20
    ES1-24p-1 SEFOS(config-if)# ip address 192.168.20.20 255.255.255.0
    ES1-24p-1 SEFOS(config-if)# ipv6 enable
    ES1-24p-1 SEFOS(config-if)# ipv6 address 2000::20 112 unicast
    ES1-24p-1 SEFOS(config-if)# no shutdown
    ES1-24p-1 SEFOS(config-if)# exit
    ES1-24p-1 SEFOS(config)# interface vlan 100
    ES1-24p-1 SEFOS(config-if)# ip address 192.168.100.20 255.255.255.0
    ES1-24p-1 SEFOS(config-if)# ip address 192.168.101.20 255.255.255.0 secondary
    ES1-24p-1 SEFOS(config-if)# ip address 192.168.102.20 255.255.255.0 secondary
    ES1-24p-1 SEFOS(config-if)# ipv6 enable
    ES1-24p-1 SEFOS(config-if)# ipv6 address 1000::20 112 unicast
    ES1-24p-1 SEFOS(config-if)# ipv6 address 1100::20 112 unicast 
    ES1-24p-1 SEFOS(config-if)# ipv6 address 1200::20 112 unicast
    ES1-24p-1 SEFOS(config-if)# no shutdown
    ES1-24p-1 SEFOS(config-if)# exit
    ES1-24p-1 SEFOS(config)# end
    
  5. Configure VRRP version 3 with server facing VLANs to load balance traffic and avoid single point failure.

    VRRP versions supported are V2 and V3. V2-V3 is an intermediate version used only to migrate from V2 to V3.

    The following commands are explained with an example in Master Election Based on IP Address, Master Election Based on Priority, and Configure Accept-mode sections.

    ES1-24p-1 SEFOS# configure terminal
    ES1-24p-1 SEFOS(config)# router vrrp
    ES1-24p-1 SEFOS(config-vrrp)# vrrp version ?
    VRRP commands :
      vrrp version { v2 | v2-v3 | v3 }
    ES1-24p-1 SEFOS(config-vrrp)# vrrp version v3
    ES1-24p-1 SEFOS(config-vrrp)# end
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv4 192.168.100.1
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv4 priority 200
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv4 timer msec 2000
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv4 accept-mode enable
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv6 fe80::210:e0ff:fe2c:fd21 
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv6 1000::5 secondary 
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv6 1100::5 secondary
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv6 1200::5 secondary
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv6 priority 200
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv6 timer msec 2000
    ES1-24p-1 SEFOS(config-vrrp-if)# vrrp 1 ipv6 accept-mode enable
    ES1-24p-1 SEFOS(config-vrrp-if)# end
    
  6. Save the configuration.
    ES1-24p-1 SEFOS# copy run start
    Building configuration ...
    [OK]