Sun Ethernet Fabric Operating System

Exit Print View

Updated: July 2015
 
 

Configure Switch TOR72p-1

  1. Start the configuration with all ports and the default VLAN shutdown.
    ToR72p-1 SEFOS# configure terminal
    ToR72p-1 SEFOS(config)# set gvrp disable
    ToR72p-1 SEFOS(config)# set gmrp disable
    ToR72p-1 SEFOS(config)# interface vlan 1
    ToR72p-1 SEFOS(config-if)# shutdown
    ToR72p-1 SEFOS(config-if)# no ip address
    ToR72p-1 SEFOS(config-if)# exit
    ToR72p-1 SEFOS(config)#  shutdown spanning-tree
    ToR72p-1 SEFOS(config)# interface range extreme-ethernet 0/1-72
    ToR72p-1 SEFOS(config-if-range)# shutdown
    ToR72p-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.

    ToR72p-1 SEFOS# configure terminal
    ToR72p-1 SEFOS(config)# vlan 20
    ToR72p-1 SEFOS(config-vlan)# ports add extreme-ethernet 0/61 untagged extreme-ethernet 0/61
    ToR72p-1 SEFOS(config-vlan)# vlan active
    ToR72p-1 SEFOS(config-vlan)# exit
    ToR72p-1 SEFOS(config)# vlan 30
    ToR72p-1 SEFOS(config-vlan)# ports add extreme-ethernet 0/63 untagged extreme-ethernet 0/63
    ToR72p-1 SEFOS(config-vlan)# vlan active
    ToR72p-1 SEFOS(config-vlan)# exit
    ToR72p-1 SEFOS(config)# vlan 40
    ToR72p-1 SEFOS(config-vlan)# ports add extreme-ethernet 0/66 untagged extreme-ethernet 0/66 
    ToR72p-1 SEFOS(config-vlan)# vlan active
    ToR72p-1 SEFOS(config-vlan)# exit
    ToR72p-1 SEFOS(config)# end
    
  3. Enable the ports and allow appropriate VLANs as untagged.
    ToR72p-1 SEFOS# configure terminal
    ToR72p-1 SEFOS(config)# interface range extreme-ethernet 0/61
    ToR72p-1 SEFOS(config-if-range)# description "connected to ES1-24p-1"
    ToR72p-1 SEFOS(config-if-range)# switchport acceptable-frame-type untaggedAndPrioritytagged 
    ToR72p-1 SEFOS(config-if-range)# switchport pvid 20
    ToR72p-1 SEFOS(config-if-range)# no shutdown
    ToR72p-1 SEFOS(config-if-range)# exit
    ToR72p-1 SEFOS(config)#  interface range extreme-ethernet 0/63
    ToR72p-1 SEFOS(config-if-range)# description "connected to ES1-24p-2"
    ToR72p-1 SEFOS(config-if-range)# switchport acceptable-frame-type untaggedAndPrioritytagged
    ToR72p-1 SEFOS(config-if-range)# switchport pvid 30
    ToR72p-1 SEFOS(config-if-range)# no shutdown
    ToR72p-1 SEFOS(config-if-range)# exit
    ToR72p-1 SEFOS(config)# interface range extreme-ethernet 0/66
    ToR72p-1 SEFOS(config-if-range)# description "connected to Host-1"
    ToR72p-1 SEFOS(config-if-range)# switchport pvid 40
    ToR72p-1 SEFOS(config-if-range)# no shutdown
    ToR72p-1 SEFOS(config-if-range)# exit
    ToR72p-1 SEFOS(config)# end
    
  4. Configure the L3 interface with IPv4 and IPv6 addresses for all the VLANs created previously.
    ToR72p-1 SEFOS# configure terminal
    ToR72p-1 SEFOS(config)# interface vlan 20
    ToR72p-1 SEFOS(config-if)# ip address 192.168.20.10 255.255.255.0
    ToR72p-1 SEFOS(config-if)# ipv6 enable
    ToR72p-1 SEFOS(config-if)# ipv6 address 2000::10 112 unicast
    ToR72p-1 SEFOS(config-if)# no shutdown
    ToR72p-1 SEFOS(config-if)# exit
    ToR72p-1 SEFOS(config)# interface vlan 30
    ToR72p-1 SEFOS(config-if)# ip address 192.168.30.10 255.255.255.0
    ToR72p-1 SEFOS(config-if)# ipv6 enable
    ToR72p-1 SEFOS(config-if)# ipv6 address 3000::10 112 unicast
    ToR72p-1 SEFOS(config-if)# no shutdown
    ToR72p-1 SEFOS(config-if)# exit
    ToR72p-1 SEFOS(config)# interface vlan 40
    ToR72p-1 SEFOS(config-if)# ip address 192.168.40.10 255.255.255.0
    ToR72p-1 SEFOS(config-if)# ipv6 enable
    ToR72p-1 SEFOS(config-if)# ipv6 address 4000::10 112 unicast
    ToR72p-1 SEFOS(config-if)# no shutdown
    ToR72p-1 SEFOS(config-if)# exit
    ToR72p-1 SEFOS(config)# end
    
  5. Save the configuration.
    ToR72p-1 SEFOS# copy run start
    Building configuration ...
    [OK]                                                          
    ToR72p-1 SEFOS#