Supermicro: Setting up VLANs and Routing within an SSE-X24 Switch

From Define Wiki
Jump to navigation Jump to search
  • Default user: ADMIN/ADMIN
  • Very similar to cisco interface
  • To connect via serial: screen /dev/ttyUSB0 9600 (assuming youre using the USB0 port, may be TTY0 or TTY1 instead)

Setup a VLAN IP Addr

SMIS(config)# vlan 1 
SMIS(config-vlan)# name vlan1
SMIS(config-vlan)# exit
SMIS(config)# interface vlan 1 
SMIS(config-if)# ip address 172.16.0.1/24
SMIS(config-if)# exit

Ping from the SM Switch

  • You'll need to be in the 'enable' mode, not the config termial mode.
SMIS# ping 10.42.42.42
Reply Received From :10.42.42.42, TimeTaken : 10 msecs
Reply Received From :10.42.42.42, TimeTaken : 10 msecs
Reply Received From :10.42.42.42, TimeTaken : 10 msecs

--- 10.42.42.42 Ping Statistics --- 
3 Packets Transmitted, 3 Packets Received, 0% Packets Loss 
SMIS# conf t 
SMIS(config)# ping 10.42.42.42
% Invalid Command

Set the default gateway

SMIS(config)# ip route 0.0.0.0 0.0.0.0 10.0.0.3

Save the configuration

SMIS(config)# exit
SMIS# write stat
EXEC commands :
SMIS# write startup-config 
Building configuration, Please wait. May take a few minutes ...
[OK]

Setting up VLAN routing for Piston 3.5

# just notes as im going along - to be tidied up
SMIS(config)# vlan 2
SMIS(config-vlan)# name services
SMIS(config-vlan)# exit
SMIS(config)# interface vlan 2 
SMIS(config-if)# ip address 172.16.2.1/24
SMIS(config-if)# no shutdown
SMIS(config-if)# exit
SMIS(config)# vlan 3
SMIS(config-vlan)# name cloud 
SMIS(config-vlan)# exit
SMIS(config)# interface vlan 3
SMIS(config-if)# ip address 172.16.3.1/24
SMIS(config-if)# no shutdown
SMIS(config-if)# exit
SMIS(config)# vlan 4 
SMIS(config-vlan)# name public 
SMIS(config-vlan)# exit
SMIS(config)# interface vlan 4
SMIS(config-if)# ip address 172.16.4.1/24
SMIS(config-if)# no shutdown 
SMIS(config-if)# exit

# Assign ports to VLAN1 as untagged, rest of VLANs are tagged

SMIS(config)# vlan 1 
SMIS(config-vlan)# ports extreme-ethernet 0/1-24 untagged
SMIS(config-vlan)# exit
SMIS(config)# vlan 2 
SMIS(config-vlan)# ports  extreme-ethernet 0/1-24 tagged
SMIS(config-vlan)# exit
SMIS(config)# vlan 3
SMIS(config-vlan)# ports  extreme-ethernet 0/1-24 tagged
SMIS(config-vlan)# exit
SMIS(config)# vlan 4 
SMIS(config-vlan)# ports  extreme-ethernet 0/1-24 tagged
SMIS(config-vlan)# exit

Jon's second attempt (should be much the same as above). This is just copy and paste from SMIS terminal:

## Create VLANs and assign IP addresses

SMIS# enable
SMIS# configure terminal
SMIS(config)# vlan 2
SMIS(config-vlan)# name services
SMIS(config-vlan)# exit
SMIS(config)# interface vlan 2
SMIS(config-if)# ip address 172.16.2.1/24
SMIS(config-if)# no shutdown
SMIS(config-if)# exit
SMIS(config)# vlan 3
SMIS(config-vlan)# name cloud
SMIS(config-vlan)# exit
SMIS(config)# interface vlan 3
SMIS(config-if)# ip address 172.16.3.1/24
SMIS(config-if)# no shutdown
SMIS(config-if)# exit
SMIS(config)# vlan 4
SMIS(config-vlan)# name public
SMIS(config-vlan)# exit
SMIS(config)# interface vlan 4
SMIS(config-if)# ip address 172.16.4.1/24
SMIS(config-if)# no shutdown 
SMIS(config-if)# exit 
SMIS(config)# vlan 10
SMIS(config-vlan)# name internet
SMIS(config-vlan)# exit
SMIS(config)# interface vlan 10
SMIS(config-if)# ip address 10.42.42.42/8
SMIS(config-if)# no shutdown
SMIS(config-if)# exit

## Add ports to each VLAN - VLAN1 (for PXE boot/installations) should be untagged, all other VLANs are tagged

SMIS(config)# vlan 1
SMIS(config-vlan)# no ports gi 0/1 untagged
SMIS(config-vlan)# ports extreme-ethernet 0/1-24 untagged
SMIS(config-vlan)# exit
SMIS(config)# vlan 2
SMIS(config-vlan)# ports extreme-ethernet 0/1-24 tagged
SMIS(config-vlan)# exit
SMIS(config)# vlan 3
SMIS(config-vlan)# ports extreme-ethernet 0/1-24 tagged 
SMIS(config-vlan)# exit
SMIS(config)# vlan 4
SMIS(config-vlan)# ports extreme-ethernet 0/1-24 tagged 
SMIS(config-vlan)# exit
SMIS(config)# vlan 10
SMIS(config-vlan)# ports gi 0/1 untagged
SMIS(config-vlan)# exit

## Set PVID for Gi 0/1 (1GbE interface) - not sure if this is necessary

SMIS(config)# interface gi 0/1
SMIS(config-if)# switchport pvid 10
SMIS(config-if)# exit

## Enable routing (?) and show ip information

SMIS(config)# ip routing 
SMIS(config)# show ip information 

Global IP Configuration:
------------------------
 IP routing is enabled
 Default TTL is 64

## Set default gateway

SMIS(config)# ip route 0.0.0.0 0.0.0.0 10.0.0.3

## Write config to startup file

SMIS(config)# exit
SMIS# write startup-config 
Building configuration, Please wait. May take a few minutes ...
[OK]

Running Config for Piston 3.5

SMIS# show running-config 

Building configuration...
Switch ID   	Hardware Version         	Firmware Version    
0           	SSE-X24 B   (P3-01)        	1.0.2-7             

ip address 172.16.0.1
vlan 10
  ports gi 0/1 untagged
 name management
exit
vlan 1
  ports ex 0/1-24 untagged
 name 10gnet
exit
vlan 2
  ports ex 0/1-24 tagged
 name services
exit
vlan 3
  ports ex 0/1-24 tagged
 name cloud
exit
vlan 4
 ports ex 0/1-24 tagged
 name public
exit

interface Gi 0/1
 switchport pvid 10

interface vlan 1
 ip address  172.16.0.1 255.255.255.0

interface vlan 10
 ip address  10.42.42.42 255.0.0.0

interface vlan 2
 ip address  172.16.2.1 255.255.255.0

interface vlan 3
 ip address  172.16.3.1 255.255.255.0

interface vlan 4
 ip address  172.16.4.1 255.255.255.0

exit
ip route 0.0.0.0  0.0.0.0  10.0.0.3  1 

interface vlan 1 
 ipv6 address fe80::230:48ff:fee3:5c88 link-local 
exit
SMIS(config)# ip routing 
SMIS(config)# show ip information 

Global IP Configuration:
------------------------
 IP routing is enabled
 Default TTL is 64

Running config from Jon's second attempt:

SMIS# show running-config 

Building configuration...
Switch ID  Hardware Version             Firmware Version  OS Version          
0          SSE-X24S Rev. B   (P3-01)    1.0.7-8           1.1.5               

ip address 172.16.0.1
vlan 1
  ports ex 0/1-24 untagged
exit
vlan 2
  ports ex 0/1-24 tagged
 name services
exit
vlan 3
  ports ex 0/1-24 tagged
 name cloud
exit
vlan 4
  ports ex 0/1-24 tagged
 name public
exit
vlan 10
 ports gi 0/1 untagged
 name internet
exit

interface Gi 0/1
 capabilities speed-1000full speed-100full speed-10full
 switchport pvid 10

interface vlan 1
 ip address  172.16.0.1 255.255.255.0

interface vlan 2
 ip address  172.16.2.1 255.255.255.0

interface vlan 3
 ip address  172.16.3.1 255.255.255.0

interface vlan 4
 ip address  172.16.4.1 255.255.255.0

interface vlan 10
 ip address  10.42.42.42 255.0.0.0

exit
ip route 0.0.0.0  0.0.0.0  10.0.0.3  1 

interface vlan 1 
 ipv6 address fe80::230:48ff:fee3:60a2 link-local 
exit