Changes between Version 18 and Version 19 of Internal/OpenFlow/CLISetup
- Timestamp:
- Dec 15, 2009, 2:59:56 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/CLISetup
v18 v19 273 273 == Elucidation (Or, Frequently asked questions) == 274 274 275 As of now, this is just a list of facts/ a flow-chart. Diagram to accompany coming soon. 275 As 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. === 276 278 Assuming you have a brand new IP8800 on your hands: 277 279 278 === Logging in for the first time. ===279 280 280 Telnet is not configured by default, so you need to log in via the console port. 281 281 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):282 1. 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 284 2. Acquire a RS-232 cable - Hook up the cable to the port labeled 'console' on the switch, the other end to your PC. 285 286 3. 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 288 4. Connect via serial using the following commands at the console (Make sure you are root): 289 289 {{{ 290 290 /$ kermit … … 300 300 }}} 301 301 302 You should then see something like below: 303 304 {{{ 305 306 Connecting to /dev/ttyS0, speed 0 307 Escape character: Ctrl-\ (ASCII 28, FS): enabled 308 Type the escape character followed by C to get back, 309 or followed by ? to see other options. 310 ---------------------------------------------------- 311 312 313 login: 314 315 }}} 316 If the login prompt doesn't come up, hitting enter should bring it up. The default username is `operator`, and the password is blank. 317 302 318 `Ctrl-\ q` ends the kermit session. 303 The default username is `operator`, and the password is blank.304 319 305 320 306 321 == 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 :322 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 : 308 323 {{{ 309 324 sw-sb09(config)# 310 325 }}} 311 326 312 From here, you can enter different contexts according to what you are trying to set up: 327 From here, you can enter different contexts according to what you are trying to configure: 328 313 329 * `interface vlan n` - create/ configure VLAN n, n being the VLAN ID (some number) 314 330 * `interface gigabitethernet 0/n` - configure specific port, n being number between 1 and 48 315 331 * `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 333 when in a different context, you can tell from how the prompt becomes "(config-if)." [[BR]] 334 Ranges 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 340 Note how the prompt becomes "(config-if-range)" in this case. 317 341 318 342 ==== VLAN creation and port configuration. ==== 319 343 In order to do anything with the switch, you need to configure the following two: 320 344 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). 322 346 323 347 * 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: … … 328 352 329 353 3- `switchport mode trunk` - port is a trunk and can handle frames from multiple vlans. 354 355 330 356 331 357