90440-Introduction To SDN - Part 1
90440-Introduction To SDN - Part 1
+
Cisco
Confiden+al
–
Strictly
for
Internal
Cisco
Use
Only
and
since
then…
“…explore
what
kind
of
Internet
we
would
design
if
we
were
to
start
with
a
clean
slate
and
20-‐30
years
of
hindsight.”
hbp://cleanslate.stanford.edu/
Cisco
Confiden+al
–
Strictly
for
Internal
Cisco
Use
Only
You
might
have
no+ced
the
Cisco
Logo
on
the
web
page
Cisco
provided
some
equipment
early
in
the
cycle
to
the
research
team
Namely
a
Catalyst
6500
and
3750
upon
which
some
of
the
early
work
was
done…
penflow
Controller
Cisco
Confiden+al
–
Strictly
for
Internal
Cisco
Use
Only
Northbound
API
Integral
part
of
Controll
“Network
enabled”
applica,on
c
make
use
of
Northbound
API
t
request
services
from
the
networ
penflow
Protocol
Cisco
Confiden+al
–
Strictly
for
Internal
Cisco
Use
Only
First
lesson
for
today…
Openflow
So8ware
Defined
Networking
OPENFLOW CONTROLLER
Switch
FLOW
CPU
TABLE
**
Switch
FLOW
CPU
TABLE
**
OPENFLOW CONTROLLER
Switch
FLOW
CPU
TABLE
OPENFLOW CONTROLLER
Switch
FLOW
CPU
TABLE
**
FLOW
TABLE
HEADER
FIELDS
COUNTERS
ACTIONS
… … … FLOW ENT
… … …
Flow “Entry” consists of one row in the Flow Table
FLOW
TABLE
HEADER
FIELDS
COUNTERS
ACTIONS
… … …
… … …
HEADER FIELDS
1 2 3 4 5 6 7 8 9 10 11 12
FLOW
TABLE
HEADER
FIELDS
COUNTERS
ACTIONS
Per
Port
Received
Packets
…
…
…
Transmit
Packets
…
…
…
Received
Bytes
Transmit
Bytes
Received
Drops
Transmit
Drops
Received
Errors
Per
Table
Per
Flow
Per
Queue
Transmit
Errors
Ac+ve
Entries
32
Bits
Received
Packets
64
Bits
Transmit
Packets
64
Bits
Received
Frame
Packet
Lookups
64
Bits
Received
Bytes
64
Bits
Transmit
Bytes
64
Bits
Alignment
Errors
Packet
Matches
64
Bits
Dura+on
(seconds)
32
Bits
TX
Overrun
Errors
64
Bits
RX
Overrun
Errors
Dura+on
(nanoseconds)
32
Bits
RX
CRC
Errors
Collisions
FLOW
TABLE
HEADER
FIELDS
COUNTERS
ACTIONS
… … …
… … …
OPENFLOW CONTROLLER
FLOW
Required
Ac+on
#
CPU
TABLE
Switch
OPENFLOW CONTROLLER
2
FLOW
Required
Ac+on
#
CPU
TABLE
Switch
OPENFLOW CONTROLLER
FLOW
Required
Ac+on
#
CPU
TABLE
Switch
OPENFLOW CONTROLLER
FLOW
Required
Ac+on
#
CPU
TABLE
Switch
OPENFLOW CONTROLLER
FLOW
Required
Ac+on
#
CPU
TABLE
Switch
OPENFLOW CONTROLLER
FLOW
Required
Ac+on
#
CPU
TABLE
Switch
OPENFLOW CONTROLLER
FLOW
Required
Ac+on
#
CPU
TABLE
Switch
Drop
Packet
Packet
SWITCH
FORWARDING
ENGINE
Forwarding
Stack
Perform
ac+on
in
4
4 3 table
7 Drop Packet
1 7
GROUP
TABLE
Switch
FLOW
FLOW
FLOW
CPU
TABLE
1
TABLE
2
TABLE
n
Openflow
1.1
Switch
consists
of
one
of
more
flow
tab
and
a
group
table
Cisco
Confiden+al
–
Strictly
for
Internal
Cisco
Use
Only
Match
Fields
Flow
Match
Fields
ingress
port
+
Table
ingress
port
+
metadata
+
metadata
+
pkt
headers
pkt
headers
Matching starts at Table 0 and “may” con+nue to next table
Keep
in
mind
the
TCAM’s
in
most
switches
on
the
market
today
are
built
to
match
on
basic
layer
3
and
some
layer
4
func+ons.
If
I
match
on
everything
I’ll
burn
up
all
my
TCAM
entry
space.
ONF
Members
Cisco
Confiden+al
–
Strictly
for
Internal
Cisco
Use
Only
That’s
a
serious
list
of
companies
!!!
Underlying
physical
network
carries
data
traffi
for
overlay
network
Cisco
Confiden+al
–
Strictly
for
Internal
Cisco
Use
Only
ul+ple
“overlay”
works
can
co-‐exist
t
the
same
+me