Dell Force10 Software Defined Networking Software-Defined Networking (SDN) Dep - Page 16

L2 Flows, Instance: 2, Table: mac, Flow: 4, Cookie: 0xfac2dbbf2

Page 16 highlights

Packets: -, Bytes: - Match Parameters: Valid Match: Etype,DMAC,DIP In Port : * SMAC : * VLAN id : * IP TOS : * Src IP : * Src Port : * Actions: Set SMAC: 00:01:e8:8b:1a:32 Set DMAC: 00:00:00:00:00:11 Output: Te 0/31 EType : ip DMAC : 00:01:e8:8b:1a:32 VLAN PCP : * IP proto : * Dest IP : 1.1.1.0/24 Dest Port : * The following example shows the sample L3 flow in of-instance 2 transmitting packets from the OF VLAN port Te 0/1: FTOS#show openflow flows of-instance 2 Instance: 2, Table: route, Flow: 3, Cookie: 0xffffffffa4cb6a2e Priority: 32768, Internal Priority: 0 Up Time: 0d 00:00:11, Hard Timeout: 0 seconds Idle Timeout: 0 seconds, Internal Idle Timeout: 0 seconds Packets: -, Bytes: - Match Parameters: Valid Match: Etype,DMAC,DIP In Port : * EType : ip SMAC : * DMAC : 00:01:e8:8b:1a:32 VLAN id : * VLAN PCP : * IP TOS : * IP proto : * Src IP : * Dest IP : 2.2.2.2/32 Src Port : * Dest Port : * Actions: Set VLAN id: 200 Set SMAC: 00:01:e8:8b:1a:32 Set DMAC: 00:00:00:00:00:22 Output: Te 0/1 For complete L3 flow formats, refer to FlowTypes . L2 Flows L2 flows are only supported on OF VLANs. In the following example, of-instance 2 is used to demonstrate an L2 flow. To use the L2 flow table, you must enable the multiple-fwd-table and flow-map l2 commands, as shown below. If you do not enable either command , L2 flows are added to the ACL table. FTOS#show running-config openflow of-instance 2 ! openflow of-instance 2 controller 1 10.11.205.184 tcp flow-map l2 enable flow-map l3 enable interface-type vlan learning-switch-assist enable multiple-fwd-table enable no shutdown The example below demonstrates a sample flow in of-vlan 200: FTOS#show openflow flows of-instance 2 Instance: 2, Table: mac, Flow: 4, Cookie: 0xffffffffac2dbbf2 Priority: 32768, Internal Priority: 0 Up Time: 0d 00:00:09, Hard Timeout: 0 seconds 16

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36

Packets: -, Bytes: -
Match Parameters:
Valid Match: Etype,DMAC,DIP
In Port
: *
EType
: ip
SMAC
: *
DMAC
: 00:01:e8:8b:1a:32
VLAN id
: *
VLAN PCP
: *
IP TOS
: *
IP proto
: *
Src IP
: *
Dest IP
: 1.1.1.0/24
Src Port
: *
Dest Port : *
Actions:
Set SMAC: 00:01:e8:8b:1a:32
Set DMAC: 00:00:00:00:00:11
Output: Te 0/31
The following example shows the sample L3 flow in of-instance 2 transmitting packets from the OF VLAN port Te 0/1:
FTOS#show openflow flows of-instance 2
Instance: 2, Table: route, Flow: 3, Cookie: 0xffffffffa4cb6a2e
Priority: 32768, Internal Priority: 0
Up Time: 0d 00:00:11, Hard Timeout: 0 seconds
Idle Timeout: 0 seconds, Internal Idle Timeout: 0 seconds
Packets: -, Bytes: -
Match Parameters:
Valid Match: Etype,DMAC,DIP
In Port
: *
EType
: ip
SMAC
: *
DMAC
: 00:01:e8:8b:1a:32
VLAN id
: *
VLAN PCP
: *
IP TOS
: *
IP proto
: *
Src IP
: *
Dest IP
: 2.2.2.2/32
Src Port
: *
Dest Port : *
Actions:
Set VLAN id: 200
Set SMAC: 00:01:e8:8b:1a:32
Set DMAC: 00:00:00:00:00:22
Output: Te 0/1
For complete L3 flow formats, refer to
FlowTypes
.
L2 Flows
L2 flows are only supported on OF VLANs. In the following example, of-instance 2 is used to demonstrate an L2 flow. To
use the L2 flow table, you must enable the
multiple-fwd-table
and
flow-map l2
commands, as shown below.
If you do not enable either command , L2 flows are added to the ACL table.
FTOS#show running-config openflow of-instance 2
!
openflow of-instance 2
controller 1 10.11.205.184
tcp
flow-map l2 enable
flow-map l3 enable
interface-type vlan
learning-switch-assist enable
multiple-fwd-table enable
no shutdown
The example below demonstrates a sample flow in of-vlan 200:
FTOS#show openflow flows of-instance 2
Instance: 2, Table: mac, Flow: 4, Cookie: 0xffffffffac2dbbf2
Priority: 32768, Internal Priority: 0
Up Time: 0d 00:00:09, Hard Timeout: 0 seconds
16