Changes between Version 3 and Version 4 of Internal/OpenFlow/VirtualSwitch


Ignore:
Timestamp:
Jun 29, 2009, 6:17:44 PM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/VirtualSwitch

    v3 v4  
    11= The virtual switch =
    2 Not to be mistaken for [wiki:Documentation/OpenFlow/VartualSwitch vartual switches], virtual switches, or !OpenFlow switches, are a example of the virtualization capabilities of !OpenFlow. They are similar to VLANs in both configuration and behavior but are dictated by !OpenFlow controllers and flow tables.
     2Not to be mistaken for [wiki:Documentation/OpenFlow/VartualSwitch vartual switches], virtual switches, or !OpenFlow switches, are the main service offered by the !OpenFlow capable switch.
    33
    44Several virtual switches may exist on a single physical device, or a single virtual switch may encompass a whole switch. In the latter case the switch will just be referred to as an !OpenFlow switch.
     
    77
    88== Overview ==
    9 This article covers the following topics:
     9This article contains the following topics:
     10 * Definitions of Legacy VLANs, !OpenFlow VLANs, and virtual switches
    1011 * CLI commands used in virtual switching
    1112 * Virtual switch setup
     13 * The official NEC guide for the !OpenFlow capable IP8800/S3640 (attachment)
    1214   
     15== Legacy VLANs, !OpenFlow VLANs, and virtual switches ==
     16  Legacy VLANs, !OpenFlow VLANs, and virtual switches all seem to serve a similar function: to provide a means to split up broadcast domains at the data link layer. This may cause some confusion as to what the exact differences are between these things.
     17
     18 * '' Legacy VLANs '' are the familiar technology usually associated with 802.1q, and can be configured in any standard switch.
     19 * '' !OpenFlow VLANs '' are legacy VLANs on which the virtual switches will run as overlay infrastructure. the VLAN number becomes the virtual switch's '' VLAN ID '' that can be used to pull up a specific switch's information using the `showswitch` or  `showflow` commands. 
     20 * '' Virtual switches '' are VLANs that implement !OpenFlow protocol and have !OpenFlow controllers, flow tables, and '' datapath identifiers '' (basically the virtual switch's "name," the 12-digit hex number labeled as the dpid in the manual) associated with them. they will not function without the controller.
     21 
    1322== CLI Commands ==
    1423The commands regarding virtual switching will not be found among the usual list of commands when you type `?` at the terminal.
    1524This is the list of commands used in virtual switching that is accessible from the CLI:
    1625
    17  * ''' setvsi ''' -  Creates an instance of virtual switch. Comes with parameters.
    18  * ''' deletevsi <vlan ID> ''' - Deletes an instance of virtual switch. 
    19  * ''' showswitch <vlan ID> <detail> ''' - Gives you a list of virtual switches running on your switch.
    20  * ''' showflow <vlan ID> <detail> ''' - Gives you information about the flow tables applied to the virtual switches.
     26 * ` setvsi ` -  Creates an instance of virtual switch. Comes with parameters.
     27 * ` deletevsi <vlan ID> ` - Deletes an instance of virtual switch. 
     28 * ` showswitch <vlan ID> <detail> ` - Gives you a list of virtual switches running on your switch.
     29 * ` showflow <vlan ID> <detail> ` - Gives you information about the flow tables applied to the virtual switches.
     30
     31''' The !OpenFlow commands can be used even when you aren't in privileged mode. This may be a security issue worth considering. ''' 
    2132
    2233== Setup ==
    2334The following list can be followed as a guideline for setting up virtual switches.
    2435
    25  1. Disable spanning tree protocol
     36 1. Disable spanning tree protocol 
    2637 1. Create VLANs
    2738 1. Assign ports to VLANs
    2839 1. Use `setvsi` to create virtual switches from the ports assigned to VLANs
    2940
    30 == Example setup ==
    31 One method to rewrite the !OpenFlow configuration is to delete openflow.conf directly through the switch, then use the `setvsi` command to set the new virtual switches up.
     41The details can be found in the NEC !OpenFlow capable switch guide attached to this article.
     42
     43== Example Setup - the weird .conf file incident ==
     44One method to rewrite the !OpenFlow configuration is to delete openflow.conf directly through the switch, then use the `setvsi` command to set the new virtual switches up. Usually this is unnecessary, but it happened to be effective when old configurations did not seem to go away despite editing the .conf file using a PC.
    3245
    3346 1. Delete the old .conf file.