Configuring VLANs
For the simplest OpenFlow setup, you need at least two VLANs: one to allow for control communications between OneController and the switches, and one for regular data traffic.
To create VLANs:
- Log on to the desired switch. When the command prompt appears, type the following commands.
- Type configure vlan default delete portsport_list, where port_list is the range of the ports that you want to configure the VLAN on. This command removes ports from the default VLAN, so that you can then add them to the new VLAN.
- Type create vlan vlan_name, where vlan_name is the name for the new VLAN. This command creates the new VLAN.
- Type configure vlan vlan_name add ports port_list tagged | untagged, where vlan_name is the name of the newly created VLAN, port_list is the range of ports to add to this VLAN, and you type either tagged or untagged as needed. This command adds the ports deleted from the default VLAN to the newly created VLAN.