Idle Timeout: 0 seconds, Internal Idle Timeout: 0 seconds
Packets: -, Bytes: -
Match Parameters:
Valid Match: DMAC,Vid
In Port : * EType : *
SMAC : *
DMAC : 00:22:22:22:22:22
VLAN id : 200
VLAN PCP : *
IP TOS : * IP proto : *
Src IP : * Dest IP : *
Src Port : * Dest Port : *
Actions:
Output: Te 0/1
For complete L2 flow formats, refer to
FlowTypes
.
Learning Bridge (LB) Flows
Learning bridge flows are only supported on OF VLANs. In the example below, of-instance 2 represents an LB flow. To
use the LB flow table, you must enable the
multiple-fwd-table
and
learning-switch-assist
commands,
as shown below. If you do not enable either command, LB 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 shows a sample flow in of-vlan 200:
FTOS#show openflow flows of-instance 2
Instance: 2, Table: lb, Flow: 5, Cookie: 0xffffffffac2dbc22
Priority: 32768, Internal Priority: 0
Up Time: 0d 00:00:03, Hard Timeout: 0 seconds
Idle Timeout: 0 seconds, Internal Idle Timeout: 0 seconds
Packets: -, Bytes: -
Match Parameters:
Valid Match: InPort,SMAC,DMAC,Vid
In Port : Te 0/0
EType : *
SMAC : 00:00:00:00:00:11 DMAC : 00:00:00:00:00:33
VLAN id : 200
VLAN PCP : *
IP TOS : * IP proto : *
Src IP : * Dest IP : *
Src Port : * Dest Port : *
Actions:
Output: Te 0/1
For complete LB flow formats, refer to
FlowTypes
.
Packet Trace
Enable OpenFlow protocol packet tracing by using the
debug openflow packets packet-type {
of-id
}
command.
17