Appendix b command line interface – Net Optics iBypass HD User Manual

Page 43

Advertising
background image

39

iBypass HD

Appendix B

Command Line Interface

The CLI is case-sensitive; commands must be entered in lower case. However, certain items such as user-defined text

strings, user names, and passwords can be entered in upper, lower, or mixed case, and are also case-sensitive.

The tab key or the space key can be used to automatically complete words in the CLI. This function works for commands

as well as arguments. For example, typing the letter "t" followed by the tab key results in "time" being entered in the

command line. Likewise, "he<tab>" auto-completes to the "help" command. However, "h<tab>" does not auto-complete,

because it is ambiguous between the "help" and "history" commands.

To display a list of sub-commands and arguments for any command, press the ? key after entering the command. (A

space is required between the command and the ?.) For example, type "switch ?" to display a list of all the arguments

that can be used to complete the command.

Module, switch, and port identification

When the CLI needs to identify a bypass switch or port, the following syntax is used.

• The eight bypass switches are identified as sw1, sw2, ... sw8, from left to right across the chassis; sw1 and sw2

are in Dual Bypass Module (DBM) 1, sw3 and sw4 are in DBM 2, sw5 and sw6 are in DBM 3, and sw7 and

sw8 are in DBM 4

• An swlist is a list of switches separated by commas; a range can be indicated with a dash; space characters are

not allowed in the list (do not put a space after the comma or around a dash); for example, sw1-sw3,sw7

• Within each bypass switch, the network ports are indentified as a or A (on the left) and b or B (on the right); the

monitor ports are 1 (on the left) and 2 (on the right)

• A particular port is specified by concatinating its switch and port with a dot delimiter, for example, sw1.a

• A portlist is a list of switches and ports separated by commas; space characters are not allowed in the list (do not

put a space after the comma); if a switch is listed without specifying a port, then all four of the switch's ports

are included in the list; for example, sw1.a,sw1.b,sw3.2,sw6 is a list of seven ports

Privilege levels

User accounts are assigned one of three privilege levels:

• admin (level 1) – access to all CLI commands; only the admin level can use the user,passwd, heartbeat set,

module set, port set, segment set, security, and server commands

• user (level 2) – access to all CLI commands except those listed above for admin level

• view (level 3) – can access only these CLI read-only commands: config list, config show, help, history, ping,

exit, logout, and quit

All accounts are authorized to use the user mod command to change their own passwords.

For complete information about the iBypass HD CLI, see the iBypass HD CLI Command Reference manual.

Advertising