Changes between Version 3 and Version 4 of Internal/OpenFlow/Firmware
- Timestamp:
- Jun 26, 2009, 6:37:59 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/Firmware
v3 v4 1 1 = Flashing NEC Switches = 2 2 3 3 4 NEC provides two models of switch that supports !OpenFlow, the IP8800/S3640-24T2XW and the IP8800/S3640-48T2XW. 4 5 The switches must be manually flashed with !OpenFlow capable firmware to make them !OpenFlow capable. This page explains how to flash the switch to make it !OpenFlow capable. 6 7 8 == Overview == 9 This article is part summary of the !OpenFlow manual NEC provides with the switches, and a documentation of some details that might be worth mentioning. 5 10 6 11 … … 13 18 14 19 15 == Overview==20 == General steps == 16 21 These are the general steps required to get the switch up and running as an !OpenFlow device: 17 22 23 1. Log into switch (this assumes you have already configured everything so you can talk to your switch) 18 24 1. Create VLANs 19 25 1. Create openflow.conf 20 26 1. Save k.img, license.dat, and openflow.conf onto SD card 21 1. Cold boot switch off of SD card 27 1. Cold boot switch off of SD card (the manual says a reboot is sufficient, but this was not the case) 22 28 1. Enjoy 23 29 30 The VLANs can also be configured after the switch has been booted off of the !OpenFlow firmware. 24 31 25 32 26 = Some Caveats = 33 = The Caveats = 34 Although the manual does a pretty good job at explaining how to do things, some things might be worth mentioning. The following are a summary of things that might be sort of important. 27 35 28 36 == The SD card == 29 37 NEC provides a certified SD card with the switch. They recommend that you only use this card. 30 31 32 38 33 39 == The License == … … 49 55 }}} 50 56 51 In this case, "WA03CL48T2XWS0E0693K007" is the serial number and should matchthe name of the correct license for this specific switch.57 In this case, "WA03CL48T2XWS0E0693K007" (in the first entry under "H/W: Main board) is the serial number and matches the name of the correct license for this specific switch. 52 58 53 '''Note: ''' If the license is named after the switch's serial number, the license must be renamed to "license.dat ."59 '''Note: ''' If the license is named after the switch's serial number, the license must be renamed to "license.dat" before saving onto the SD card . 54 60 55 61 56 == Creating the openflow.conf file==62 == openflow.conf == 57 63 58 openflow.conf is a simple text file that contains !OpenFlow specific configurations. The following are the three parameters you can specify in the file.64 openflow.conf is a text file that contains configurations specific to !OpenFlow switching, or [wiki:Documentation/OpenFlow/VirtualSwitch virtual switching]. The details about the commands that can be used in the file are on pages 12-13 of the NEC manual. Following are a few notes about the commands. 59 65 60 66 === `no-save` === 61 when specified in the .conf file, configuration changes won't be saved to the SD card. ''' Specifying this parameter in openflow.conf will prevent you from creating and removing virtual switches from the CLI. '''67 Specifying this parameter in openflow.conf will prevent you from configuring virtual switches through the CLI (i.e, create new virtual switches). Because the firmware does not include text editors, once you have this parameter on your .conf file you will have to edit your file on a PC if you want to change anything. Basically, if you are planning to change things around after the switch has been booted into !OpenFlow, it is better not to specify this command. 62 68 63 69 === `double-wide-mode` === 64 When specified, all ten !OpenFlow specific header fields will be matched. 70 When specified, all ten !OpenFlow specific header fields will be matched. 65 71 66 72 === `setvsi` === 67 '' more detailed use of this parameter can be found in the [wiki:Documentation/OpenFlow/VirtualSwitch virtual switch] article. '' 68 69 Creates an instance of a [wiki:Documentation/OpenFlow/VirtualSwitch virtual switch]. You can also use this configuration command from the CLI. 73 Creates an instance of a [wiki:Documentation/OpenFlow/VirtualSwitch virtual switch] on a VLAN. You can also use this configuration command from the CLI. 70 74 71 75 `setvsi` is followed by several parameters: … … 73 77 `setvsi <vlan id> <list of ports> <tcp|ssl> <controller ip address[:port]> [<cacert> <my cert> <my private key>] [dpid <datapath id>] [hwlimit <max entrynum>] [max-backoff <backoff time>] [echo-interval <interval time>]` 74 78 75 to get `setvsi` working at minimal, you need only the following parameters:79 not all parameters need to be used with `setvsi`. The following are the minimal parameters you need to get a virtual switch going: 76 80 77 81 `setvsi <vlan id> <list of ports> <tcp|ssl> <controller ip address[:port]> [dpid <datapath id>]` 78 82 79 83 84 == Example openflow.conf file == 80 85 81 == Example openflow.conf file == 82 openflow.conf resides in /mnt/ once the switch is booted. 86 openflow.conf resides in /mnt/ . 83 87 84 88 {{{ … … 91 95 }}} 92 96 93 Note that the `no-save` option is omitted to make editing from the CLI easier.94 97 98 99