Changes between Version 11 and Version 12 of Internal/OpenFlow/CLISetup


Ignore:
Timestamp:
Jul 21, 2009, 2:24:15 AM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/CLISetup

    v11 v12  
    104104
    105105== switch as DHCP server ==
    106 The switch can be a DHCP server, so it was made so the laptop that'll be used to test telnet would get an address from the switch. The commands make it so there is DHCP for group "Test1" on VLAN 1, and an address pool whose lease length is 10 minutes.   
    107 {{{
    108 !(config)# service dhcp vlan 1
    109 !(config)# ip dhcp excluded-address 192.168.10.1
    110 !(config)# ip dhcp pool Test1
    111 !(dhcp-config)# network 192.168.11.0 255.255.255.0
    112 !(dhcp-config)# lease 0 0 10
    113 }}}
     106The switch can be a DHCP server, so it was made so the laptop that'll be used to test if the telnet configs worked would get an address from the switch. This was later disabled since hosts on this switch would acquire IP addresses from a designated DHCP server.
     107The commands for making the switch a DHCP server is [wiki:Documentation/OpenFlow/SwitchConfiguration here].
    114108
    115109== The right way to flash the switch (6/16) ==
     
    205199}}}
    206200
    207 === Setting port speeds (7/17) ===
    208 The default is autonegociation, but somehow, the nodes weren't connected at 1Gbps. So we had to set the port speeds to 1Gbps. You have to do each port, which is pretty annoying. 
    209 
     201=== Port speeds (7/17) ===
     202By default, the switch autonegociates. You can change this by going into configuration mode for each port, and changing settings using the `speed` command. The syntax:
     203 
     204 * `speed auto [10|100|1000]` - autonegociate. If a speed is specified, the port will be shut down by the switch if the host refuses to negotiate to the set speed.
     205 * `speed [10|100|1000]` - sets port to specific speed, no autonegociation
     206
     207The port should be shut down before changing speed settings. This seems to allow the changes to take immediate effect, even before saving config changes. Each port needs to be configured separately, which makes it a bit annoying. 
    210208{{{ 
    211209sw-sb09(config)#  interface gi 0/13
     
    217215}}}
    218216
    219 rinse and repeat for how-many ever ports you want, then `save` at the end. For Control, Data and Trunk the speed was set to auto/1000, and the CM ports only autonegociation was set using the `speed auto` command.       
    220 
    221 
    222217[[BR]]
    223218[[BR]]