Changes between Version 1 and Version 2 of Internal/OpenFlow/CLISetup
- Timestamp:
- Jun 26, 2009, 12:35:27 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/CLISetup
v1 v2 11 11 * Parity: none 12 12 13 Kermit was used to connect to the switch . The default settings can be used directly, no changes need to be made. After installation (The Debian package is ckermit), use the following commands:13 Kermit was used to connect to the switch because default settings can be used directly and no changes need to be made. HyperTerminal should work if you have Windows. Minicom does not despite using the right settings. After installation (The Debian package is ckermit), use the following commands: 14 14 15 15 {{{ … … 19 19 }}} 20 20 21 If the login prompt doesn't show up, pressing enter a couple of times should do the trick. The default username is "operator" (without the quotes), and the password, blank.21 If the login prompt doesn't show up, pressing enter a couple of times should do the trick. The default username is `operator`, and the password, blank. 22 22 23 23 == Making configuration changes through CLI == 24 Changes to the configurations can only be done in privileged mode. to do this, type "enable"in the prompt. The '>' should become a '#'.24 Changes to the configurations can only be done in privileged mode. to do this, type `enable` in the prompt. The '>' should become a '#'. 25 25 26 26 {{{ … … 29 29 }}} 30 30 31 ''Note that the shorthand of a command may be used''. The switch also does command completions when you hit tab. A full list of commands can be seen by typing '?' at the prompt - this will produce a sizeable list and will not be shown here. Commands are often used in compound; a '?'can be used at any time to see what options are available:31 ''Note that the shorthand of a command may be used''. The switch also does command completions when you hit tab. A full list of commands can be seen by typing `?` at the prompt - this will produce a sizeable list and will not be shown here. Commands are often used in compound; a `?` can be used at any time to see what options are available: 32 32 33 33 {{{ … … 38 38 }}} 39 39 40 To actually configure the switch, you need to be in configuration mode. Type "configure"to enter configuration mode:40 To actually configure the switch, you need to be in configuration mode. Type `configure` to enter configuration mode: 41 41 42 42 {{{ … … 45 45 }}} 46 46 47 The following configurations demonstrates a few important configuration commands. For people literate in Japanese, a complete set of configuration guides may be found in the [http://www.nec.co.jp/ip88n/02.html#manual03 documents section of the NEC website.] 47 48 == Configuration Examples == 49 50 The following configurations demonstrate the use of basic configuration commands. For people literate in Japanese, a complete set of configuration guides may be found in the [http://www.nec.co.jp/ip88n/02.html#manual03 documents section of the NEC website.] 51 52 53 ''' If, at any time, you get confused as to which interface or '' what '' you are even configuring, command `show` will output the name of the interface and the configuration changes made to it so far: ''' 54 55 {{{ 56 (config-if)# show 57 interface gigabitethernet 0/27 58 switchport mode access 59 switchport access vlan 4 60 ! 61 }}} 62 48 63 49 50 == Configuration: Telnet == 64 === Configuration: Telnet access to the switch=== 51 65 To telnet to a switch, you need to set up an IP address for the interface on the switch that a remote host may connect to. To do this, you need to not only set up a vlan interface to which the IP address belongs, but also permit telnet access. 52 66 … … 82 96 }}} 83 97 84 5. The configurations must be saved to allow it to survive a rebootand to get rid of the annoying !'s.98 5. Save the configuration changes to allow it to survive a reboot, and to get rid of the annoying !'s. 85 99 {{{ 86 100 !(config)# save … … 90 104 91 105 92 If you get confused as to which interface or '' what '' you are even configuring, command ' show ' will output the name of the interface and the configuration changes made to it so far: 106 === Undoing Configurations === 93 107 94 {{{95 (config-if)# show96 interface gigabitethernet 0/2797 switchport mode access98 switchport access vlan 499 !100 }}}101