Configuring OpenFlow on Switches

To configure OpenFlow on your switches:

  1. Log on to the desired switch. When the command prompt appears, type the following commands.
  2. Type configure access-list width double. This command configures the ACL (access control list) TCAM (telecommunications access method) as double wide. A double-wide ACL TCAM is preferred for OpenFlow to allow the use of longer match conditions.
    Note

    Note

    This command requires rebooting the switch to take effect, but you can wait until the end of this procedure to do this.
  3. Type enable openflow. This command enables OpenFlow on the switch.
  4. Type configure openflow controller primary out-of-band active ipaddress ipaddress vr vr_name, where ipaddress is the IP address of the OneController and vr_name is the name of the virtual router the switch should use to communicate with OneController. This command points the switch to OneController. You can configure up to two SDN controllers. See Configuring Multiple SDN Controllers.
  5. Type enable openflow vlan vlan_name, where vlan_name is the name of the VLAN that you created previously (see Configuring VLANs). This command enables OpenFlow control on the specified VLAN.
  6. Type enable openflow tables fdb on. This command enables FDB entries, allowing flows to use FBD entries, which permits scaling to 128,000 flows. FDB entries are disabled by default, limiting flows to ACLs exclusively. However, FDB flows are much simpler—they match only VLAN and destination MAC addresses with only redirect as an action.
  7. Restart the switch.