![Dell Force10 S4810 Скачать руководство пользователя страница 16](http://html.mh-extra.com/html/dell/force10-s4810/force10-s4810_deployment-manual_84489016.webp)
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