# Check the baud rate of the switch
# It is usually 9600 or 115200
sudo screen /dev/ttyS0 115200
# Later to connect to previous screen session
sudo screen -x
enable
copy running-config startup-config
enable
configure
interface managementethernet 1/1
ip address <ip address>/<cidr>
no shutdown
enable
configure
hostname <host_name>
enable
configure
ip ssh server enable
enable
configure
username <username> password 0 <password>
enable
configure
enable password 0 <password>
enable
configure
interface gigabitethernet 1/<port number>
switchport
no shutdown
interface range gigabitethernet 1/<start-port>-1/<end-port>
# Example:
interface range tengigabitethernet 1/3/1-1/3/4
There are a few rules:
PLAN (Private VLAN)
VLANs are used to isolate users in different subnets usually. However, PVLAN is used to isolate users in the same subnet. ISPs uses PVLAN to prevent their users reach to each other.
# ---- [Listing VLANs]
enable
show vlan
# ---- [Creating VLANs]
enable
configure
interface vlan <new VLAN ID>
# ---- [Adding ports to VLAN]
enable
configure
interface vlan <VLAN ID>
untagged gigabitethernet 1/<port number>
untagged gigabitethernet 1/45-1/48
no untagged gigabitethernet 1/<port number>
# Then add to a vlan either tagged ot untagged
enable
configure
interface twentygigabit 1/29/1
portmode hybrid
switchport
show mac-address-table
show interfaces status
show interfaces configured
show interfaces switchport
show running-config
# For an Interface:
interface twentyFiveGigE 1/3/1
show config
show system stack-unit 1 fanout configured
stack-unit <stack number> port <port number> portmode <mode> speed <speed>
# Example with no:
no stack-unit 1 port 3 portmode quad
#<stack number>: 1-6
#<port number>: 1/2
#<mode>: {dual, quad, single}
#<speed>: {100G, 40G, 10G}
# Example:
stack-unit 1 port 1/2 portmode single speed 40G
Example:
Set an interface to default settings:
default interface twentyFiveGigE 1/3/3
Dell(conf)#openflow of-instance 1
Dell(conf-of-instance-1)#controller 1 10.11.54.60 tcp sndbuf 32000
Dell#show openflow of-instance 1
Instance : 1
<snipped>
Controller 1 : TCP, 10.11.54.60/6633, rcv/sndbuf 2000/32000, not-connected
Controller 2 : -
openflow of-instance 1
controller 1 192.168.10.10 tcp
of-version 1.0
dpid-mac-addr 00:00:00:01:00:52
no shutdown
cam-acl default
cam-acl-vlan default
That’s it!