Sun Ethernet Fabric Operating System

Exit Print View

Updated: July 2015
 
 

Configure Switch ES1-24p-2

  1. Start the configuration with all ports and the default VLAN shutdown.
    ES1-24p-2 SEFOS# configure terminal
    ES1-24p-2 SEFOS(config)# set gvrp disable
    ES1-24p-2 SEFOS(config)# set gmrp disable
    ES1-24p-2 SEFOS(config)# set port-channel enable
    ES1-24p-2 SEFOS(config)# interface vlan 1
    ES1-24p-2 SEFOS(config-if)# shutdown
    ES1-24p-2 SEFOS(config-if)# no ip address
    ES1-24p-2 SEFOS(config-if)# exit 
    ES1-24p-2 SEFOS(config)# shutdown spanning-tree
    ES1-24p-2 SEFOS(config)# interface range extreme-ethernet 0/1-24
    ES1-24p-2 SEFOS(config-if-range)# shutdown
    ES1-24p-2 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-2 SEFOS# configure terminal
    ES1-24p-2 SEFOS(config)# vlan 30
    ES1-24p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/23 untagged extreme-ethernet 0/23
    ES1-24p-2 SEFOS(config-vlan)# vlan active
    ES1-24p-2 SEFOS(config-vlan)# exit
    ES1-24p-2 SEFOS(config)# vlan 100
    ES1-24p-2 SEFOS(config-vlan)# ports add extreme-ethernet 0/4,0/20 untagged extreme-ethernet 0/4,0/20
    ES1-24p-2 SEFOS(config-vlan)# vlan active
    ES1-24p-2 SEFOS(config-vlan)# exit
    ES1-24p-2 SEFOS(config)# end
    
  3. Enable the ports and allow appropriate VLANs as untagged.
    ES1-24p-2 SEFOS# configure terminal
    ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/4
    ES1-24p-2 SEFOS(config-if)# description connected to Host-2
    ES1-24p-2 SEFOS(config-if)# switchport access vlan 100
    ES1-24p-2 SEFOS(config-if)# no shutdown
    ES1-24p-2 SEFOS(config-if)# exit
    ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/20
    ES1-24p-2 SEFOS(config-if)# description connected to ES1-24p-1
    ES1-24p-2 SEFOS(config-if)# switchport acceptable-frame-type untaggedAndPrioritytagged
    ES1-24p-2 SEFOS(config-if)# switchport pvid 100
    ES1-24p-2 SEFOS(config-if)# no shutdown
    ES1-24p-2 SEFOS(config-if)# exit
    ES1-24p-2 SEFOS(config)# interface extreme-ethernet 0/23
    ES1-24p-2 SEFOS(config-if)# description connected to ToR72p-1
    ES1-24p-2 SEFOS(config-if)# switchport acceptable-frame-type untaggedAndPrioritytagged
    ES1-24p-2 SEFOS(config-if)# switchport pvid 30
    ES1-24p-2 SEFOS(config-if)# no shutdown
    ES1-24p-2 SEFOS(config-if)# 
    ES1-24p-2 SEFOS(config)# end
    
  4. Configure the L3 interface with IPv4 and IPv6 addresses for all the VLANs created previously.
    ES1-24p-2 SEFOS# configure terminal 
    ES1-24p-2 SEFOS(config)# interface vlan 30
    ES1-24p-2 SEFOS(config-if)# ip address 192.168.30.20 255.255.255.0
    ES1-24p-2 SEFOS(config-if)# ipv6 enable
    ES1-24p-2 SEFOS(config-if)# ipv6 address 3000::20 112 unicast
    ES1-24p-2 SEFOS(config-if)# no shutdown
    ES1-24p-2 SEFOS(config-if)# exit
    ES1-24p-2 SEFOS(config)# interface vlan 100
    ES1-24p-2 SEFOS(config-if)# ip address 192.168.100.10 255.255.255.0
    ES1-24p-2 SEFOS(config-if)# ip address 192.168.101.10 255.255.255.0 secondary
    ES1-24p-2 SEFOS(config-if)# ip address 192.168.102.10 255.255.255.0 secondary
    ES1-24p-2 SEFOS(config-if)# ipv6 enable
    ES1-24p-2 SEFOS(config-if)# ipv6 address 1000::10 112 unicast
    ES1-24p-2 SEFOS(config-if)# ipv6 address 1100::10 112 unicast
    ES1-24p-2 SEFOS(config-if)# ipv6 address 1200::10 112 unicast
    ES1-24p-2 SEFOS(config-if)# no shutdown
    ES1-24p-2 SEFOS(config-if)# exit
    ES1-24p-2 SEFOS(config)# end
    
  5. Configure VRRP version 3 with server facing VLANs to load balance traffic and avoid single point failure.

    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-2 SEFOS# configure terminal
    ES1-24p-2 SEFOS(config)# router vrrp
    ES1-24p-2 SEFOS(config-vrrp)# vrrp version v3
    ES1-24p-2 SEFOS(config-vrrp)# interface vlan 100
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv4 192.168.100.1
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv4 priority 100
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv4 timer msec 2000
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv6 fe80::210:e0ff:fe2c:fd21
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv6 1000::5 secondary
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv6 1100::5 secondary
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv6 1200::5 secondary
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv6 priority 150
    ES1-24p-2 SEFOS(config-vrrp-if)# vrrp 1 ipv6 timer msec 2000
    ES1-24p-2 SEFOS(config-vrrp-if)# end
    
  6. Save the configuration.
    ES1-24p-2 SEFOS# copy run start
    Building configuration ...
    [OK]