background image

Contents

Notes, Cautions, and Warnings...................................................................................................2

1 OpenFlow 1.0 Support.................................................................................................................5

Unsupported OpenFlow Messages

..........................................................................................................................5

Limitations

.................................................................................................................................................................5

2 Exceptions....................................................................................................................................7

ACL Flow Exceptions

................................................................................................................................................7

L3 Flow Exceptions

...................................................................................................................................................7

L2 Flow Exceptions

...................................................................................................................................................8

Learning Bridge (LB) Flow Exceptions 

.....................................................................................................................8

3 Flow Types....................................................................................................................................9

ACL Flows

.................................................................................................................................................................9

L3 Flows

....................................................................................................................................................................9

L2 Flows

..................................................................................................................................................................10

Learning Bridge (LB) Flows

.....................................................................................................................................10

Max Limits

...............................................................................................................................................................10

4 Flow Setup..................................................................................................................................13

Sample Topology

....................................................................................................................................................13

ACL Flows

...............................................................................................................................................................14

L3 Flows

..................................................................................................................................................................15

L2 Flows

..................................................................................................................................................................16

Learning Bridge (LB) Flows

.....................................................................................................................................17

Packet Trace

...........................................................................................................................................................17

5 Configuring ACL CAM Carving on S4810...............................................................................19

6 Configuring ACL CAM Carving on Z9000...............................................................................21

7 OpenFlow Instances.................................................................................................................23

8 OpenFlow Interfaces................................................................................................................25

OF Ports

...................................................................................................................................................................25

OF VLANs

................................................................................................................................................................25

9 SDN Commands.........................................................................................................................27

Summary of Contents for Force10 S4810

Page 1: ...Software Defined Networking SDN Deployment Guide Version 1 0 ...

Page 2: ... Sempron are trademarks of Advanced Micro Devices Inc Microsoft Windows Windows Server Internet Explorer MS DOS Windows Vista and Active Directory are either trademarks or registered trademarks of Microsoft Corporation in the United States and or other countries Red Hat and Red Hat Enterprise Linux are registered trademarks of Red Hat Inc in the United States and or other countries Novell and SUSE...

Page 3: ...e LB Flow Exceptions 8 3 Flow Types 9 ACL Flows 9 L3 Flows 9 L2 Flows 10 Learning Bridge LB Flows 10 Max Limits 10 4 Flow Setup 13 Sample Topology 13 ACL Flows 14 L3 Flows 15 L2 Flows 16 Learning Bridge LB Flows 17 Packet Trace 17 5 Configuring ACL CAM Carving on S4810 19 6 Configuring ACL CAM Carving on Z9000 21 7 OpenFlow Instances 23 8 OpenFlow Interfaces 25 OF Ports 25 OF VLANs 25 9 SDN Comman...

Page 4: ...4810 30 interface type 30 Z Series S4810 30 learning switch assist 31 Z Series S4810 31 multiple fwd table enable 31 Z Series S4810 31 of instance Interface 32 Z Series S4810 32 openflow of instance 33 Z Series S4810 33 show openflow 34 Z Series S4810 34 show openflow flows 35 Z Series S4810 35 shutdown OpenFlow Instance 35 Z Series S4810 35 ...

Page 5: ...to FlowTypes The following section provides a list of actions that are not supported for any flow types All of the following commands generate an OFPT_ERROR message OFPAT_STRIP_VLAN OFPAT_SET_NW_SRC set src ip OFPAT_SET_NW_DST set dst ip OFPAT_SET_TP_SRC set tcp udp src port OFPAT_SET_TP_DST set tcp udp dst port OFPAT_ENQUEUE OFPAT_OUTPUT to OFPP_IN_PORT OFPAT_OUTPUT to OFPP_TABLE OFPAT_OUTPUT to ...

Page 6: ...6 ...

Page 7: ...LLDP should be disabled by the administrator on OF ports To avoid session timeout issues if the system clock is changed all existed OF instances should be disabled then re enabled Controller high availability HA is not supported Emergency flows are not supported Packet buffering is not supported Data Center Bridging DCB and iSCSI are not supported on OpenFlow interfaces The following packet types ...

Page 8: ...is ignored for L2 flows Learning Bridge LB Flow Exceptions If you specify a non zero idle timeout value for an LB flow the flow is aged out according to the MAC address table aging time configured on the switch if there is no activity or traffic The idle timeout values specified in individual flows are ignored If the idle timeout value is zero the flow is not aged Flow priority is ignored for LB f...

Page 9: ... None any of the match parameters can be wildcards Optional match fields All 12 match fields defined in OpenFlow OF 1 0 are supported Mandatory actions None Optional actions set_vlan_id set_vlan_pcp set_dl_src set src mac set_dl_dst set dst mac set_nw_tos output to one or more switch ports NOTE For output action limitations refer to OF 1 0 Support L3 Flows Parameter Type Parameters Mandatory match...

Page 10: ... other than dl_vlan and dl_dst must be wildcards Mandatory actions Single OFPAT_OUTPUT action to a switch port Optional actions None Learning Bridge LB Flows Parameter Type Parameters Mandatory match fields dl_src src mac dl_dst dst mac LB flows will only be installed in the L2 table if bidirectional traffic is present Optional match fields All fields other than the ones listed in Mandatory match ...

Page 11: ...Flow Type Max Limit ACL 256 or 512 depending on ACL content addressable memory CAM carving L2 48 000 Learning Bridge LB 24 000 L3 6 000 11 ...

Page 12: ...12 ...

Page 13: ...e Topology Use the show running config openflow of instance 1 command to display the following information FTOS show running config openflow of instance 1 openflow of instance 1 controller 1 10 11 205 184 tcp flow map l3 enable multiple fwd table enable no shutdown FTOS show openflow of instance 1 Instance 1 Admin State Up Interface Type Port DP Id 00 01 00 01 e8 8b 1a 30 Forwarding Tbls acl mac r...

Page 14: ...st Vlan List Vl 200 Vlan Mbr list Te 0 0 1 Te 0 1 2 ACL Flows By default all flows are treated as ACL flows No additional configuration is required to set up ACL flows You can view per flow and aggregate statistics for ACL flows using the show openflow of instance and show openflow flows of instance commands To clear these statistics use the clear openflow statistics of instance command The follow...

Page 15: ...nstance 1 controller 1 10 11 205 184 tcp flow map l3 enable multiple fwd table enable no shutdown The entry for dst mac in the match field and set src mac in the action set must use the switch s port MAC address All ports on a Dell Force10 switch are associated with the same MAC address which you can view using the show interface command FTOS show interfaces tengigabitethernet 0 0 TenGigabitEthern...

Page 16: ... 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 show...

Page 17: ...ance 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 ...

Page 18: ...18 ...

Page 19: ...s are reserved for internal purposes from the 512 available flows leaving 498 entries for use by OpenFlow The following sample S4810 configuration reserves 512 entries for OpenFlow FTOS conf cam acl l2acl 1 ipv4acl 2 ipv6acl 0 ipv4qos 0 l2qos 2 l2pt 0 ipmacacl 0 vman qos 0 ecfmacl 0 openflow 8 fcoeacl 0 iscsioptacl 0 2 Enter a value for cam acl vlan Select one of the following values for cam acl v...

Page 20: ...20 ...

Page 21: ... purposes from the 256 available flows leaving 242 entries for use by OpenFlow 8 Allocates space for up to 498 flow entries 14 entries are reserved for internal purposes from the 512 available flows leaving 498 entries for use by OpenFlow The following sample Z9000 configuration reserves 512 entries for OpenFlow FTOS conf cam acl l2acl 2 ipv4acl 2 ipv6acl 0 ipv4qos 0 l2qos 1 l2pt 0 ipmacacl 0 vman...

Page 22: ...22 ...

Page 23: ...You cannot modify the OF instance while it is enabled To make configuration changes you must use the shut command on the OF instance as shown below FTOS show running config openflow of instance openflow of instance 1 controller 1 10 11 205 184 tcp shutdown FTOS The show openflow of instance command displays details on the instance as shown below FTOS show openflow of instance 1 Instance 1 Admin St...

Page 24: ...24 ...

Page 25: ...f if te 0 7 interface tengigabitethernet 0 31 FTOS conf if te 0 31 of instance 1 FTOS conf if te 0 31 To see the list of ports associated with an OF instance use the show openflow of instance command The number displayed in parentheses is the port ID sent to the controller for example Te 0 7 is sent to the controller as of port 8 as shown below FTOS show openflow of instance 1 Instance 1 Admin Sta...

Page 26: ...ed by half for example to 128 of 256 available entries or to 256 of 512 available entries The following configuration example associates VLAN 100 with tagged members Te 0 0 and Te 0 1 to of instance 1 FTOS conf interface vlan 100 of instance 1 FTOS conf if vl 100 tagged tengigabitethernet 0 0 FTOS conf if vl 100 tagged tengigabitethernet 0 1 FTOS conf if vl 100 no shutdown FTOS conf if vl 100 Use ...

Page 27: ...ll wait after requesting a connection with the OpenFlow controller Z Series S4810 Syntax connect retry interval interval Parameter interval Enter the number of seconds the OF instance will wait after attempting to establish a connection with OF controller Range is 10 60 Defaults 15 seconds Command Modes OPENFLOW INSTANCE Command History Version 9 1 0 0 Introduced on Z9000 and S4810 Usage Informati...

Page 28: ... S4810 Usage Information The controller number must be entered as 1 to enable OpenFlow Currently only TCP connection is supported Related Commands openflow of instance Create or modify an OpenFlow instance debug openflow packets Enable debugging for OpenFlow packets Z Series S4810 Syntax debug openflow packets packet type packet type of instance of id Parameter packet type packet type Enter the ke...

Page 29: ...tus packets queue get config reply Enable debugging for queue get config reply packets queue get config request Enable debugging for queue get config request packets set config Enable debugging for set config packets stats reply Enable debugging for stats reply packets stats request Enable debugging for stats request packets vendor Enable debugging for vendor packets of instance of id Enter the ke...

Page 30: ...instance Create or modify an OpenFlow instance interface type Specify the type of interface port VLAN or any for the OpenFlow instance Z Series S4810 Syntax interface type any port vlan Defaults port Parameter any Enter the keyword any to enable configuration of physical interfaces LAGs and VLANs on the selected OF instance port Default Enter the keyword port to enable configuration of LAGs or phy...

Page 31: ...ow instance learning switch assist Specify if learning bridge flows need to be interpreted by the switch Z Series S4810 Syntax learning switch assist enable Defaults Disabled Command Modes OPENFLOW INSTANCE Command History Version 9 1 0 0 Introduced on Z9000 and S4810 Usage Information This command is used for OpenFlow instances with an interface type of either vlan or any to allow the switch to i...

Page 32: ...e 0 7 of instance 1 FTOS conf if te 0 7 interface tengigabitethernet 0 31 FTOS conf if te 0 31 of instance 1 FTOS conf if te 0 31 Usage Information To enable OpenFlow associate a port or a VLAN to an OF instance Ports and VLANs must be associated when the OF instance is created and in a shut state shutdown LAGs or port channel interfaces are supported as of ports or of vlan members on OpenFlow By ...

Page 33: ... Defaults none Command Modes CONFIGURATION Command History Version 9 1 0 0 Introduced on Z9000 and S4810 Usage Information Stacking for S4810 controller High Availability and VLT are not supported on OF instances To enable OpenFlow on S4810 the stack unit number must be zero Up to eight OF instances can be created To establish a connection with the controller you must enable the OF instance using ...

Page 34: ... of instance of id Parameter of instance of id OPTIONAL Enter the keyword of instance to display information such as administrative state interface type and operational state for all OpenFlow instances OPTIONAL Enter the keyword of instance followed by the OF instance ID to display details for the specified OF instance Range is 1 to 8 Defaults None Command Modes EXEC Command History Version 9 1 0 ...

Page 35: ...ll flows installed for the specified OF instance Range is 1 to 8 table acl lb mac route vlan flow id flow id Enter the keyword table followed by the table type and the keyword flow id followed by the flow ID to display details for the specified flow acl Display ACL table information lb Display learning bridge table information mac Display MAC table information route Display routing table informati...

Page 36: ...is used the OpenFlow instance sends a request to the OpenFlow controller to establish a connection Use the shutdown command to disable an OpenFlow instance You must use the shutdown command before making any configuration changes to the OpenFlow instance All OpenFlow instances are disabled by default Related Commands openflow of instance Create or modify an OpenFlow instance controller Configure t...

Reviews: