Changes between Version 18 and Version 19 of Internal/OpenFlow/CLISetup


Ignore:
Timestamp:
Dec 15, 2009, 2:59:56 AM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/CLISetup

    v18 v19  
    273273== Elucidation (Or, Frequently asked questions) ==
    274274
    275 As of now, this is just a list of facts/ a flow-chart. Diagram to accompany coming soon.
     275As of now, this is just a how-to/list of facts on how to configure the IP8800.
     276
     277=== Logging in for the first time. ===
    276278Assuming you have a brand new IP8800 on your hands:
    277279
    278 === Logging in for the first time. ===
    279 
    280280Telnet is not configured by default, so you need to log in via the console port.
    281281
    282 1. Name your switch.
    283 
    284 2. Acquire a RS-232 cable -  Hook up the cable to the port labeled 'console' on the switch.
    285 
    286 3. If not already there, install kermit on your machine. Kermit is recommended because its default settings can be used to connect to the switch.
    287 
    288 4. Connect via serial using the following commands (Make sure you are root):
     2821. Name your switch. People names are easier to remember than IP addresses or machine-like names i.e. as01-hh-alex, and are easier to use in discussion if everyone agrees on names. Note, the names Bob, Nancy, and Andy are already taken.
     283
     2842. Acquire a RS-232 cable -  Hook up the cable to the port labeled 'console' on the switch, the other end to your PC.
     285
     2863. If not already installed, install kermit on your PC. Kermit is recommended because its default settings can be used to connect to the switch.
     287
     2884. Connect via serial using the following commands at the console (Make sure you are root):
    289289 {{{
    290290  /$ kermit
     
    300300}}}
    301301
     302You should then see something like below:
     303
     304{{{
     305
     306Connecting to /dev/ttyS0, speed 0
     307 Escape character: Ctrl-\ (ASCII 28, FS): enabled
     308Type the escape character followed by C to get back,
     309or followed by ? to see other options.
     310----------------------------------------------------
     311
     312
     313login:
     314
     315}}}
     316If the login prompt doesn't come up, hitting enter should bring it up. The default username is `operator`, and the password is blank.   
     317
    302318`Ctrl-\ q` ends the kermit session.
    303 The default username is `operator`, and the password is blank.   
    304319
    305320
    306321== Configuration ==
    307 For configuration, you need to be in privileged mode. The magic word is `enable`. `configure` brings you to the configuration prompt, which looks like this :
     322For configuration, you need to be in privileged mode. The magic word is "enable". "configure" brings you to the configuration prompt, which looks like this :
    308323{{{
    309324sw-sb09(config)#
    310325}}}
    311326
    312 From here, you can enter different contexts according to what you are trying to set up:
     327From here, you can enter different contexts according to what you are trying to configure:
     328
    313329 * `interface vlan n` - create/ configure VLAN n, n being the VLAN ID (some number)
    314330 * `interface gigabitethernet 0/n` - configure specific port, n being number between 1 and 48
    315331 * `line <vty|console>` - configure telnet or console parameters, respectively
    316 when in a different context, you can tell from how the prompt becomes "(config-if)."
     332
     333when in a different context, you can tell from how the prompt becomes "(config-if)." [[BR]]
     334Ranges of ports and VLANs can be specified. For example, to config ports 1-4 and 30 at once:
     335{{{
     336 sw-sb09(config)# int range gigabitethernet 0/1-4, gigabitethernet 0/30
     337 sw-sb09(config-if-range)#
     338}}}
     339
     340Note how the prompt becomes "(config-if-range)" in this case.
    317341
    318342==== VLAN creation and port configuration. ====
    319343In order to do anything with the switch, you need to configure the following two:
    320344
    321  * Virtual interfaces - Also called "VLANs" by the switch. They do function as VLANs in the traditional sense, but in this case, are also associated with IP addresses used by the switch.
     345 * Virtual interfaces - Also called "VLANs" by the switch. They do function as VLANs in the traditional sense, but in this case, are also associated with IP addresses used by the switch (i.e. the IP address used when telnetting).
    322346 
    323347 * Ports - By default all ports are assigned to VLAN 1. The ports must be assigned to different VLANs according to how you want the frames to/from the port are handled. Port settings are configured from the `interface gigabitethernet 0/n` context in configure mode. The three main contexts we need are:
     
    328352 
    329353 3- `switchport mode trunk` - port is a trunk and can handle frames from multiple vlans.
     354
     355
    330356
    331357